← Back to team overview

openstack team mailing list archive

nova-manage network modifications feedback request

 

Hi all,

I am work on being able to use ipv6 without the ipv4 requirement. To do
this I am generalizing the concept of subnets so that any data link
(bridge) can be assigned more than one subnet of which any number of
them may be an ipv4 or an ipv6 subnet.

I've seen some bugs popping up with the the syntax of the nova-manage
and would like to solicit feedback on altering the `network create`
commands. Currently the command is in the form of:

nova-manage network create LABEL CIDR [NUM_NETWORKS] [NETWORK_SIZES]
[VLAN_START] [VPN_START] [FIXED_RANGE_V6] [GATEWAY_V6]
[FLAT_NETWORK_BRIDGE] [BRIDGE_INTERFACE]

I would propose this be changed to:

nova-manage network create LABEL [VLAN_START] [FLAT_NETWORK_BRIDGE]
[BRIDGE_INTERFACE]

nova-manage subnet create NETWORK_ID CIDR [GATEWAY] [DBS] [VPN_START]

I would also update the `network create` and `network list` to print out
the network id so it can easily be looked up for creating subnets. As
with the current command, a '0' will indicate a skipped option.

The largest distinction here is that the command (and nova) does not
differentiate between v4 and v6 subnets and should use netaddr to "do
the right thing". It also removes the automatic subnetting the current
command allows and forces the user to explicitly create each subnet.

Thoughts?

Happy Hacking!

7-11
-- 
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?



Follow ups