efa-sync execute
Syncs EFA with Neutron. Displays summary or detailed information about entities that are out of sync between Neutron and EFA configurations.
Syntax
Usage Guidelines
The command also logs console output into efa-sync-console.log.
The efa-sync tool uses Neutron APIs and keystone authentication. The authentication
parameters are selected from the neutron.conf file. Before running efa-sync, make sure
that all the parameters under the [keystone-authtoken] section are set to the correct
values.

Note
In case of default OpenStack settings in neutron.conf, the following parameters
need to be edited to 'default' -- lowercase 'd' under
[keystone_authtoken]:
project_domain_name = default user_domain_name = default
Journal entries that are completed or failed are cleared from the journal list if the
execution of efa-sync
is successful. In case of failure, the journal
entries are not cleared.
Examples
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