3 # Copyright (C) 2013 Cisco Systems, Inc.
5 # This program and the accompanying materials are made available under the
6 # terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 # and is available at http://www.eclipse.org/legal/epl-v10.html
9 # Authors : Thomas Bachman
12 # Create a neutron network and subnet for VXLAN (hard-coded)
15 neutron net-create vxlan-net --tenant_id $(keystone tenant-list | grep '\sadmin' | awk '{print $2}') --provider:network_type vxlan --provider:segmentation_id 1300
16 neutron subnet-create vxlan-net 10.100.1.0/24 --name vxlan-net