This group is locked. No changes can be made to the group while it is locked.
Re: [OVSDB MDSAL] Creating VXLAN tunnel
Sam Hague
Andrej,
toggle quoted message
Show quoted text
are you asking for how to find the vtep ip addresses so you can set the local_ip and remote_ip addresses? If so then we get that from using the other_config:local_ip value in the Open_vSwitch table. This commit brought the other_config support into ovsdb: [1]. The value is set manually on the ovsdb node with the following: ipaddr=<ipaddr of vtep> read ovstbl <<< $(ovs-vsctl get Open_vSwitch . _uuid) ovs-vsctl set Open_vSwitch $ovstbl other_config={"local_ip"="$ipaddr"} Then you read that value from the operational and use it in your add-port. local_ip is read from the local and remote ovsdb nodes and supplied to the add-port command. Marcus is working on a tunnel overlay yang model that might do some of this work. It isn't ready yet so doing the above should work until then. Marcus is cc'ed on the email to add info on the overlay model. Thanks, Sam [1] https://git.opendaylight.org/gerrit/#/c/17968/ ----- Original Message -----
From: "Andrej Kincel -X (akincel - Pantheon Technologies SRO at Cisco)" <akincel@...> |