[ovs-discuss] Port_Group Address_Set not created as described in ovn-nb.5

Lucas Alvares Gomes lucasagomes at gmail.com
Fri Sep 4 18:42:54 UTC 2020


Hi,

On Fri, Sep 4, 2020 at 6:09 PM Brendan Doyle <brendan.doyle at oracle.com> wrote:
>
> Hi Folks,
>
> From ovn-nb.5.....
>
> "
>
>     For  each  port  group, there are two address sets generated to the Ad‐
>     dress_Set table of the OVN_Southbound database, containing the  IP  ad‐
>     dresses  of  the  group of ports, one for IPv4, and the other for IPv6,
>     with name being the name of the Port_Group followed by  a  suffix  _ip4
>     for  IPv4  and _ip6 for IPv6
>
> "
>
> But
>
> #ovn-nbctl create Port_Group name=pg1 ports="269089c4-9464-41ec-9f63-6b3804b34b07"
> #ovn-nbctl list Port_Group pg1
> _uuid               : 9179730b-efa0-459b-b54d-fa7328bf4886
> acls                : []
> external_ids        : {}
> name                : pg1
> ports               : []
>
> #ovn-nbctl list Address_set pg1_ip4
> ovn-nbctl: no row "pg1_ip4" in table Address_Set
>

The address sets are created in the Southbound database, you are
listing the Address_Set table in the Northbound database. Just change
the command above to ovn-sbctl and you will see the entries.

$ ovn-sbctl list Address_Set

"For each port group, there are two address sets generated to the
Address_Set table of the OVN_Southbound database..."

Hope that helps,
Lucas


>
> Is this a bug in the docs or code?
>
>
> Brendan
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list