Action Class
Action to be taken on a route matching a RouteMap criterion.
Constructor
Action(*, type: str | _models.RouteMapActionType | None = None, parameters: List[_models.Parameter] | None = None, **kwargs: Any)
Keyword-Only Parameters
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". Default value: None
|
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. Default value: None
|
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. |