Syncs EFA with Neutron. Displays summary or detailed information about entities that are out of sync between Neutron and EFA configurations.
The command also logs console output into efa-sync-console.log.
Note
project_domain_name = default user_domain_name = default
This example syncs EFA with Neutron.
$ 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
This example displays summary information about entities that are out of sync between Neutron and EFA configurations.
$ 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
This example displays detailed information about entities that are out of sync between Neutron and EFA configurations.
$ 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