Skip to content

Instantly share code, notes, and snippets.

@mavenugo
Last active January 4, 2016 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mavenugo/8679858 to your computer and use it in GitHub Desktop.
Save mavenugo/8679858 to your computer and use it in GitHub Desktop.
OpenStack + OpenDaylight + OVSDB + OpenFlow1.3 + OpenVSwitch + Fedora
=====================================================================
Can it get more open than this ?. And yes, all with OpenFlow1.3 OXM headers. No proprietary extensions.
For the Networking Geek in you :
DevStack Controller
===================
[fedora@fedora1 devstack]$ sudo ovs-vsctl show
3cc9dac3-9fa6-4c69-acc1-a2d463396fc8
Manager "tcp:192.168.56.1:6640"
is_connected: true
Bridge br-ex
Controller "tcp:192.168.56.1:6633"
is_connected: true
Port "tap529e9e77-13"
Interface "tap529e9e77-13"
Port br-ex
Interface br-ex
type: internal
Bridge br-int
Controller "tcp:192.168.56.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port "vxlan-192.168.56.102"
Interface "vxlan-192.168.56.102"
type: vxlan
options: {key=flow, local_ip="192.168.56.101", remote_ip="192.168.56.102"}
Port "tapb228d03b-63"
Interface "tapb228d03b-63"
Port "tapdfa28ecb-4c"
Interface "tapdfa28ecb-4c"
Port "vxlan-192.168.56.103"
Interface "vxlan-192.168.56.103"
type: vxlan
options: {key=flow, local_ip="192.168.56.101", remote_ip="192.168.56.103"}
ovs_version: "2.0.0"
[fedora@fedora1 devstack]$ sudo ovs-ofctl dump-flows br-int -O OpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=242.372s, table=0, n_packets=191, n_bytes=17461, send_flow_rem tun_id=0x3e9,in_port=3 actions=goto_table:20
cookie=0x0, duration=242.328s, table=0, n_packets=26, n_bytes=2756, send_flow_rem tun_id=0x3e9,in_port=4 actions=goto_table:20
cookie=0x0, duration=242.726s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=1 actions=drop
cookie=0x0, duration=242.403s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=2 actions=drop
cookie=0x0, duration=242.795s, table=0, n_packets=98, n_bytes=8722, send_flow_rem dl_type=0x88cc actions=CONTROLLER:56
cookie=0x0, duration=136.131s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=1,in_port=4,dl_dst=00:00:00:00:00:00 actions=output:4
cookie=0x0, duration=136.497s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=1,in_port=3,dl_dst=00:00:00:00:00:00 actions=output:4
cookie=0x0, duration=242.411s, table=0, n_packets=194, n_bytes=22359, send_flow_rem in_port=2,dl_src=fa:16:3e:db:93:c9 actions=set_field:0x3e9->tun_id,goto_table:10
cookie=0x0, duration=242.728s, table=0, n_packets=0, n_bytes=0, send_flow_rem in_port=1,dl_src=fa:16:3e:72:2b:ae actions=set_field:0x3ea->tun_id,goto_table:10
cookie=0x0, duration=242.281s, table=0, n_packets=11, n_bytes=2034, send_flow_rem in_port=1,dl_src=fa:16:3e:c9:d0:78 actions=set_field:0x3e9->tun_id,goto_table:10
cookie=0x0, duration=242.708s, table=10, n_packets=0, n_bytes=0, send_flow_rem priority=8192,tun_id=0x3ea actions=goto_table:20
cookie=0x0, duration=242.382s, table=10, n_packets=0, n_bytes=0, send_flow_rem priority=8192,tun_id=0x3e9 actions=goto_table:20
cookie=0x0, duration=14.126s, table=10, n_packets=20, n_bytes=2667, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:db:5a:17 actions=output:4,goto_table:20
cookie=0x0, duration=143.398s, table=10, n_packets=185, n_bytes=21726, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:f8:ce:5a actions=output:3,goto_table:20
cookie=0x0, duration=242.366s, table=10, n_packets=0, n_bytes=0, send_flow_rem priority=16384,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3,output:4,goto_table:20
cookie=0x0, duration=242.703s, table=20, n_packets=0, n_bytes=0, send_flow_rem priority=8192,tun_id=0x3ea actions=drop
cookie=0x0, duration=242.379s, table=20, n_packets=205, n_bytes=24393, send_flow_rem priority=8192,tun_id=0x3e9 actions=drop
cookie=0x0, duration=242.27s, table=20, n_packets=6, n_bytes=532, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:c9:d0:78 actions=output:1
cookie=0x0, duration=242.719s, table=20, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x3ea,dl_dst=fa:16:3e:72:2b:ae actions=output:1
cookie=0x0, duration=242.396s, table=20, n_packets=193, n_bytes=17381, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:db:93:c9 actions=output:2
cookie=0x0, duration=242.39s, table=20, n_packets=18, n_bytes=2304, send_flow_rem priority=16384,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1
cookie=0x0, duration=242.713s, table=20, n_packets=0, n_bytes=0, send_flow_rem priority=16384,tun_id=0x3ea,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1
[fedora@fedora1 devstack]$ sudo ovsdb-client dump
Bridge table
_uuid controller datapath_id datapath_type external_ids fail_mode flood_vlans flow_tables ipfix mirrors name netflow other_config ports protocols sflow status stp_enable
------------------------------------ -------------------------------------- ------------------ ------------- ------------------ --------- ----------- ----------- ----- ------- ------ ------- ------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------- ----- ------ ----------
4b1e8490-7d1d-4abe-940c-7e370f3b7a24 [c13472a9-4f9d-4fd9-ab8c-77c7b72ceb2d] "000092841e4bbe4a" "" {bridge-id=br-int} secure [] {} [] [] br-int [] {} [1d05afc7-fdb8-42cc-a7ea-58492b32b709, 1e66f991-81b8-4555-8a5b-fc314c60f1ab, 282b85e0-1a44-4439-a197-59f81bf1fcba, ac64e2d7-c3a8-4221-9645-d707e3a41096, fd4ff3fa-e911-4f15-a4e4-dc7699ab0884] ["OpenFlow13"] [] {} false
2b21d7e0-667e-4b41-ab67-2bca9b738b59 [c13472a9-4f9d-4fd9-ab8c-77c7b72ceb2d] "0000e2d7212b414b" "" {bridge-id=br-ex} [] [] {} [] [] br-ex [] {} [40312664-5c52-4d7c-a23b-6b591dc82b9c, 9fecec8b-7968-4f23-a5bc-207d72d37546] ["OpenFlow13"] [] {} false
Controller table
_uuid connection_mode controller_burst_limit controller_rate_limit enable_async_messages external_ids inactivity_probe is_connected local_gateway local_ip local_netmask max_backoff other_config role status target
------------------------------------ --------------- ---------------------- --------------------- --------------------- ------------ ---------------- ------------ ------------- -------- ------------- ----------- ------------ ----- --------------------------------------- -----------------------
c13472a9-4f9d-4fd9-ab8c-77c7b72ceb2d [] [] [] [] {} [] true [] [] [] [] {} other {sec_since_connect="251", state=ACTIVE} "tcp:192.168.56.1:6633"
Flow_Sample_Collector_Set table
_uuid bridge external_ids id ipfix
----- ------ ------------ -- -----
Flow_Table table
_uuid flow_limit groups name overflow_policy
----- ---------- ------ ---- ---------------
IPFIX table
_uuid cache_active_timeout cache_max_flows external_ids obs_domain_id obs_point_id sampling targets
----- -------------------- --------------- ------------ ------------- ------------ -------- -------
Interface table
_uuid admin_state bfd bfd_status cfm_fault cfm_fault_status cfm_health cfm_mpid cfm_remote_mpids cfm_remote_opstate duplex external_ids ifindex ingress_policing_burst ingress_policing_rate lacp_current link_resets link_speed link_state mac mac_in_use mtu name ofport ofport_request options other_config statistics status type
------------------------------------ ----------- --- ---------- --------- ---------------- ---------- -------- ---------------- ------------------ ------ -------------------------------------------------------------------------------------------------------- ------- ---------------------- --------------------- ------------ ----------- ----------- ---------- --- ------------------- ---- ---------------------- ------ -------------- ----------------------------------------------------------------- ------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------- --------
ac4557fc-a910-4380-9a7e-e78dce2f01bc up {} {} [] [] [] [] [] [] [] {} 0 0 0 [] 0 [] up [] "8a:45:00:8b:12:ce" [] "vxlan-192.168.56.103" 4 [] {key=flow, local_ip="192.168.56.101", remote_ip="192.168.56.103"} {} {collisions=0, rx_bytes=2676, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=26, tx_bytes=22691, tx_dropped=0, tx_errors=0, tx_packets=656} {tunnel_egress_iface="p7p1", tunnel_egress_iface_carrier=up} vxlan
2becb8d3-2b82-41b8-87cf-cb929637dbb7 up {} {} [] [] [] [] [] [] [] {} 0 0 0 [] 0 [] up [] "c2:6e:34:45:76:5c" [] "vxlan-192.168.56.102" 3 [] {key=flow, local_ip="192.168.56.101", remote_ip="192.168.56.102"} {} {collisions=0, rx_bytes=13973, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=147, tx_bytes=40783, tx_dropped=0, tx_errors=0, tx_packets=814} {tunnel_egress_iface="p7p1", tunnel_egress_iface_carrier=up} vxlan
06676a49-dab6-4ab0-8e27-20dd98b533a2 up {} {} [] [] [] [] [] [] [] {} 13 0 0 [] 0 [] up [] "92:84:1e:4b:be:4a" 1500 br-int 65534 [] {} {} {collisions=0, rx_bytes=468, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=6, tx_bytes=2396, tx_dropped=0, tx_errors=0, tx_packets=16} {driver_name=openvswitch} internal
b6561f7d-b281-49dd-84ed-ee5389936d2a up {} {} [] [] [] [] [] [] [] {} 14 0 0 [] 2 [] up [] "e2:d7:21:2b:41:4b" 1500 br-ex 65534 [] {} {} {collisions=0, rx_bytes=90, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=1, tx_bytes=13401, tx_dropped=0, tx_errors=0, tx_packets=360} {driver_name=openvswitch} internal
6bf4501f-bcab-4799-b2c8-c452a8922391 up {} {} [] [] [] [] [] [] full {attached-mac="fa:16:3e:72:2b:ae", iface-id="529e9e77-13eb-4ca0-a56e-718d0cc22e45", iface-status=active} 17 0 0 [] 1 10000000000 up [] "72:ae:32:f9:a9:97" 1500 "tap529e9e77-13" 1 [] {} {} {collisions=0, rx_bytes=468, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=6, tx_bytes=8937, tx_dropped=0, tx_errors=0, tx_packets=207} {driver_name=veth, driver_version="1.0", firmware_version=""} ""
1708f193-1a48-42e6-9b7a-4af5d08a3199 up {} {} [] [] [] [] [] [] full {attached-mac="fa:16:3e:c9:d0:78", iface-id="b228d03b-638b-4d20-bf4a-dc111e35d40a", iface-status=active} 15 0 0 [] 1 10000000000 up [] "9a:8f:ca:65:50:b7" 1500 "tapb228d03b-63" 1 [] {} {} {collisions=0, rx_bytes=2502, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=17, tx_bytes=28358, tx_dropped=0, tx_errors=0, tx_packets=872} {driver_name=veth, driver_version="1.0", firmware_version=""} ""
501f2afb-2f8c-47e8-857b-ad9ca7cd69d9 up {} {} [] [] [] [] [] [] full {attached-mac="fa:16:3e:db:93:c9", iface-id="dfa28ecb-4c60-4525-80a6-7f6dad91f45e", iface-status=active} 16 0 0 [] 1 10000000000 up [] "8e:e3:48:56:24:59" 1500 "tapdfa28ecb-4c" 2 [] {} {} {collisions=0, rx_bytes=25027, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=218, tx_bytes=48149, tx_dropped=0, tx_errors=0, tx_packets=1183} {driver_name=veth, driver_version="1.0", firmware_version=""} ""
Manager table
_uuid connection_mode external_ids inactivity_probe is_connected max_backoff other_config status target
------------------------------------ --------------- ------------ ---------------- ------------ ----------- ------------ --------------------------------------- -----------------------
fd26050c-0da8-45ad-bfed-b2de7ce10cff [] {} [] true [] {} {sec_since_connect="253", state=ACTIVE} "tcp:192.168.56.1:6640"
Mirror table
_uuid external_ids name output_port output_vlan select_all select_dst_port select_src_port select_vlan statistics
----- ------------ ---- ----------- ----------- ---------- --------------- --------------- ----------- ----------
NetFlow table
_uuid active_timeout add_id_to_interface engine_id engine_type external_ids targets
----- -------------- ------------------- --------- ----------- ------------ -------
Open_vSwitch table
_uuid bridges cur_cfg db_version external_ids manager_options next_cfg other_config ovs_version ssl statistics system_type system_version
------------------------------------ ---------------------------------------------------------------------------- ------- ---------- -------------------------------------------------- -------------------------------------- -------- --------------------------- ----------- --- ---------- ----------- --------------
3cc9dac3-9fa6-4c69-acc1-a2d463396fc8 [2b21d7e0-667e-4b41-ab67-2bca9b738b59, 4b1e8490-7d1d-4abe-940c-7e370f3b7a24] 485 "7.3.0" {system-id="61dea4d3-61e0-4336-b460-d9b4e2c2d7b4"} [fd26050c-0da8-45ad-bfed-b2de7ce10cff] 485 {local_ip="192.168.56.101"} "2.0.0" [] {} unknown unknown
Port table
_uuid bond_downdelay bond_fake_iface bond_mode bond_updelay external_ids fake_bridge interfaces lacp mac name other_config qos statistics status tag trunks vlan_mode
------------------------------------ -------------- --------------- --------- ------------ ------------ ----------- -------------------------------------- ---- --- ---------------------- ------------ --- ---------- ------ --- ------ ---------
9fecec8b-7968-4f23-a5bc-207d72d37546 0 false [] 0 {} false [b6561f7d-b281-49dd-84ed-ee5389936d2a] [] [] br-ex {} [] {} {} [] [] []
1d05afc7-fdb8-42cc-a7ea-58492b32b709 0 false [] 0 {} false [06676a49-dab6-4ab0-8e27-20dd98b533a2] [] [] br-int {} [] {} {} [] [] []
40312664-5c52-4d7c-a23b-6b591dc82b9c 0 false [] 0 {} false [6bf4501f-bcab-4799-b2c8-c452a8922391] [] [] "tap529e9e77-13" {} [] {} {} [] [] []
282b85e0-1a44-4439-a197-59f81bf1fcba 0 false [] 0 {} false [1708f193-1a48-42e6-9b7a-4af5d08a3199] [] [] "tapb228d03b-63" {} [] {} {} [] [] []
ac64e2d7-c3a8-4221-9645-d707e3a41096 0 false [] 0 {} false [501f2afb-2f8c-47e8-857b-ad9ca7cd69d9] [] [] "tapdfa28ecb-4c" {} [] {} {} [] [] []
1e66f991-81b8-4555-8a5b-fc314c60f1ab 0 false [] 0 {} false [2becb8d3-2b82-41b8-87cf-cb929637dbb7] [] [] "vxlan-192.168.56.102" {} [] {} {} [] [] []
fd4ff3fa-e911-4f15-a4e4-dc7699ab0884 0 false [] 0 {} false [ac4557fc-a910-4380-9a7e-e78dce2f01bc] [] [] "vxlan-192.168.56.103" {} [] {} {} [] [] []
QoS table
_uuid external_ids other_config queues type
----- ------------ ------------ ------ ----
Queue table
_uuid dscp external_ids other_config
----- ---- ------------ ------------
SSL table
_uuid bootstrap_ca_cert ca_cert certificate external_ids private_key
----- ----------------- ------- ----------- ------------ -----------
sFlow table
_uuid agent external_ids header polling sampling targets
----- ----- ------------ ------ ------- -------- -------
DevStack Compute 1
===================
[fedora@fedora2 devstack]$ sudo ovs-vsctl show
3cc9dac3-9fa6-4c69-acc1-a2d463396fc8
Manager "tcp:192.168.56.1:6640"
is_connected: true
Bridge br-int
Controller "tcp:192.168.56.1:6633"
is_connected: true
fail_mode: secure
Port "tapcc83084e-4d"
Interface "tapcc83084e-4d"
Port "vxlan-192.168.56.103"
Interface "vxlan-192.168.56.103"
type: vxlan
options: {key=flow, local_ip="192.168.56.102", remote_ip="192.168.56.103"}
Port br-int
Interface br-int
type: internal
Port "vxlan-192.168.56.101"
Interface "vxlan-192.168.56.101"
type: vxlan
options: {key=flow, local_ip="192.168.56.102", remote_ip="192.168.56.101"}
ovs_version: "2.0.0"
[fedora@fedora2 devstack]$ sudo ovs-ofctl dump-flows br-int -O OpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=262.587s, table=0, n_packets=185, n_bytes=21726, send_flow_rem tun_id=0x3e9,in_port=1 actions=goto_table:20
cookie=0x0, duration=163.513s, table=0, n_packets=9, n_bytes=1166, send_flow_rem tun_id=0x3e9,in_port=3 actions=goto_table:20
cookie=0x0, duration=163.77s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=2 actions=drop
cookie=0x0, duration=395.952s, table=0, n_packets=88, n_bytes=7940, send_flow_rem dl_type=0x88cc actions=CONTROLLER:56
cookie=0x0, duration=147.009s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=1,in_port=1,dl_dst=00:00:00:00:00:00 actions=output:1
cookie=0x0, duration=163.791s, table=0, n_packets=191, n_bytes=17461, send_flow_rem in_port=2,dl_src=fa:16:3e:f8:ce:5a actions=set_field:0x3e9->tun_id,goto_table:10
cookie=0x0, duration=163.697s, table=10, n_packets=0, n_bytes=0, send_flow_rem priority=8192,tun_id=0x3e9 actions=goto_table:20
cookie=0x0, duration=34.449s, table=10, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:db:5a:17 actions=output:3,goto_table:20
cookie=0x0, duration=262.473s, table=10, n_packets=6, n_bytes=532, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:c9:d0:78 actions=output:1,goto_table:20
cookie=0x0, duration=262.597s, table=10, n_packets=175, n_bytes=15721, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:db:93:c9 actions=output:1,goto_table:20
cookie=0x0, duration=262.577s, table=10, n_packets=10, n_bytes=1208, send_flow_rem priority=16384,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,goto_table:20
cookie=0x0, duration=163.673s, table=20, n_packets=181, n_bytes=16253, send_flow_rem priority=8192,tun_id=0x3e9 actions=drop
cookie=0x0, duration=163.743s, table=20, n_packets=185, n_bytes=21726, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:f8:ce:5a actions=output:2
cookie=0x0, duration=163.722s, table=20, n_packets=19, n_bytes=2374, send_flow_rem priority=16384,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
[fedora@fedora2 devstack]$
[fedora@fedora2 devstack]$
[fedora@fedora2 devstack]$ sudo ovsdb-client dump
Bridge table
_uuid controller datapath_id datapath_type external_ids fail_mode flood_vlans flow_tables ipfix mirrors name netflow other_config ports protocols sflow status stp_enable
------------------------------------ -------------------------------------- ------------------ ------------- ------------------ --------- ----------- ----------- ----- ------- ------ ------- ------------ -------------------------------------------------------------------------------------------------------------------------------------------------------- -------------- ----- ------ ----------
29bb3e53-0bdb-4308-ae33-2c3971f1dfd0 [70706afc-1af1-47a6-867b-9f7b7b3e241e] "0000523ebb290843" "" {bridge-id=br-int} secure [] {} [] [] br-int [] {} [0327eaf7-1d85-44de-af95-431ee93f1bbc, 8d32addd-e538-43e7-a1ca-3e3f0a521ffb, c3582a29-c4d8-473c-9c65-0d8ff28c6b38, fe067f53-07e9-4039-b7dd-8bd4d8b85a44] ["OpenFlow13"] [] {} false
Controller table
_uuid connection_mode controller_burst_limit controller_rate_limit enable_async_messages external_ids inactivity_probe is_connected local_gateway local_ip local_netmask max_backoff other_config role status target
------------------------------------ --------------- ---------------------- --------------------- --------------------- ------------ ---------------- ------------ ------------- -------- ------------- ----------- ------------ ----- --------------------------------------- -----------------------
70706afc-1af1-47a6-867b-9f7b7b3e241e [] [] [] [] {} [] true [] [] [] [] {} other {sec_since_connect="403", state=ACTIVE} "tcp:192.168.56.1:6633"
Flow_Sample_Collector_Set table
_uuid bridge external_ids id ipfix
----- ------ ------------ -- -----
Flow_Table table
_uuid flow_limit groups name overflow_policy
----- ---------- ------ ---- ---------------
IPFIX table
_uuid cache_active_timeout cache_max_flows external_ids obs_domain_id obs_point_id sampling targets
----- -------------------- --------------- ------------ ------------- ------------ -------- -------
Interface table
_uuid admin_state bfd bfd_status cfm_fault cfm_fault_status cfm_health cfm_mpid cfm_remote_mpids cfm_remote_opstate duplex external_ids ifindex ingress_policing_burst ingress_policing_rate lacp_current link_resets link_speed link_state mac mac_in_use mtu name ofport ofport_request options other_config statistics status type
------------------------------------ ----------- --- ---------- --------- ---------------- ---------- -------- ---------------- ------------------ ------ ------------------------------------------------------------------------------------------------------------------------------------------------------ ------- ---------------------- --------------------- ------------ ----------- ---------- ---------- --- ------------------- ---- ---------------------- ------ -------------- ----------------------------------------------------------------- ------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------ --------
74fca8fe-17ea-458d-8569-e61e074c4d44 up {} {} [] [] [] [] [] [] [] {} 0 0 0 [] 0 [] up [] "16:6f:db:27:29:ab" [] "vxlan-192.168.56.103" 3 [] {key=flow, local_ip="192.168.56.102", remote_ip="192.168.56.103"} {} {collisions=0, rx_bytes=564, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=4, tx_bytes=18850, tx_dropped=0, tx_errors=0, tx_packets=647} {tunnel_egress_iface="p7p1", tunnel_egress_iface_carrier=up} vxlan
46dd6b48-b393-463a-ac0c-a249007aa108 up {} {} [] [] [] [] [] [] [] {} 0 0 0 [] 0 [] up [] "ba:37:50:5e:e8:06" [] "vxlan-192.168.56.101" 1 [] {key=flow, local_ip="192.168.56.102", remote_ip="192.168.56.101"} {} {collisions=0, rx_bytes=18325, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=142, tx_bytes=34575, tx_dropped=0, tx_errors=0, tx_packets=702} {tunnel_egress_iface="p7p1", tunnel_egress_iface_carrier=up} vxlan
9864e59d-02dc-428d-98aa-81313b9967d1 up {} {} [] [] [] [] [] [] [] {} 9 0 0 [] 0 [] up [] "52:3e:bb:29:08:43" 1500 br-int 65534 [] {} {} {collisions=0, rx_bytes=468, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=6, tx_bytes=730, tx_dropped=0, tx_errors=0, tx_packets=2} {driver_name=openvswitch} internal
c5cac847-947e-4a3a-a275-2a6744fd63f7 up {} {} [] [] [] [] [] [] full {attached-mac="fa:16:3e:f8:ce:5a", iface-id="cc83084e-4d09-4ffa-9c20-e95fa9288aff", iface-status=active, vm-id="5b3e820c-78d8-448e-9616-d0375fb077b1"} 10 0 0 [] 1 10000000 up [] "fe:16:3e:f8:ce:5a" 1500 "tapcc83084e-4d" 2 [] {} {} {collisions=0, rx_bytes=17461, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=191, tx_bytes=47889, tx_dropped=0, tx_errors=0, tx_packets=1109} {driver_name=tun, driver_version="1.6", firmware_version=""} ""
Manager table
_uuid connection_mode external_ids inactivity_probe is_connected max_backoff other_config status target
------------------------------------ --------------- ------------ ---------------- ------------ ----------- ------------ --------------------------------------- -----------------------
7e6172eb-c557-48c1-aff3-27d045ae79de [] {} [] true [] {} {sec_since_connect="400", state=ACTIVE} "tcp:192.168.56.1:6640"
Mirror table
_uuid external_ids name output_port output_vlan select_all select_dst_port select_src_port select_vlan statistics
----- ------------ ---- ----------- ----------- ---------- --------------- --------------- ----------- ----------
NetFlow table
_uuid active_timeout add_id_to_interface engine_id engine_type external_ids targets
----- -------------- ------------------- --------- ----------- ------------ -------
Open_vSwitch table
_uuid bridges cur_cfg db_version external_ids manager_options next_cfg other_config ovs_version ssl statistics system_type system_version
------------------------------------ -------------------------------------- ------- ---------- -------------------------------------------------- -------------------------------------- -------- --------------------------- ----------- --- ---------- ----------- --------------
3cc9dac3-9fa6-4c69-acc1-a2d463396fc8 [29bb3e53-0bdb-4308-ae33-2c3971f1dfd0] 254 "7.3.0" {system-id="61dea4d3-61e0-4336-b460-d9b4e2c2d7b4"} [7e6172eb-c557-48c1-aff3-27d045ae79de] 254 {local_ip="192.168.56.102"} "2.0.0" [] {} unknown unknown
Port table
_uuid bond_downdelay bond_fake_iface bond_mode bond_updelay external_ids fake_bridge interfaces lacp mac name other_config qos statistics status tag trunks vlan_mode
------------------------------------ -------------- --------------- --------- ------------ ------------ ----------- -------------------------------------- ---- --- ---------------------- ------------ --- ---------- ------ --- ------ ---------
c3582a29-c4d8-473c-9c65-0d8ff28c6b38 0 false [] 0 {} false [9864e59d-02dc-428d-98aa-81313b9967d1] [] [] br-int {} [] {} {} [] [] []
0327eaf7-1d85-44de-af95-431ee93f1bbc 0 false [] 0 {} false [c5cac847-947e-4a3a-a275-2a6744fd63f7] [] [] "tapcc83084e-4d" {} [] {} {} [] [] []
fe067f53-07e9-4039-b7dd-8bd4d8b85a44 0 false [] 0 {} false [46dd6b48-b393-463a-ac0c-a249007aa108] [] [] "vxlan-192.168.56.101" {} [] {} {} [] [] []
8d32addd-e538-43e7-a1ca-3e3f0a521ffb 0 false [] 0 {} false [74fca8fe-17ea-458d-8569-e61e074c4d44] [] [] "vxlan-192.168.56.103" {} [] {} {} [] [] []
QoS table
_uuid external_ids other_config queues type
----- ------------ ------------ ------ ----
Queue table
_uuid dscp external_ids other_config
----- ---- ------------ ------------
SSL table
_uuid bootstrap_ca_cert ca_cert certificate external_ids private_key
----- ----------------- ------- ----------- ------------ -----------
sFlow table
_uuid agent external_ids header polling sampling targets
----- ----- ------------ ------ ------- -------- -------
[fedora@fedora2 devstack]$
DevStack Compute 2
===================
[fedora@fedora4 devstack]$ sudo ovs-vsctl show
3cc9dac3-9fa6-4c69-acc1-a2d463396fc8
Manager "tcp:192.168.56.1:6640"
is_connected: true
Bridge br-int
Controller "tcp:192.168.56.1:6633"
is_connected: true
fail_mode: secure
Port "vxlan-192.168.56.102"
Interface "vxlan-192.168.56.102"
type: vxlan
options: {key=flow, local_ip="192.168.56.103", remote_ip="192.168.56.102"}
Port "tapf6bedf13-a9"
Interface "tapf6bedf13-a9"
Port br-int
Interface br-int
type: internal
Port "vxlan-192.168.56.101"
Interface "vxlan-192.168.56.101"
type: vxlan
options: {key=flow, local_ip="192.168.56.103", remote_ip="192.168.56.101"}
ovs_version: "2.0.0"
[fedora@fedora4 devstack]$
[fedora@fedora4 devstack]$
[fedora@fedora4 devstack]$
[fedora@fedora4 devstack]$ sudo ovs-ofctl dump-flows br-int -O OpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=295.802s, table=0, n_packets=140, n_bytes=16707, send_flow_rem tun_id=0x3e9,in_port=1 actions=goto_table:20
cookie=0x0, duration=196.716s, table=0, n_packets=10, n_bytes=1208, send_flow_rem tun_id=0x3e9,in_port=2 actions=goto_table:20
cookie=0x0, duration=67.974s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=3 actions=drop
cookie=0x0, duration=415.959s, table=0, n_packets=101, n_bytes=9111, send_flow_rem dl_type=0x88cc actions=CONTROLLER:56
cookie=0x0, duration=1.231s, table=0, n_packets=3, n_bytes=66, send_flow_rem priority=1,in_port=1,dl_dst=70:65:6e:66:6c:6f actions=output:1
cookie=0x0, duration=189.929s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=1,in_port=2,dl_dst=00:00:00:00:00:00 actions=output:2
cookie=0x0, duration=1.303s, table=0, n_packets=1, n_bytes=22, send_flow_rem priority=1,in_port=2,dl_dst=70:65:6e:66:6c:6f actions=output:1
cookie=0x0, duration=189.891s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=1,in_port=1,dl_dst=00:00:00:00:00:00 actions=output:2
cookie=0x0, duration=68.005s, table=0, n_packets=147, n_bytes=13578, send_flow_rem in_port=3,dl_src=fa:16:3e:db:5a:17 actions=set_field:0x3e9->tun_id,goto_table:10
cookie=0x0, duration=67.853s, table=10, n_packets=0, n_bytes=0, send_flow_rem priority=8192,tun_id=0x3e9 actions=goto_table:20
cookie=0x0, duration=295.697s, table=10, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:c9:d0:78 actions=output:1,goto_table:20
cookie=0x0, duration=196.734s, table=10, n_packets=0, n_bytes=0, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:f8:ce:5a actions=output:2,goto_table:20
cookie=0x0, duration=295.813s, table=10, n_packets=138, n_bytes=12412, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:db:93:c9 actions=output:1,goto_table:20
cookie=0x0, duration=295.793s, table=10, n_packets=9, n_bytes=1166, send_flow_rem priority=16384,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:2,goto_table:20
cookie=0x0, duration=67.813s, table=20, n_packets=138, n_bytes=12412, send_flow_rem priority=8192,tun_id=0x3e9 actions=drop
cookie=0x0, duration=67.934s, table=20, n_packets=140, n_bytes=16707, send_flow_rem tun_id=0x3e9,dl_dst=fa:16:3e:db:5a:17 actions=output:3
cookie=0x0, duration=67.888s, table=20, n_packets=9, n_bytes=1166, send_flow_rem priority=16384,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3
[fedora@fedora4 devstack]$
[fedora@fedora4 devstack]$ sudo ovsdb-client dump
Bridge table
_uuid controller datapath_id datapath_type external_ids fail_mode flood_vlans flow_tables ipfix mirrors name netflow other_config ports protocols sflow status stp_enable
------------------------------------ -------------------------------------- ------------------ ------------- ------------------ --------- ----------- ----------- ----- ------- ------ ------- ------------ -------------------------------------------------------------------------------------------------------------------------------------------------------- -------------- ----- ------ ----------
a7bb114f-f790-40af-8d47-19c4019771c9 [020914c3-0674-458f-ae6a-39ed086e6713] "00004e11bba7af40" "" {bridge-id=br-int} secure [] {} [] [] br-int [] {} [271e12e9-a298-4e8e-a62d-719693653450, 281866e4-9d6c-4420-b907-de898123d5f6, a2c825d5-020d-4136-999b-50b7d4bb7732, c1c85d1e-d8c9-4aaf-80fc-253ecbaa0f47] ["OpenFlow13"] [] {} false
Controller table
_uuid connection_mode controller_burst_limit controller_rate_limit enable_async_messages external_ids inactivity_probe is_connected local_gateway local_ip local_netmask max_backoff other_config role status target
------------------------------------ --------------- ---------------------- --------------------- --------------------- ------------ ---------------- ------------ ------------- -------- ------------- ----------- ------------ ----- --------------------------------------- -----------------------
020914c3-0674-458f-ae6a-39ed086e6713 [] [] [] [] {} [] true [] [] [] [] {} other {sec_since_connect="424", state=ACTIVE} "tcp:192.168.56.1:6633"
Flow_Sample_Collector_Set table
_uuid bridge external_ids id ipfix
----- ------ ------------ -- -----
Flow_Table table
_uuid flow_limit groups name overflow_policy
----- ---------- ------ ---- ---------------
IPFIX table
_uuid cache_active_timeout cache_max_flows external_ids obs_domain_id obs_point_id sampling targets
----- -------------------- --------------- ------------ ------------- ------------ -------- -------
Interface table
_uuid admin_state bfd bfd_status cfm_fault cfm_fault_status cfm_health cfm_mpid cfm_remote_mpids cfm_remote_opstate duplex external_ids ifindex ingress_policing_burst ingress_policing_rate lacp_current link_resets link_speed link_state mac mac_in_use mtu name ofport ofport_request options other_config statistics status type
------------------------------------ ----------- --- ---------- --------- ---------------- ---------- -------- ---------------- ------------------ ------ ------------------------------------------------------------------------------------------------------------------------------------------------------ ------- ---------------------- --------------------- ------------ ----------- ---------- ---------- --- ------------------- ---- ---------------------- ------ -------------- ----------------------------------------------------------------- ------------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------ --------
aae9987e-2a94-4d8a-9202-bee1ef9ab6e0 up {} {} [] [] [] [] [] [] [] {} 0 0 0 [] 0 [] up [] "16:dc:3b:be:8a:a7" [] "vxlan-192.168.56.101" 1 [] {key=flow, local_ip="192.168.56.103", remote_ip="192.168.56.101"} {} {collisions=0, rx_bytes=18313, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=240, tx_bytes=35946, tx_dropped=0, tx_errors=0, tx_packets=807} {tunnel_egress_iface="p7p1", tunnel_egress_iface_carrier=up} vxlan
f0ab678d-0504-40e3-b81d-1694e12f9086 up {} {} [] [] [] [] [] [] [] {} 0 0 0 [] 0 [] up [] "82:e6:58:b2:44:89" [] "vxlan-192.168.56.102" 2 [] {key=flow, local_ip="192.168.56.103", remote_ip="192.168.56.102"} {} {collisions=0, rx_bytes=858, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=39, tx_bytes=18450, tx_dropped=0, tx_errors=0, tx_packets=590} {tunnel_egress_iface="p7p1", tunnel_egress_iface_carrier=up} vxlan
98c59f91-9d15-457e-8da6-6c242850eb31 up {} {} [] [] [] [] [] [] [] {} 9 0 0 [] 0 [] up [] "4e:11:bb:a7:af:40" 1500 br-int 65534 [] {} {} {collisions=0, rx_bytes=468, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=6, tx_bytes=730, tx_dropped=0, tx_errors=0, tx_packets=2} {driver_name=openvswitch} internal
7368d88c-158c-45ca-bfae-5d2ad8c8f873 up {} {} [] [] [] [] [] [] full {attached-mac="fa:16:3e:db:5a:17", iface-id="f6bedf13-a965-4348-84f9-28eceb15d0c2", iface-status=active, vm-id="76dcc8aa-3204-479b-ab7f-f8fa9724e339"} 10 0 0 [] 1 10000000 up [] "fe:16:3e:db:5a:17" 1500 "tapf6bedf13-a9" 3 [] {} {} {collisions=0, rx_bytes=14900, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=162, tx_bytes=27245, tx_dropped=0, tx_errors=0, tx_packets=451} {driver_name=tun, driver_version="1.6", firmware_version=""} ""
Manager table
_uuid connection_mode external_ids inactivity_probe is_connected max_backoff other_config status target
------------------------------------ --------------- ------------ ---------------- ------------ ----------- ------------ --------------------------------------- -----------------------
b8beb25b-7b51-4ea1-809d-d4f01aec0b85 [] {} [] true [] {} {sec_since_connect="424", state=ACTIVE} "tcp:192.168.56.1:6640"
Mirror table
_uuid external_ids name output_port output_vlan select_all select_dst_port select_src_port select_vlan statistics
----- ------------ ---- ----------- ----------- ---------- --------------- --------------- ----------- ----------
NetFlow table
_uuid active_timeout add_id_to_interface engine_id engine_type external_ids targets
----- -------------- ------------------- --------- ----------- ------------ -------
Open_vSwitch table
_uuid bridges cur_cfg db_version external_ids manager_options next_cfg other_config ovs_version ssl statistics system_type system_version
------------------------------------ -------------------------------------- ------- ---------- -------------------------------------------------- -------------------------------------- -------- --------------------------- ----------- --- ---------- ----------- --------------
3cc9dac3-9fa6-4c69-acc1-a2d463396fc8 [a7bb114f-f790-40af-8d47-19c4019771c9] 193 "7.3.0" {system-id="61dea4d3-61e0-4336-b460-d9b4e2c2d7b4"} [b8beb25b-7b51-4ea1-809d-d4f01aec0b85] 193 {local_ip="192.168.56.103"} "2.0.0" [] {} unknown unknown
Port table
_uuid bond_downdelay bond_fake_iface bond_mode bond_updelay external_ids fake_bridge interfaces lacp mac name other_config qos statistics status tag trunks vlan_mode
------------------------------------ -------------- --------------- --------- ------------ ------------ ----------- -------------------------------------- ---- --- ---------------------- ------------ --- ---------- ------ --- ------ ---------
a2c825d5-020d-4136-999b-50b7d4bb7732 0 false [] 0 {} false [98c59f91-9d15-457e-8da6-6c242850eb31] [] [] br-int {} [] {} {} [] [] []
281866e4-9d6c-4420-b907-de898123d5f6 0 false [] 0 {} false [7368d88c-158c-45ca-bfae-5d2ad8c8f873] [] [] "tapf6bedf13-a9" {} [] {} {} [] [] []
c1c85d1e-d8c9-4aaf-80fc-253ecbaa0f47 0 false [] 0 {} false [aae9987e-2a94-4d8a-9202-bee1ef9ab6e0] [] [] "vxlan-192.168.56.101" {} [] {} {} [] [] []
271e12e9-a298-4e8e-a62d-719693653450 0 false [] 0 {} false [f0ab678d-0504-40e3-b81d-1694e12f9086] [] [] "vxlan-192.168.56.102" {} [] {} {} [] [] []
QoS table
_uuid external_ids other_config queues type
----- ------------ ------------ ------ ----
Queue table
_uuid dscp external_ids other_config
----- ---- ------------ ------------
SSL table
_uuid bootstrap_ca_cert ca_cert certificate external_ids private_key
----- ----------------- ------- ----------- ------------ -----------
sFlow table
_uuid agent external_ids header polling sampling targets
----- ----- ------------ ------ ------- -------- -------
[fedora@fedora4 devstack]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment