You can add or delete anycast-ipv4 and anycast-ipv6 to or from an existing L3 EPG tenant network.
Typical usage of the API from Openstack Integration is as follows:
efa tenant epg update --name <epg-name> --tenant <tenant-name> --operation <anycast-ip-add | anycast-ip-delete> --anycast-ip <ctag:anycast-ipv4> --anycast-ipv6 <ctag:anycast-ipv6>
Example
efa tenant epg show --detail =============================================================================================================================================================== Name : ten1epg1 Tenant : vlanTen1 Description : Type : extension Ports : 10.20.246.15[0/1] : 10.20.246.16[0/1] POs : Port Property : switchport mode : trunk : native-vlan-tagging : false NW Policy : ctag-range : 11 : vrf : ten1vrf1 : l3-vni : 8188 Network Property [Flags : * - Native Vlan] +------+--------+--------------+--------------+---------+--------------------------------+-------------------------+-------------+-----------------------+---------------------+-------------+-------------+ | Ctag | L2-Vni | Anycast-IPv4 | Anycast-IPv6 | BD-name | Local IP (Device-IP->Local-IP) | Ctag-Description | Mtu-IPv6-ND | ManagedConfig-IPv6-ND | OtherConfig-IPv6-ND | Dev-state | App-state | +------+--------+--------------+--------------+---------+--------------------------------+-------------------------+-------------+-----------------------+---------------------+-------------+-------------+ | 11 | 11 | 10.0.11.1/24 | | | | Tenant L3 Extended VLAN | | False | False | provisioned | cfg-in-sync | +------+--------+--------------+--------------+---------+--------------------------------+-------------------------+-------------+-----------------------+---------------------+-------------+-------------+ =============================================================================================================================================================== efa tenant epg update --name ten1epg1 --tenant vlanTen1 --operation anycast-ip-add --anycast-ipv6 11:10::1/123 efa tenant epg show --detail =============================================================================================================================================================== Name : ten1epg1 Tenant : vlanTen1 Description : Type : extension Ports : 10.20.246.15[0/1] : 10.20.246.16[0/1] POs : Port Property : switchport mode : trunk : native-vlan-tagging : false NW Policy : ctag-range : 11 : vrf : ten1vrf1 : l3-vni : 8188 Network Property [Flags : * - Native Vlan] +------+--------+--------------+--------------+---------+--------------------------------+-------------------------+-------------+-----------------------+---------------------+-------------+-------------+ | Ctag | L2-Vni | Anycast-IPv4 | Anycast-IPv6 | BD-name | Local IP (Device-IP->Local-IP) | Ctag-Description | Mtu-IPv6-ND | ManagedConfig-IPv6-ND | OtherConfig-IPv6-ND | Dev-state | App-state | +------+--------+--------------+--------------+---------+--------------------------------+-------------------------+-------------+-----------------------+---------------------+-------------+-------------+ | 11 | 11 | 10.0.11.1/24 | 10::1/123 | | | Tenant L3 Extended VLAN | | False | False | provisioned | cfg-in-sync | +------+--------+--------------+------+---------+--------------------------------+-------------------------+-------------+-----------------------+---------------------+-------------+-------------+ ===============================================================================================================================================================
efa tenant epg update --name ten1epg1 --tenant vlanTen1 --operation anycast-ip-delete --anycast-ipv6 11:10::1/123 efa tenant epg show =============================================================================================================================================================== Name : ten1epg1 Tenant : vlanTen1 Description : Type : extension Ports : 10.20.246.15[0/1] : 10.20.246.16[0/1] POs : Port Property : switchport mode : trunk : native-vlan-tagging : false NW Policy : ctag-range : 11 : vrf : ten1vrf1 : l3-vni : 8188 Network Property [Flags : * - Native Vlan] +------+--------+--------------+--------------+---------+--------------------------------+-------------+-----------------------+---------------------+-------------+-------------+ | Ctag | L2-Vni | Anycast-IPv4 | Anycast-IPv6 | BD-name | Local IP (Device-IP->Local-IP) | Mtu-IPv6-ND | ManagedConfig-IPv6-ND | OtherConfig-IPv6-ND | Dev-state | App-state | +------+--------+--------------+--------------+---------+--------------------------------+-------------+-----------------------+---------------------+-------------+-------------+ | 11 | 11 | 10.0.11.1/24 | | | | | False | False | provisioned | cfg-in-sync | +------+--------+--------------+--------------+---------+--------------------------------+-------------+-----------------------+---------------------+-------------+-------------+ For 'unstable' entities, run 'efa tenant po/vrf show' for details ===============================================================================================================================================================