Advertisement
Guest User

Untitled

a guest
Nov 7th, 2013
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. queaker@compute-172-31-252-201:~$ brctl show
  2. bridge name bridge id STP enabled interfaces
  3. br-int 0000.1ee9ef8a284a no tap67b22b07-21
  4. tapefcc735e-10
  5. br0 0000.047d7ba5b328 no eth0
  6.  
  7.  
  8.  
  9. tap67b22b07-21, tapefcc735e-10 < taps from the two dhcp agents
  10. br0 < bridge to network
  11. br-int < integration bridge
  12.  
  13.  
  14. after vm start:
  15.  
  16. queaker@compute-172-31-252-201:~$ brctl show
  17. bridge name bridge id STP enabled interfaces
  18. br-int 0000.1ee9ef8a284a no qvob482e16c-b8
  19. tap67b22b07-21
  20. tapefcc735e-10
  21. br0 0000.047d7ba5b328 no eth0
  22. qbrb482e16c-b8 8000.c67040bd3b43 no qvbb482e16c-b8
  23. tapb482e16c-b8
  24.  
  25. with the bridges and interfaces vor the started vm
  26.  
  27. queaker@compute-172-31-252-201:~$ sudo ovs-vsctl show
  28. 1df3e12e-beb3-437d-9f5e-069dadb5ea27
  29. Bridge br-int
  30. Port "tap67b22b07-21"
  31. tag: 1
  32. Interface "tap67b22b07-21"
  33. type: internal
  34. Port "qvob482e16c-b8"
  35. tag: 2
  36. Interface "qvob482e16c-b8"
  37. Port "tapefcc735e-10"
  38. tag: 2
  39. Interface "tapefcc735e-10"
  40. type: internal
  41. Port br-int
  42. Interface br-int
  43. type: internal
  44. Bridge "br0"
  45. Port "eth0"
  46. Interface "eth0"
  47. Port "br0"
  48. Interface "br0"
  49. type: internal
  50. ovs_version: "1.4.0+build0"
  51.  
  52. queaker@compute-172-31-252-201:~$ sudo ovs-ofctl dump-flows br0
  53. NXST_FLOW reply (xid=0x4):
  54. cookie=0x0, duration=938.502s, table=0, n_packets=188519, n_bytes=157908743, priority=0 actions=NORMAL
  55. queaker@compute-172-31-252-201:~$ sudo ovs-ofctl dump-flows br-int
  56. NXST_FLOW reply (xid=0x4):
  57. cookie=0x0, duration=906.578s, table=0, n_packets=82, n_bytes=6005, priority=1 actions=NORMAL
  58.  
  59. root@compute-172-31-252-201:~# neutron net-list
  60. +--------------------------------------+-----------------+------------------------------------------------------+
  61. | id | name | subnets |
  62. +--------------------------------------+-----------------+------------------------------------------------------+
  63. | 56c0a962-da49-4c16-bd7e-92ffaa0861c0 | Public-External | 45500352-bdf2-4b2e-8eb9-7362f936cb3f 192.26.184.0/22 |
  64. | c5328aac-e5a7-43fb-81ed-63960717e0a5 | Public-Internal | d6845e0b-8a90-4058-b0a3-449864de780d 172.23.56.0/23 |
  65. +--------------------------------------+-----------------+------------------------------------------------------+
  66.  
  67. root@compute-172-31-252-201:~# neutron net-show Public-External
  68. +---------------------------+--------------------------------------+
  69. | Field | Value |
  70. +---------------------------+--------------------------------------+
  71. | admin_state_up | True |
  72. | id | 56c0a962-da49-4c16-bd7e-92ffaa0861c0 |
  73. | name | Public-External |
  74. | provider:network_type | vlan |
  75. | provider:physical_network | physnet1 |
  76. | provider:segmentation_id | 2502 |
  77. | router:external | True |
  78. | shared | True |
  79. | status | ACTIVE |
  80. | subnets | 45500352-bdf2-4b2e-8eb9-7362f936cb3f |
  81. | tenant_id | 26b9c197fd824fc7a836895b8ad70a7c |
  82. +---------------------------+--------------------------------------+
  83.  
  84. in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
  85.  
  86. tenant_network_type = vlan
  87. network_vlan_ranges = physnet1:2501:2505
  88. integration_bridge = br-int
  89. bridge_mappings = physnet1:br0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement