Rearrange networking parameters in Nailgun models

Registered by Aleksey Kasatkin

It's required to move all common networking parameters from Cluster and NetworkGroup models to NeutronConfig and NovaNetworkConfig (is to be created) models respectively. It will help to get networking in Nailgun more consistent.

See https://etherpad.openstack.org/p/nailgun-network-group-flags for network flags description.

Blueprint information

Status:
Complete
Approver:
Andrey Danin
Priority:
Medium
Drafter:
Aleksey Kasatkin
Direction:
Approved
Assignee:
Aleksey Kasatkin
Definition:
Approved
Series goal:
Accepted for 5.0.x
Implementation:
Implemented
Milestone target:
milestone icon 5.0
Started by
Aleksey Kasatkin
Completed by
Aleksey Kasatkin

Related branches

Sprints

Whiteboard

NetworkGroup.network_size -> NovaNetworkConfig.fixed_network_size
NetworkGroup.amount -> NovaNetworkConfig.fixed_networks_amount
NetworkGroup.netmask - remove (defined by NetworkGroup.CIDR)

Cluster.net_manager -> NovaNetworkConfig.net_manager
Cluster.dns_nameservers -> NovaNetworkConfig.dns_nameservers / NeutronConfig.dns_nameservers

Cluster.net_l23_provider -> NeutronConfig.net_l23_provider
Cluster.net_segment_type -> NeutronConfig.segmentation_type

add NovaNetworkConfig.floating_ranges (it's a set of IPRange models)
add NovaNetworkConfig.fixed_networks_vlan_start
add NovaNetworkConfig.fixed_networks_cidr

add NeutronConfig.external_floating_range
add NeutronConfig.vlan_range
add NeutronConfig.gre_id_range
add NeutronConfig.base_mac
add NeutronConfig.internal_cidr
add NeutronConfig.internal_gateway

NeutronConfig.parameters - remove
NeutronConfig.L2 - remove
NeutronConfig.L3 - remove
NeutronConfig.predefined_networks - remove

Cluster references to NeutronConfig and NovaNetworkConfig - as a Cluster property.

Response JSON sample for Neutron: http://paste.openstack.org/show/75689/
Response JSON sample for Nova-Network: http://paste.openstack.org/show/75690/

Gerrit topic: https://review.openstack.org/#q,topic:bp/nailgun-rearrange-network-parameters,n,z

Addressed by: https://review.openstack.org/81002
    Rearrange network models parameters

Gerrit topic: https://review.openstack.org/#q,topic:bp/ui-network-configuration-refactoring,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.