Guest User

ovs_details

a guest
Feb 7th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.47 KB | None | 0 0
  1. OVS bridges in Compute Node:
  2.  
  3. root@node-1046ubuntu:~# ovs-vsctl show
  4. 4e444835-4419-4363-adb1-7bbdf884b6a6
  5. Manager "tcp:192.168.0.3:6640"
  6. is_connected: true
  7. Bridge br-int
  8. Controller "tcp:192.168.0.3:6653"
  9. is_connected: true
  10. fail_mode: secure
  11. Port "vhufd34b591-35"
  12. Interface "vhufd34b591-35"
  13. type: dpdkvhostuser
  14. Port "vhuaf424fd8-e3"
  15. Interface "vhuaf424fd8-e3"
  16. type: dpdkvhostuser
  17. Port br-int
  18. Interface br-int
  19. type: internal
  20. Port "vxlan-192.168.2.1"
  21. Interface "vxlan-192.168.2.1"
  22. type: vxlan
  23. options: {key=flow, local_ip="192.168.2.26", remote_ip="192.168.2.1"}
  24. Port vxgpe
  25. Interface vxgpe
  26. type: vxlan
  27. options: {dst_port="6633", exts=gpe, key=flow, "nshc1"=flow, "nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow, remote_ip=flow}
  28. Port "vhu3ff5ec5c-85"
  29. Interface "vhu3ff5ec5c-85"
  30. type: dpdkvhostuser
  31. Bridge "br-phy1"
  32. fail_mode: standalone
  33. Port "dpdk0"
  34. Interface "dpdk0"
  35. type: dpdk
  36. Port "br-phy1"
  37. Interface "br-phy1"
  38. type: internal
  39.  
  40. OVS flows in Compute Node:
  41.  
  42. root@node-1046ubuntu:~# ovs-ofctl -O OpenFlow13 dump-flows br-int
  43. OFPST_FLOW reply (OF1.3) (xid=0x2):
  44. cookie=0x0, duration=1803.148s, table=0, n_packets=341, n_bytes=38533, dl_type=0x88cc actions=CONTROLLER:65535
  45. cookie=0x0, duration=1803.033s, table=0, n_packets=6856, n_bytes=596981, priority=6 actions=goto_table:1
  46. cookie=0x14, duration=1374.181s, table=0, n_packets=0, n_bytes=0, priority=5 actions=goto_table:1
  47. cookie=0x1110070000510254, duration=1268.484s, table=1, n_packets=0, n_bytes=0, priority=40000,nsi=254,nsp=51,reg0=0x1,in_port=2 actions=pop_nsh,goto_table:21
  48. cookie=0x0, duration=1640.281s, table=1, n_packets=1052, n_bytes=93244, in_port=2,dl_src=fa:16:3e:97:d3:4f actions=set_field:0x3ed->tun_id,load:0x1->NXM_NX_REG0[],goto_table:11
  49. cookie=0x0, duration=1523.384s, table=1, n_packets=983, n_bytes=87753, in_port=3,dl_src=fa:16:3e:2f:47:00 actions=set_field:0x3ed->tun_id,load:0x1->NXM_NX_REG0[],goto_table:11
  50. cookie=0x0, duration=1455.873s, table=1, n_packets=1855, n_bytes=152059, in_port=4,dl_src=fa:16:3e:de:a6:8a actions=set_field:0x3ed->tun_id,load:0x1->NXM_NX_REG0[],goto_table:11
  51. cookie=0x0, duration=1455.291s, table=1, n_packets=2944, n_bytes=262241, tun_id=0x3ed,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:11
  52. cookie=0x0, duration=1640.184s, table=1, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
  53. cookie=0x0, duration=1523.338s, table=1, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
  54. cookie=0x0, duration=1455.826s, table=1, n_packets=0, n_bytes=0, priority=8192,in_port=4 actions=drop
  55. cookie=0x14, duration=1374.185s, table=1, n_packets=0, n_bytes=0, priority=300,udp,nw_dst=123.123.123.3,tp_dst=6633 actions=output:2
  56. cookie=0x14, duration=1374.182s, table=1, n_packets=0, n_bytes=0, priority=300,udp,in_port=2,tp_dst=6633 actions=LOCAL
  57. cookie=0x14, duration=1374.183s, table=1, n_packets=0, n_bytes=0, priority=250,nsp=51 actions=goto_table:4
  58. cookie=0x0, duration=1803.203s, table=1, n_packets=0, n_bytes=0, priority=0 actions=goto_table:11
  59. cookie=0x14, duration=1374.193s, table=1, n_packets=8, n_bytes=648, priority=5 actions=drop
  60. cookie=0x14, duration=1374.239s, table=2, n_packets=0, n_bytes=0, priority=5 actions=goto_table:3
  61. cookie=0x14, duration=1374.241s, table=3, n_packets=0, n_bytes=0, priority=5 actions=goto_table:4
  62. cookie=0x14, duration=1374.231s, table=4, n_packets=0, n_bytes=0, priority=550,nsi=255,nsp=51 actions=load:0x7b7b7b03->NXM_NX_TUN_IPV4_DST[],goto_table:10
  63. cookie=0x14, duration=1374.230s, table=4, n_packets=0, n_bytes=0, priority=5 actions=goto_table:10
  64. cookie=0xba5eba1100000102, duration=1374.194s, table=10, n_packets=0, n_bytes=0, priority=660,nsi=254,nsp=51,nshc1=0 actions=IN_PORT
  65. cookie=0xba5eba1100000101, duration=1374.223s, table=10, n_packets=0, n_bytes=0, priority=655,nsi=255,nsp=51,in_port=5 actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSH_C1[]->NXM_NX_NSH_C1[],move:NXM_NX_NSH_C2[]->NXM_NX_NSH_C2[],move:NXM_NX_TUN_ID[0..31]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],IN_PORT
  66. cookie=0xba5eba1100000103, duration=1374.227s, table=10, n_packets=0, n_bytes=0, priority=650,nsi=254,nsp=51 actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSI[]->NXM_NX_NSI[],move:NXM_NX_NSP[0..23]->NXM_NX_NSP[0..23],move:NXM_NX_NSH_C1[]->NXM_NX_TUN_IPV4_DST[],move:NXM_NX_NSH_C2[]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],IN_PORT
  67. cookie=0xba5eba1100000101, duration=1374.193s, table=10, n_packets=0, n_bytes=0, priority=650,nsi=255,nsp=51 actions=move:NXM_NX_NSH_MDTYPE[]->NXM_NX_NSH_MDTYPE[],move:NXM_NX_NSH_NP[]->NXM_NX_NSH_NP[],move:NXM_NX_NSH_C1[]->NXM_NX_NSH_C1[],move:NXM_NX_NSH_C2[]->NXM_NX_NSH_C2[],move:NXM_NX_TUN_ID[0..31]->NXM_NX_TUN_ID[0..31],load:0x4->NXM_NX_TUN_GPE_NP[],output:5
  68. cookie=0x14, duration=1374.226s, table=10, n_packets=0, n_bytes=0, priority=5 actions=drop
  69. cookie=0x1110010000510255, duration=1268.611s, table=11, n_packets=896, n_bytes=66304, tcp,reg0=0x1,tp_src=2000,tp_dst=80 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_NSH_C2[],push_nsh,load:0x1->NXM_NX_NSH_MDTYPE[],load:0x3->NXM_NX_NSH_NP[],load:0xc0a8001a->NXM_NX_NSH_C1[],load:0x33->NXM_NX_NSP[0..23],load:0xff->NXM_NX_NSI[],load:0x7b7b7b03->NXM_NX_TUN_IPV4_DST[],load:0x33->NXM_NX_TUN_ID[0..31],resubmit(,0)
  70. cookie=0x1110060000510254, duration=1268.543s, table=11, n_packets=0, n_bytes=0, nsi=254,nsp=51,in_port=5 actions=load:0x1->NXM_NX_REG0[],move:NXM_NX_NSH_C2[]->NXM_NX_TUN_ID[0..31],resubmit(2,1)
  71. cookie=0x0, duration=1803.093s, table=11, n_packets=5938, n_bytes=528993, priority=0 actions=goto_table:21
  72. cookie=0x0, duration=1454.964s, table=21, n_packets=71, n_bytes=2982, priority=1024,arp,tun_id=0x3ed,arp_tpa=123.123.123.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:fe:69:98->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163efe6998->NXM_NX_ARP_SHA[],load:0x7b7b7b02->NXM_OF_ARP_SPA[],IN_PORT
  73. cookie=0x0, duration=1454.865s, table=21, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x3ed,arp_tpa=123.123.123.3,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:97:d3:4f->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e97d34f->NXM_NX_ARP_SHA[],load:0x7b7b7b03->NXM_OF_ARP_SPA[],IN_PORT
  74. cookie=0x0, duration=1454.761s, table=21, n_packets=1, n_bytes=42, priority=1024,arp,tun_id=0x3ed,arp_tpa=123.123.123.5,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:de:a6:8a->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163edea68a->NXM_NX_ARP_SHA[],load:0x7b7b7b05->NXM_OF_ARP_SPA[],IN_PORT
  75. cookie=0x0, duration=1454.667s, table=21, n_packets=6, n_bytes=252, priority=1024,arp,tun_id=0x3ed,arp_tpa=123.123.123.4,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:2f:47:00->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e2f4700->NXM_NX_ARP_SHA[],load:0x7b7b7b04->NXM_OF_ARP_SPA[],IN_PORT
  76. cookie=0x1110040000000000, duration=1268.691s, table=21, n_packets=0, n_bytes=0, priority=1024,arp,in_port=LOCAL,arp_tpa=123.123.123.3,arp_op=1 actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:fa:16:3e:97:d3:4f->eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e97d34f->NXM_NX_ARP_SHA[],load:0x7b7b7b03->NXM_OF_ARP_SPA[],IN_PORT
  77. cookie=0x0, duration=1802.977s, table=21, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:31
  78. cookie=0x0, duration=1802.926s, table=31, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:41
  79. cookie=0x0, duration=1641.038s, table=41, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
  80. cookie=0x0, duration=1640.986s, table=41, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=2,tp_src=547,tp_dst=546 actions=drop
  81. cookie=0x0, duration=1524.430s, table=41, n_packets=0, n_bytes=0, priority=61011,udp,in_port=3,tp_src=67,tp_dst=68 actions=drop
  82. cookie=0x0, duration=1524.377s, table=41, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=3,tp_src=547,tp_dst=546 actions=drop
  83. cookie=0x0, duration=1457.580s, table=41, n_packets=10, n_bytes=3420, priority=61012,udp,in_port=4,tp_src=68,tp_dst=67 actions=goto_table:51
  84. cookie=0x0, duration=1457.522s, table=41, n_packets=0, n_bytes=0, priority=61012,udp6,in_port=4,tp_src=546,tp_dst=547 actions=goto_table:51
  85. cookie=0x0, duration=1457.330s, table=41, n_packets=0, n_bytes=0, priority=61011,udp,in_port=4,tp_src=67,tp_dst=68 actions=drop
  86. cookie=0x0, duration=1457.279s, table=41, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=4,tp_src=547,tp_dst=546 actions=drop
  87. cookie=0x0, duration=1641.190s, table=41, n_packets=0, n_bytes=0, priority=61010,arp,arp_sha=fa:16:3e:97:d3:4f actions=goto_table:51
  88. cookie=0x0, duration=1524.631s, table=41, n_packets=0, n_bytes=0, priority=61010,arp,arp_sha=fa:16:3e:2f:47:00 actions=goto_table:51
  89. cookie=0x0, duration=1457.478s, table=41, n_packets=0, n_bytes=0, priority=61010,arp,arp_sha=fa:16:3e:de:a6:8a actions=goto_table:51
  90. cookie=0x0, duration=1640.403s, table=41, n_packets=1014, n_bytes=89836, priority=61007,ip,dl_src=fa:16:3e:97:d3:4f actions=goto_table:51
  91. cookie=0x0, duration=1523.553s, table=41, n_packets=8, n_bytes=648, priority=61007,ipv6,dl_src=fa:16:3e:2f:47:00 actions=goto_table:51
  92. cookie=0x0, duration=1456.171s, table=41, n_packets=8, n_bytes=648, priority=61007,ipv6,dl_src=fa:16:3e:de:a6:8a actions=goto_table:51
  93. cookie=0x0, duration=1641.137s, table=41, n_packets=0, n_bytes=0, priority=61003,tcp,dl_src=fa:16:3e:97:d3:4f,tcp_flags=syn actions=drop
  94. cookie=0x0, duration=1641.087s, table=41, n_packets=0, n_bytes=0, priority=61003,tcp6,dl_src=fa:16:3e:97:d3:4f,tcp_flags=syn actions=drop
  95. cookie=0x0, duration=1640.537s, table=41, n_packets=0, n_bytes=0, priority=61007,tcp,dl_src=fa:16:3e:97:d3:4f,tcp_flags=syn actions=goto_table:51
  96. cookie=0x0, duration=1524.579s, table=41, n_packets=0, n_bytes=0, priority=61003,tcp,dl_src=fa:16:3e:2f:47:00,tcp_flags=syn actions=drop
  97. cookie=0x0, duration=1524.516s, table=41, n_packets=0, n_bytes=0, priority=61003,tcp6,dl_src=fa:16:3e:2f:47:00,tcp_flags=syn actions=drop
  98. cookie=0x0, duration=1523.762s, table=41, n_packets=0, n_bytes=0, priority=61007,tcp,dl_src=fa:16:3e:2f:47:00,tcp_flags=syn actions=goto_table:51
  99. cookie=0x0, duration=1457.422s, table=41, n_packets=0, n_bytes=0, priority=61003,tcp,dl_src=fa:16:3e:de:a6:8a,tcp_flags=syn actions=drop
  100. cookie=0x0, duration=1457.380s, table=41, n_packets=0, n_bytes=0, priority=61003,tcp6,dl_src=fa:16:3e:de:a6:8a,tcp_flags=syn actions=drop
  101. cookie=0x0, duration=1456.025s, table=41, n_packets=1, n_bytes=74, priority=61007,tcp,dl_src=fa:16:3e:de:a6:8a,tcp_flags=syn actions=goto_table:51
  102. cookie=0x0, duration=1802.878s, table=41, n_packets=4809, n_bytes=427671, priority=0 actions=goto_table:51
  103. cookie=0x0, duration=1802.827s, table=51, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:61
  104. cookie=0x0, duration=1802.777s, table=61, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:71
  105. cookie=0x0, duration=1802.727s, table=71, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:81
  106. cookie=0x0, duration=1802.677s, table=81, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:91
  107. cookie=0x0, duration=1641.364s, table=91, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:97:d3:4f actions=goto_table:101
  108. cookie=0x0, duration=1524.822s, table=91, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:2f:47:00 actions=goto_table:101
  109. cookie=0x0, duration=1457.630s, table=91, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:de:a6:8a actions=goto_table:101
  110. cookie=0x0, duration=1641.462s, table=91, n_packets=0, n_bytes=0, priority=61003,tcp,dl_dst=fa:16:3e:97:d3:4f,tcp_flags=syn actions=drop
  111. cookie=0x0, duration=1641.423s, table=91, n_packets=0, n_bytes=0, priority=61003,tcp6,dl_dst=fa:16:3e:97:d3:4f,tcp_flags=syn actions=drop
  112. cookie=0x0, duration=1640.935s, table=91, n_packets=0, n_bytes=0, priority=61007,tcp,dl_dst=fa:16:3e:97:d3:4f,tcp_flags=syn actions=goto_table:101
  113. cookie=0x0, duration=1524.971s, table=91, n_packets=0, n_bytes=0, priority=61003,tcp,dl_dst=fa:16:3e:2f:47:00,tcp_flags=syn actions=drop
  114. cookie=0x0, duration=1524.891s, table=91, n_packets=0, n_bytes=0, priority=61003,tcp6,dl_dst=fa:16:3e:2f:47:00,tcp_flags=syn actions=drop
  115. cookie=0x0, duration=1524.312s, table=91, n_packets=1, n_bytes=74, priority=61007,tcp,dl_dst=fa:16:3e:2f:47:00,tcp_flags=syn actions=goto_table:101
  116. cookie=0x0, duration=1457.729s, table=91, n_packets=0, n_bytes=0, priority=61003,tcp,dl_dst=fa:16:3e:de:a6:8a,tcp_flags=syn actions=drop
  117. cookie=0x0, duration=1457.671s, table=91, n_packets=0, n_bytes=0, priority=61003,tcp6,dl_dst=fa:16:3e:de:a6:8a,tcp_flags=syn actions=drop
  118. cookie=0x0, duration=1456.821s, table=91, n_packets=1, n_bytes=74, priority=61007,tcp,dl_dst=fa:16:3e:de:a6:8a,tcp_flags=syn actions=goto_table:101
  119. cookie=0x0, duration=1456.517s, table=91, n_packets=920, n_bytes=84935, priority=61007,ip,dl_dst=fa:16:3e:de:a6:8a actions=goto_table:101
  120. cookie=0x0, duration=1455.974s, table=91, n_packets=948, n_bytes=84893, priority=61007,ip,dl_dst=fa:16:3e:2f:47:00 actions=goto_table:101
  121. cookie=0x0, duration=1455.927s, table=91, n_packets=1016, n_bytes=90884, priority=61007,ip,dl_dst=fa:16:3e:97:d3:4f actions=goto_table:101
  122. cookie=0x0, duration=1457.821s, table=91, n_packets=0, n_bytes=0, priority=61006,udp,dl_src=fa:16:3e:fe:69:98,dl_dst=fa:16:3e:de:a6:8a,tp_src=67,tp_dst=68 actions=goto_table:101
  123. cookie=0x0, duration=1457.772s, table=91, n_packets=0, n_bytes=0, priority=61006,udp6,dl_src=fa:16:3e:fe:69:98,dl_dst=fa:16:3e:de:a6:8a,tp_src=547,tp_dst=546 actions=goto_table:101
  124. cookie=0x0, duration=1802.586s, table=91, n_packets=2974, n_bytes=264857, priority=0 actions=goto_table:101
  125. cookie=0x0, duration=1802.535s, table=101, n_packets=5860, n_bytes=525717, priority=0 actions=goto_table:111
  126. cookie=0x0, duration=1704.390s, table=111, n_packets=2867, n_bytes=255227, tun_id=0x3ed,dl_dst=fa:16:3e:fe:69:98 actions=output:1
  127. cookie=0x0, duration=1640.134s, table=111, n_packets=1016, n_bytes=90884, tun_id=0x3ed,dl_dst=fa:16:3e:97:d3:4f actions=output:2
  128. cookie=0x0, duration=1523.286s, table=111, n_packets=949, n_bytes=84967, tun_id=0x3ed,dl_dst=fa:16:3e:2f:47:00 actions=output:3
  129. cookie=0x0, duration=1455.549s, table=111, n_packets=921, n_bytes=85009, tun_id=0x3ed,dl_dst=fa:16:3e:de:a6:8a actions=output:4
  130. cookie=0x0, duration=1455.494s, table=111, n_packets=69, n_bytes=2898, priority=16384,reg0=0x2,tun_id=0x3ed,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:3,output:4
  131. cookie=0x0, duration=1455.242s, table=111, n_packets=38, n_bytes=6732, priority=16383,reg0=0x1,tun_id=0x3ed,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1,output:3,output:4
  132. cookie=0x0, duration=1455.345s, table=111, n_packets=0, n_bytes=0, priority=8192,tun_id=0x3ed actions=drop
  133. cookie=0x0, duration=1802.486s, table=111, n_packets=0, n_bytes=0, priority=0 actions=drop
Add Comment
Please, Sign In to add comment