Add cluster netmask parameter
Add the master_netmask cluster parameter, that represents the netmask of the master IP, encoded as a CIDR suffix. This parameter can be set via the --master-netmask of gnt-cluster init and gnt-cluster modify. The default behaviour is to be consistent with the old default (/32 for IPv4 and /128 for IPv6). Signed-off-by:Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- lib/backend.py 32 additions, 10 deletionslib/backend.py
- lib/bootstrap.py 15 additions, 10 deletionslib/bootstrap.py
- lib/cli.py 6 additions, 0 deletionslib/cli.py
- lib/client/gnt_cluster.py 28 additions, 8 deletionslib/client/gnt_cluster.py
- lib/cmdlib.py 37 additions, 0 deletionslib/cmdlib.py
- lib/config.py 8 additions, 0 deletionslib/config.py
- lib/constants.py 1 addition, 0 deletionslib/constants.py
- lib/objects.py 1 addition, 0 deletionslib/objects.py
- lib/opcodes.py 2 additions, 0 deletionslib/opcodes.py
- lib/rpc.py 11 additions, 0 deletionslib/rpc.py
- lib/server/noded.py 7 additions, 0 deletionslib/server/noded.py
- lib/ssconf.py 10 additions, 0 deletionslib/ssconf.py
- man/gnt-cluster.rst 9 additions, 2 deletionsman/gnt-cluster.rst
Loading
Please register or sign in to comment