Creating a VTEP Router Gateway Device

Any router can be a VTEP router. A router becomes a VTEP router only when it is registered to be a gateway device as a "router_vtep" type.

Site A

# neutron router-create \
   --tenant-id tenant \
   SiteAVtepRouter

Router ID: 4bd9f56e-a792-11e5-b76a-9b045b18900a

# neutron gateway-device-create \
   --tenant-id tenant \
   --name SiteAGatewayDevice \
   --type router_vtep \
   --resource-id 4bd9f56e-a792-11e5-b76a-9b045b18900a \
   --tunnel-ip 200.0.0.1

Gateway device ID: 5f1a1a9a-a7a2-11e5-8bde-8b2506f539f8

Site B

# neutron router-create \
   --tenant-id tenant \
   SiteBVtepRouter

Router ID: 7b0bc88c-af83-11e5-9ec4-bbe5550f7e92

# neutron gateway-device-create \
   --tenant-id tenant \
   --name SiteBGatewayDevice \
   --type router_vtep \
   --resource-id 7b0bc88c-af83-11e5-9ec4-bbe5550f7e92 \
   --tunnel-ip 200.0.0.2

Gateway device ID: 8e47afce-af83-11e5-9b76-4b95f3de9711

While the --tunnel-ip option can be specified repeatedly, in the case of VTEP routers, only one IP address is accepted.

Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.


loading table of contents...