Adding an OpenStack External Network
This section describes how to add an OpenStack External Network.
Note |
A preexistng L3Out and corresponding endpoint group (EPG) is required for external connectivity. |
There is a change in the command for configuring external-network (new extensions have been added) in the OpenStack to correspond to the above pre-existing L3Out and its EPG. The configuration requires the DN of the EPG for the specific the L3Out in APIC. It can be done in two ways:
Procedure
Step 1 |
Go to the APIC and get the DN of the external network using the API-Inspector:
|
||
Step 2 |
Use the aimctl manager command on the Openstack-Controller to get the dn as shown below:
Example:
Now the dn from above can be used to create the external network. For Distributed NAT: Example:
For No NAT: Example:
For Floating IPs, add a subnet to external network with the desired floating IP pool cidr. For SNAT, add a subnet to the external network as below: Example:
For GBP external connectivity, first create the external segment using the SNAT subnet: Example:
Now this segment can be used as usual to create the network service policy. Example:
|