BGP as a Service

BGP Service Create

efa tenant service bgp create --name <service-name> --tenant <tenant-name>
--ipv4-unicast-neighbor <device-ip,vrf-name:ipv4-neighbor,remote-as,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult>
--ipv6-unicast-neighbor <device-ip,vrf-name:ipv4-neighbor,remote-as,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult>
Example:
efa tenant service bgp create --name bgpservice1 --tenant tenant1 --ipv4-unicast-neighbor 10.24.80.150,red:10.20.30.40,5000

BGP Service Show

Example:
efa tenant service bgp show

Name: bgpservice1 Tenant: tenant1 State: bs-state-created

Device IP VRF AFI SAFI REMOTE IP REMOTE ASN BFD Enabled BFD Interval BFD Rx BFD Multiplier Dev-state App-state
10.24.80.150 red ipv4 unicast 10.20.30.40 5000 false 0 0 0 provisioned cfg-in-sync

BGP Service Update: peer-add

efa tenant service bgp update --name <service-name> --tenant <tenant-name>
--operation peer-add --ipv4-unicast-neighbor <nhbr-info> --ipv6-unicast-neighbor <nhbr-info>
Example:
efa tenant service bgp update --name bgpservice1 --tenant tenant1 --operation peer-add --ipv6-unicast-neighbor 10.24.80.150,red:10::40,5000

Name: bgpservice1 Tenant: tenant1 State: bs-state-created

Device IP VRF AFI SAFI REMOTE IP REMOTE ASN BFD Enabled BFD Interval BFD Rx BFD Multiplier Dev-state App-state
10.24.80.150 red ipv6 unicast 10::40 5000 false 0 0 0 provisioned cfg-in-sync
10.24.80.150 red ipv4 unicast 10.20.30.40 5000 false 0 0 0 provisioned cfg-in-sync

BGP Service Update : peer-delete

efa tenant service bgp update --name <service-name> --tenant <tenant-name> 
--operation peer-delete –-ipv4-unicast-neighbor <nhbr-info> --ipv6-unicast-neighbor <nhbr-info>
Example:
efa tenant service bgp update --name bgpservice1 --tenant tenant1 --operation peer-delete --ipv4-unicast-neighbor 10.24.80.150,red:10.20.30.40

BGP Service Delete

efa tenant service bgp delete --name <service-name> --tenant <tenant-name>
Example:
efa tenant service bgp delete --name bgpservice1 --tenant tenant1