[ovs-dev] OVN: VTEP emulator with OVN
Sid Khot
opensourcesidk at gmail.com
Thu Feb 18 01:18:20 UTC 2016
Hi,
I brought up a VTEP emulator and connected it to OVN controller. I can see
the VTEP chassis being created in the OVN southbound. I then created a
neutron logical vtep port. I don't see any chassis/mac entry for this in
OVN southbound port-binding database. I also see the status of this port as
down. Whats the expected behavior?
ovn at ovn-openstack-controller:~/devstack$ sudo ovn-sbctl list chassis
_uuid : 5d1895b8-0617-49d0-beb0-738045a812f8
encaps : [1e2a01d6-476b-489a-876a-8b03d4d79aba]
name : "38523c94-c1c0-4b37-a54a-27e0050e8f22"
vtep_logical_switches: []
_uuid : 57aa917f-9414-4e0b-af93-1fe5c34a8951
encaps : [4c644575-d2cc-4d2b-9670-911ed1793ea9]
name : "252e70a2-1deb-450f-8cc0-0e88d30a7ecc"
vtep_logical_switches: []
*_uuid : f724d90f-07b3-4320-93e7-702d2ea40b5a*
*encaps : [5c77013f-a9f1-4f9b-a2ca-3434ba6d23ce]*
*name : "br0"*
*vtep_logical_switches: ["ls0"]*
ovn at ovn-openstack-controller:~/devstack$
ovn at ovn-openstack-controller:~/devstack$ neutron port-create
--binding-profile
'{"vtep_physical_switch":"br0","vtep_logical_switch":"ls0"}' net1
Created a new port:
+---------------------+---------------------------------------------------------------+
| Field | Value
|
+---------------------+---------------------------------------------------------------+
| admin_state_up | True
|
| binding:host_id |
|
| binding:profile | {"vtep_logical_switch": "ls0",
"vtep_physical_switch": "br0"} |
| binding:vif_details | {"port_filter": true}
|
| binding:vif_type | ovs
|
| binding:vnic_type | normal
|
| device_id |
|
| device_owner |
|
| fixed_ips |
|
| id | fb9c68ed-aad7-432f-bb6b-4fa0394cf005
|
| *mac_address | fa:16:3e:e3:3d:99 *
|
| name |
|
| network_id | 1c356d5c-3ece-4eba-9341-799bdc370b0a
|
| security_groups |
|
| *status | DOWN *
|
| tenant_id | 757cae8ee0ca448d855a42fd167405fa
|
+---------------------+---------------------------------------------------------------+
ovn at ovn-openstack-controller:~/devstack$ sudo ovn-nbctl list logical-port
_uuid : 9700ed50-8ca1-426a-a3fe-5a1b91535b76
addresses : ["fa:16:3e:44:2a:6b 10.0.0.2"]
enabled : true
external_ids : {"neutron:port_name"=""}
name : "ede2e68e-d22e-4555-956a-b03c153e1539"
options : {}
parent_name : []
port_security : ["fa:16:3e:44:2a:6b"]
tag : []
type : ""
up : true
* _uuid : 7130ea04-2b72-4390-af3a-b8112ef9d75a addresses
: [unknown] enabled : true external_ids :
{"neutron:port_name"=""} name :
"fb9c68ed-aad7-432f-bb6b-4fa0394cf005" options :
{vtep_logical_switch="ls0", vtep_physical_switch="br0"} parent_name
: [] port_security : [] tag : [] type
: vtep up : false*
ovn at ovn-openstack-controller:~/devstack$
More information about the dev
mailing list