Action Class
Action to be taken on a route matching a RouteMap criterion.
Constructor
Action(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
type
|
Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'. Known values are: "Unknown", "Remove", "Add", "Replace", and "Drop". |
|
parameters
|
List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added. |
Attributes
parameters
List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added.
parameters: list['_models.Parameter'] | None
type
Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'. Known values are: "Unknown", "Remove", "Add", "Replace", and "Drop".
type: str | _models.RouteMapActionType | None