Skip to content

Commit cc056ce

Browse files
committed
feat(neutron-understack): add L3 router example plugins
These plugins serve the purpose of being able to be loaded and be used for conversations around different router backend implementations. The networking design doc references these plugins in its examples.
1 parent 5841c51 commit cc056ce

File tree

5 files changed

+21
-1
lines changed

5 files changed

+21
-1
lines changed

components/neutron/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ conf:
8383
# add 50 to the max MTU we want of 9000 to handle Neutron's -50 for VXLAN type
8484
global_physnet_mtu: 9050
8585
service_providers:
86-
service_provider: "L3_ROUTER_NAT:cisco-asa:neutron_understack.l3_service_cisco_asa.CiscoAsa"
86+
service_provider:
87+
type: multistring
88+
values:
89+
- "L3_ROUTER_NAT:cisco-asa:neutron_understack.l3_router.cisco_asa.CiscoAsa"
90+
- "L3_ROUTER_NAT:palo-alto:neutron_understack.l3_router.palo_alto.PaloAlto"
91+
- "L3_ROUTER_NAT:vrf:neutron_understack.l3_router.vrf.Vrf"
8792
ovn:
8893
# the ovn-metadata-agent utilizes 'localport' on each hypervisor in OVS to work, since
8994
# we don't have an OVS that the baremetal nodes are plugged into we can't have this

python/neutron-understack/neutron_understack/l3_router/__init__.py

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from neutron.services.ovn_l3.service_providers.user_defined import UserDefined
2+
3+
4+
class CiscoAsa(UserDefined):
5+
pass
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from neutron.services.ovn_l3.service_providers.user_defined import UserDefined
2+
3+
4+
class PaloAlto(UserDefined):
5+
pass
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from neutron.services.ovn_l3.service_providers.user_defined import UserDefined
2+
3+
4+
class Vrf(UserDefined):
5+
pass

0 commit comments

Comments
 (0)