The OpenStack integration enables you to sync all entries from Neutron to EFA.
When EFA goes out of sync with Neutron configuration, execute efa-sync to sync all entries from Neutron to EFA. For example, if there is a network and associated ports that are present on Neutron but are not present on EFA, running efa-sync creates the entities on EFA. Similarly, if there are stale entries on EFA, they are cleaned up.
You can display summary or detailed information about entities that are out of sync between Neutron and EFA configurations.$ efa-sync execute Starting Sync Syncing Networks.. Add Network to EFA Id: 9e63bc57-568f-488e-9214-21db3fd3cd12 (Succeeded) Syncing Ports.. Add Port to EFA Id: 9e63bc57-568f-488e-9214-21db3fd3cd12-10.25.225.11-port-channel-lag_1 (Succeeded) Add Port to EFA Id: 9e63bc57-568f-488e-9214-21db3fd3cd12-10.25.225.46-port-channel-lag_1 (Succeeded) Completed Sync
$ efa-sync check-summary 05-November-2020 11:04:15 : Starting Check Summary: Neutron Networks to be added to EFA : 1 Neutron Networks to be deleted from EFA : 0 Neutron Ports to be added to EFA : 2 Neutron Ports to be deleted from EFA : 0 Total # of resources to be resynced : 3 05-November-2020 11:04:16 : Completed Check
$ efa-sync check-detail 05-November-2020 11:04:22 : Starting Check Neutron Networks to be added to EFA : Id: 9e63bc57-568f-488e-9214-21db3fd3cd12 Neutron Ports to be added from EFA : Id: 9e63bc57-568f-488e-9214-21db3fd3cd12-10.25.225.11-port-channel-lag_1 Id: 9e63bc57-568f-488e-9214-21db3fd3cd12-10.25.225.46-port-channel-lag_1 05-November-2020 11:04:22 : Completed Check