Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (54 sloc) 2.73 KB

Neutron

Configuration

Modify the following files to match your environment:

Network configuration

Chose one network configurations for your environment:

Provider networks

Deploys the simplest configuration, in which you use provider networks to attach instances to. This means:

  • No private networks
  • No virtual routers
  • No floating IPs
  • Only admin users can modify and create networks
  • An existing network is required

Note This option works with SDN's

Modify:

Before the service is running, create a docker network that will act as a provider network in OpenStack:

docker network create openstack-provider-net \
    --driver=bridge \
    --subnet=172.28.0.0/16 \
    --ip-range=172.28.5.0/24 \
    --gateway=172.28.5.254

After the service is running, create a provider network:

openstack network create --share --external \
    --provider-physical-network provider \
    --provider-network-type flat provider

And its subnet:

openstack subnet create --network provider \
    --allocation-pool start=172.28.5.1,end=172.28.5.250 \
    --dns-nameserver 8.8.8.8 --gateway 172.28.5.254 \
    --subnet-range 172.28.0.0/16 provider-subnet

Create a port:

openstack port create \
    --fixed-ip subnet=provider-subnet,ip-address=172.28.5.2 \
    --enable \
    --network provider \
    port-provider

Self-service networks

Self-service configuration allows attaching instances to private networks (VxLans). This means:

  • Private networks
  • Virtual routers
  • Floating IPs
  • Non-admin users can modify and create networks
  • Attach instances to provider networks

Note This option works with SDN's

Note Configuration steps are missing

References

Docker networking

Host networking

Provider networks

You can’t perform that action at this time.