You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MACsec Manager for MACsec feature.
MACsecMgr is a daemon in MACsec container, that receives the message from CONFIG DB and uses wpa_cli instructions to manage the functionality of MACsec in the specified port. The below figure is the flow chart of MACsecMgr which shows the MACsec profile management according to MACsec Profile Table and the functionality of MACsec in the specified port according to PortTable.
The main functions are defined in class MACsecMgr as follow
```
task_process_status removeProfile(const std::string & profile_name, const TaskArgs & profile_attr);
task_process_status loadProfile(const std::string & profile_name, const TaskArgs & profile_attr);
task_process_status enableMACsec(const std::string & port_name, const TaskArgs & port_attr);
task_process_status disableMACsec(const std::string & port_name, const TaskArgs & port_attr);
```
The HLD of MACsec Manager is at [MACsec HLD](https://github.com/Azure/SONiC/blob/master/doc/macsec/MACsec_hld.md#341-macsec-mgr)
Signed-off-by: Ze Gan <[email protected]>
0 commit comments