Definition at line 10 of file PortGroupManager.idl.
◆ createPortGroup()
Create a new port group.
- Parameters
-
| settings | Settings to create the new port group with |
| group | Output value: newly created port group |
- Returns
- 0 on success
-
1 if any of the given settings is invalid
-
3 if the maximum number of port groups is reached already
◆ deletePortGroup()
| int radm::PortGroupManager::deletePortGroup |
( |
in string | groupId | ) |
|
Delete an existing port group.
- Parameters
-
- Returns
- 0 on success
-
2 if the group ID is unknown
◆ getAllPortGroups()
| map< string, PortGroup > radm::PortGroupManager::getAllPortGroups |
( |
| ) |
|
Get all existing port groups.
- Returns
- Map of port groups, keyed by group ID
◆ getPortGroup()
| int radm::PortGroupManager::getPortGroup |
( |
in string | groupId, |
|
|
out PortGroup | group ) |
Get a specific port group.
- Parameters
-
| groupId | ID of the group (as per its PortGroup::Metadata) |
| group | Output value: requested port group |
- Returns
- 0 on success
-
2 if the group ID is unknown
◆ ERR_INVALID_ARGUMENT
| constant int radm::PortGroupManager::ERR_INVALID_ARGUMENT = 1 |
◆ ERR_MAX_GROUP_COUNT_REACHED
| constant int radm::PortGroupManager::ERR_MAX_GROUP_COUNT_REACHED = 3 |
◆ ERR_NO_SUCH_ID
| constant int radm::PortGroupManager::ERR_NO_SUCH_ID = 2 |
The documentation for this interface was generated from the following file: