Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- queaker@compute-172-31-252-201:~$ brctl show
- bridge name bridge id STP enabled interfaces
- br-int 0000.1ee9ef8a284a no tap67b22b07-21
- tapefcc735e-10
- br0 0000.047d7ba5b328 no eth0
- tap67b22b07-21, tapefcc735e-10 < taps from the two dhcp agents
- br0 < bridge to network
- br-int < integration bridge
- after vm start:
- queaker@compute-172-31-252-201:~$ brctl show
- bridge name bridge id STP enabled interfaces
- br-int 0000.1ee9ef8a284a no qvob482e16c-b8
- tap67b22b07-21
- tapefcc735e-10
- br0 0000.047d7ba5b328 no eth0
- qbrb482e16c-b8 8000.c67040bd3b43 no qvbb482e16c-b8
- tapb482e16c-b8
- with the bridges and interfaces vor the started vm
- queaker@compute-172-31-252-201:~$ sudo ovs-vsctl show
- 1df3e12e-beb3-437d-9f5e-069dadb5ea27
- Bridge br-int
- Port "tap67b22b07-21"
- tag: 1
- Interface "tap67b22b07-21"
- type: internal
- Port "qvob482e16c-b8"
- tag: 2
- Interface "qvob482e16c-b8"
- Port "tapefcc735e-10"
- tag: 2
- Interface "tapefcc735e-10"
- type: internal
- Port br-int
- Interface br-int
- type: internal
- Bridge "br0"
- Port "eth0"
- Interface "eth0"
- Port "br0"
- Interface "br0"
- type: internal
- ovs_version: "1.4.0+build0"
- queaker@compute-172-31-252-201:~$ sudo ovs-ofctl dump-flows br0
- NXST_FLOW reply (xid=0x4):
- cookie=0x0, duration=938.502s, table=0, n_packets=188519, n_bytes=157908743, priority=0 actions=NORMAL
- queaker@compute-172-31-252-201:~$ sudo ovs-ofctl dump-flows br-int
- NXST_FLOW reply (xid=0x4):
- cookie=0x0, duration=906.578s, table=0, n_packets=82, n_bytes=6005, priority=1 actions=NORMAL
- root@compute-172-31-252-201:~# neutron net-list
- +--------------------------------------+-----------------+------------------------------------------------------+
- | id | name | subnets |
- +--------------------------------------+-----------------+------------------------------------------------------+
- | 56c0a962-da49-4c16-bd7e-92ffaa0861c0 | Public-External | 45500352-bdf2-4b2e-8eb9-7362f936cb3f 192.26.184.0/22 |
- | c5328aac-e5a7-43fb-81ed-63960717e0a5 | Public-Internal | d6845e0b-8a90-4058-b0a3-449864de780d 172.23.56.0/23 |
- +--------------------------------------+-----------------+------------------------------------------------------+
- root@compute-172-31-252-201:~# neutron net-show Public-External
- +---------------------------+--------------------------------------+
- | Field | Value |
- +---------------------------+--------------------------------------+
- | admin_state_up | True |
- | id | 56c0a962-da49-4c16-bd7e-92ffaa0861c0 |
- | name | Public-External |
- | provider:network_type | vlan |
- | provider:physical_network | physnet1 |
- | provider:segmentation_id | 2502 |
- | router:external | True |
- | shared | True |
- | status | ACTIVE |
- | subnets | 45500352-bdf2-4b2e-8eb9-7362f936cb3f |
- | tenant_id | 26b9c197fd824fc7a836895b8ad70a7c |
- +---------------------------+--------------------------------------+
- in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
- tenant_network_type = vlan
- network_vlan_ranges = physnet1:2501:2505
- integration_bridge = br-int
- bridge_mappings = physnet1:br0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement