Properties and action

Table 54: Properties and action for netdev_lagg

Property/Action name

Description

Property type

Value type and restrictions

group_id

Specifies an aggregation group ID.

Index

Unsigned integer.

Value range:

  • 1 to 1024 for a Layer 2 aggregation group.

  • 16385 to 17408 for a Layer 3 aggregation group.

linkmode

Specifies the aggregation mode.

N/A

Symbol:

  • static—Static.

  • dynamic—Dynamic.

addports

Specifies the indexes of the interfaces that you want to add to the aggregation group.

N/A

String, a comma separated list of interface indexes or interface index ranges, for example, 1,2,3,5-8,10-20.

The string cannot end with a comma (,), hyphen (-), or space.

An interface index cannot be on the list of adding interfaces and the list of removing interfaces at the same time.

deleteports

Specifies the indexes of the interfaces that you want to remove from the aggregation group.

N/A

String, a comma separated list of interface indexes or interface index ranges, for example, 1,2,3,5-8,10-20.

The string cannot end with a comma (,), hyphen (-), or space.

An interface index cannot be on the list of adding interfaces and the list of removing interfaces at the same time.

action

Specifies the action for the resource.

N/A

Symbol:

  • create—Creates or modifies an aggregation group.

  • delete—Deletes an aggregation group.

The default action is create.