@stgraber I was thinking about the experience of changing the default target address with the current design.
Currently there is no way to do this non-interactively (i.e not via lxc network forward edit
).
I wonder if we should add a networks_forwards_config
table and then move the TargetAddress
field from NetworkForwardPut
into the config map[string]string
as target_address
.
So it would become (including the addition of new set
and get
commands):
lxc network forward create <network> <listen_address> target_address=n.n.n.n
lxc network forward set <network> <listen_address> target_address=n.n.n.n
lxc network forward set <network> <listen_address> user.foo=blah
lxc network forward get <network> <listen_address> target_address