Proposed refactor of neutron_networks
config entry
#282
msherman64
started this conversation in
General
Replies: 1 comment
-
I like the approach with networks defined within the physnet structures, since it keeps everything colocated in the code. The network definition should also include DNS server entries, should it not? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I wanted to propose a change to how we define neutron physnets as well as the "default" networks created during post-deploy, specifically
public
,sharednet1
, andironic-provisioning
Currently, neutron_networks conflates neutron physical networks and logical networks, making it difficult to, for example, put
public
andsharednet1
onto the same physnet, or change them betweenflat
orvlan
type networks.Therefore, I suggest the following new syntax, where:
neutron_networks
has its properties used to populate neutron's ml2_conf.ini and openvswitch_agent.ini, mapping physnets to ovs bridges to external interfacesneutron_ovs_bridge_mappings
andnetwork_vlan_ranges
public
,sharednet
, andprovisioning
Physnets now have a schema like:
Where
network_dict
has the schema:note on
segment_id
: these networks will be created as admin during post-deploy, so this need-not fall within the on_demand_vlan_ranges, and should not fall within the resevable vlan ranges.note on post-deploy: Currently, these networks will be created, but NOT updated during post-deploy. If one of these networks is modified in defaults.yml, and post-deploy is re-run, the corresponding neutron network won't be modified.
A full example could look like:
Alternately, the post-deploy networks could be defined in a completely separate list, and just specify the
physnet_name
for each network. This increases the verbosity a little, but gives us a clear separation between:Beta Was this translation helpful? Give feedback.
All reactions