OK thanks for clarifying.
On 17/04/2020 16:36, Numan Siddique wrote:
On Fri, Apr 17, 2020 at 8:57 PM Brendan Doyle <brendan.do...@oracle.com> wrote:
Thanks, maybe I misinterpreted the ovs-vsctl(8) man page then:
"
br-get-external-id bridge [key]
This command displays the external_ids column of the bridge row.
ovs-vsctl set open ... commands sets to the open_vswitch table's
external_ids column.
Please see the ovs schema here for more details [1]
[1] -
https://github.com/openvswitch/ovs/blob/master/vswitchd/vswitch.ovsschema#L27
Thanks
Numan
Queries the external IDs on bridge. If key is specified, the
output is the value for that key or the empty string if key is
unset. If key is omitted, the output is key=value, one per
line, for each key-value pair.
For real bridges, the effect of this command is similar to that
of a get command in the external-ids column of the Bridge table.
For fake bridges, it queries keys with names prefixed by
fake-bridge- in the Port table.
"
Just wondering what this cmd actually is for then.
On 17/04/2020 16:10, Numan Siddique wrote:
On Fri, Apr 17, 2020 at 8:10 PM Brendan Doyle <brendan.do...@oracle.com> wrote:
Hi,
Am I missing something here, after setting bridge mappings for
external-ids, I would have thought
that 'ovs-vsctl br-get-external-id' would show them?
#ovs-vsctl set Open_vSwitch . external-ids:ovn-bridge-mappings=physnet:br-ex
#ovs-vsctl br-get-external-id br-ext
Nothing??
You need to run - "ovs-vsctl list open_vswitch"
or
ovs-vsctl get open_vswitch . external_ids
Thanks
Numan
#ovs-vsctl --columns=name,external-ids list Interface
name : ovn-ca-rai-0
external_ids : {}
name : patch-br-int-to-ln-ls_external_vcn2
external_ids : {}
name : patch-ln-ls_external_vcn2-to-br-int
external_ids : {}
name : br-int
external_ids : {}
name : br-ext
external_ids : {}
name : ovn-ca-rai-1
external_ids : {}
name : bond0
external_ids : {}
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss