portchannels
AsterNOS Model for port-channel groups
module: asternos-portchannels +--rw portchannels +--rw portchannel* [name] +--rw name string +--rw mac-address-learning? boolean +--rw mode? enumeration +--rw commit? boolean +--rw lacp | +--rw system-priority? uint16 | +--rw fallback? boolean | +--rw fast-rate? boolean | +--rw system-id? ietf-yang-types:mac-address +--rw members +--rw member* [port] +--rw port cmn:ethernet-port-name +--rw lacp-port-priority? uint16
rpcs: +---x show-link-aggregation-summary +--ro output +--ro data? <anydata>Resources
Section titled “Resources”Resource List
Section titled “Resource List”| Path | Access |
|---|---|
| /portchannels | Read-Write |
| /portchannels/portchannel | Read-Write |
| /portchannels/portchannel/name | Read-Write |
| /portchannels/portchannel/mac-address-learning | Read-Write |
| /portchannels/portchannel/mode | Read-Write |
| /portchannels/portchannel/commit | Read-Write |
| /portchannels/portchannel/lacp | Read-Write |
| /portchannels/portchannel/lacp/system-priority | Read-Write |
| /portchannels/portchannel/lacp/fallback | Read-Write |
| /portchannels/portchannel/lacp/fast-rate | Read-Write |
| /portchannels/portchannel/lacp/system-id | Read-Write |
| /portchannels/portchannel/members | Read-Write |
| /portchannels/portchannel/members/member | Read-Write |
| /portchannels/portchannel/members/member/port | Read-Write |
| /portchannels/portchannel/members/member/lacp-port-priority | Read-Write |
Detailed Nodes
Section titled “Detailed Nodes”/portchannels
Section titled “/portchannels”Path
/portchannels
Node Type
container
Access
Read-Write
/portchannels/portchannel
Section titled “/portchannels/portchannel”Path
/portchannels/portchannel
Node Type
list
Description
The list of interfaces on the device.
Access
Read-Write
/portchannels/portchannel/name
Section titled “/portchannels/portchannel/name”Path
/portchannels/portchannel/name
Node Type
leaf
Description
The name of the PortChannel and PortChannel sub interface.
Access
Read-Write
Data Type
/portchannels/portchannel/mac-address-learning
Section titled “/portchannels/portchannel/mac-address-learning”Path
/portchannels/portchannel/mac-address-learning
Node Type
leaf
Description
Set interface mac-address learning, only support for vlan and its members.
Access
Read-Write
Data Type
Constraints
Valid in [true, false]
/portchannels/portchannel/mode
Section titled “/portchannels/portchannel/mode”Path
/portchannels/portchannel/mode
Node Type
leaf
Description
Choose port-channel mode: lacp for running LACP protocol, static for static load banlancing among members
Access
Read-Write
Data Type
Constraints
Enumeration with options:
- lacp
- static
/portchannels/portchannel/commit
Section titled “/portchannels/portchannel/commit”Path
/portchannels/portchannel/commit
Node Type
leaf
Description
This is a special leaf to control behavior of server while processing configuration.
If set to false, configurations within this block setting to running datastore WOULD NOT be synchronized to operational datastore automatically.
If true, configurations will be synchronized to operational datastore automatically.
In most cases, this is useless and can be ignored.
Access
Read-Write
Data Type
Constraints
Valid in [true, false]
/portchannels/portchannel/lacp
Section titled “/portchannels/portchannel/lacp”Path
/portchannels/portchannel/lacp
Node Type
container
Description
LACP Protocol configuration of portchannels
Access
Read-Write
Constraints
When condition: ../mode = ‘lacp’
/portchannels/portchannel/lacp/system-priority
Section titled “/portchannels/portchannel/lacp/system-priority”Path
/portchannels/portchannel/lacp/system-priority
Node Type
leaf
Description
The LACP system priority identifies the master switch ot the LAG.
The system with the lower system priority is preferred.
Access
Read-Write
Data Type
Constraints
Valid range: 0 to 65535
/portchannels/portchannel/lacp/fallback
Section titled “/portchannels/portchannel/lacp/fallback”Path
/portchannels/portchannel/lacp/fallback
Node Type
leaf
Description
The fallback mode brings up one of the LACP member ports to ‘UP’ state before an LACP PDU is received by the LAG.
Access
Read-Write
Data Type
Constraints
Valid in [true, false]
/portchannels/portchannel/lacp/fast-rate
Section titled “/portchannels/portchannel/lacp/fast-rate”Path
/portchannels/portchannel/lacp/fast-rate
Node Type
leaf
Description
Fast-rate allows the LACP peer to send LACP PDUs at a rate of one per second after synchronization.
The default rate is one per 30 seconds.
Access
Read-Write
Data Type
Constraints
Valid in [true, false]
/portchannels/portchannel/lacp/system-id
Section titled “/portchannels/portchannel/lacp/system-id”Path
/portchannels/portchannel/lacp/system-id
Node Type
leaf
Description
Change LACP system id. Default to the system MAC
Access
Read-Write
Data Type
Constraints
The mac-address type represents an IEEE 802 MAC address.
The canonical representation uses lowercase characters.
In the value set and its semantics, this type is equivalent to the MacAddress textual convention of the SMIv2.
/portchannels/portchannel/members
Section titled “/portchannels/portchannel/members”Path
/portchannels/portchannel/members
Node Type
container
Access
Read-Write
/portchannels/portchannel/members/member
Section titled “/portchannels/portchannel/members/member”Path
/portchannels/portchannel/members/member
Node Type
list
Access
Read-Write
/portchannels/portchannel/members/member/port
Section titled “/portchannels/portchannel/members/member/port”Path
/portchannels/portchannel/members/member/port
Node Type
leaf
Access
Read-Write
Data Type
/portchannels/portchannel/members/member/lacp-port-priority
Section titled “/portchannels/portchannel/members/member/lacp-port-priority”Path
/portchannels/portchannel/members/member/lacp-port-priority
Node Type
leaf
Description
The port priority determines which ports should be put in standby mode when there is a hardware limitation that prevents all compatible ports from aggregating.
Ports with lower port-priority are preferred.
Access
Read-Write
Data Type