Skip to content

Instantly share code, notes, and snippets.

@jshen28
Last active October 25, 2018 07:21
Show Gist options
  • Save jshen28/70eee920a1743c4969fc74abe4361ee2 to your computer and use it in GitHub Desktop.
Save jshen28/70eee920a1743c4969fc74abe4361ee2 to your computer and use it in GitHub Desktop.
# get router gateway external gateway network id
ROUTER_ID=
openstack router show ${ROUTER_ID} -f value -c gateway_external_info | jq '.network_id' | sed 's/"//g'
# router namespace is named in the form of qrouter-<ROUTER-ID>
# snat namespace is named with snat-<ROUTER-ID>
# fip namespace is named with fip-<EXTERNAL-NETWORK-ID>
# dvr layout
# edge node
# qr <---> sg <---> sg
# dvr node
# rfp <---> fpr <---> fg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment