Skip to content

Instantly share code, notes, and snippets.

@samos123
Created May 20, 2015 14:26
Show Gist options
  • Save samos123/55cc43dfc8d3a5a69017 to your computer and use it in GitHub Desktop.
Save samos123/55cc43dfc8d3a5a69017 to your computer and use it in GitHub Desktop.
## This is from neutron port-show command
neutron port-show e5e3906b-24d8-4642-9876-2ac06f984809
+-----------------------+--------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | node-7 |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | binding_failed |
| binding:vnic_type | normal |
| device_id | 2dda7b6d-e479-4064-a065-b1d38ac07526 |
| device_owner | network:router_interface |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "8789861b-5f3c-4117-9656-01e2352b17fe", "ip_address": "192.168.111.1"} |
| id | e5e3906b-24d8-4642-9876-2ac06f984809 |
| mac_address | fa:16:3e:0b:05:1e |
| name | |
| network_id | f2d9fbb1-66bf-4040-8fbf-cbc6184ab588 |
| security_groups | |
| status | DOWN |
| tenant_id | 0848a660dd3e44c09f1c0683e19fb149 |
+-----------------------+--------------------------------------------------------------------------------------+
### The ovs-vsctl show command
Bridge br-int
fail_mode: secure
Port "qr-8ffd5f66-7b"
tag: 4095
Interface "qr-8ffd5f66-7b"
type: internal
Port "qr-d09fd40c-f0"
tag: 3
Interface "qr-d09fd40c-f0"
type: internal
Port int-br-prv
Interface int-br-prv
type: patch
options: {peer=phy-br-prv}
Port br-int
Interface br-int
type: internal
Port "qr-e5e3906b-24"
tag: 4095
Interface "qr-e5e3906b-24"
type: internal
Note that qr-e5e3906b-24 is the neutron port shown above which serves as the gateway for network net04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment