Skip to content

Instantly share code, notes, and snippets.

@trumant
Created July 26, 2016 20:07
Show Gist options
  • Save trumant/d6a89d3068a81cfc119e495b4fc162c1 to your computer and use it in GitHub Desktop.
Save trumant/d6a89d3068a81cfc119e495b4fc162c1 to your computer and use it in GitHub Desktop.
OpenStack-Ansible OVS - provider network setup example
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