I want to introduce new l3 agent config options, like HA_NETWORK_PROVIDER_NETWORK_TYPE=vlan HA_NETWORK_PROVIDER_PHYSICAL_NETWORK=ovs
then while creating HA network, l3 agent will pass them like below, at [1]
args = {'network': {'name': n_const.HA_NETWORK_NAME % tenant_id, 'tenant_id': '', 'shared': False, 'admin_state_up': True}}
if conf.HA_NETWORK_PROVIDER_NETWORK_TYPE and conf.HA_NETWORK_PROVIDER_PHYSICAL_NETWORK: args['provider:network_type'] = conf.HA_NETWORK_PROVIDER_NETWORK_TYPE args['provider:physical_network'] = conf.HA_NETWORK_PROVIDER_PHYSICAL_NETWORK
self._add_ha_network_settings(args['network']) creation = functools.partial(p_utils.create_network, self._core_plugin, admin_ctx, args)
[1] https://github.com/openstack/neutron/blob/master/neutron/db/l3_hamode_db.py#L224
I want to introduce new l3 agent config options, like PROVIDER_ NETWORK_ TYPE=vlan PROVIDER_ PHYSICAL_ NETWORK= ovs
HA_NETWORK_
HA_NETWORK_
then while creating HA network, l3 agent will pass them like below, at [1]
args = {'network':
{'name' : n_const. HA_NETWORK_ NAME % tenant_id,
'tenant_ id': '',
'shared' : False,
'admin_ state_up' : True}}
if conf.HA_ NETWORK_ PROVIDER_ NETWORK_ TYPE and conf.HA_ NETWORK_ PROVIDER_ PHYSICAL_ NETWORK:
args[ 'provider: network_ type'] = conf.HA_ NETWORK_ PROVIDER_ NETWORK_ TYPE
args[ 'provider: physical_ network' ] = conf.HA_ NETWORK_ PROVIDER_ PHYSICAL_ NETWORK
creation = functools.
[1] https:/ /github. com/openstack/ neutron/ blob/master/ neutron/ db/l3_hamode_ db.py#L224