Created
July 26, 2016 20:07
-
-
Save trumant/d6a89d3068a81cfc119e495b4fc162c1 to your computer and use it in GitHub Desktop.
OpenStack-Ansible OVS - provider network setup example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh man1.oslab | |
lxc-attach -n `lxc-ls | grep utility` | |
source openrc | |
# Create the provider network | |
neutron net-create physnet1 --shared \ | |
--provider:physical_network physnet1 \ | |
--provider:network_type vlan \ | |
--provider:segmentation_id 101 | |
# Create the subnet for the provider net | |
neutron subnet-create physnet1 192.168.2.0/24 \ | |
--name physnet-subnet \ | |
--gateway 192.168.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment