Config¶
Leafs
-
class
NetworkInstances.NetworkInstance.Protocols.Protocol.StaticRoutes.Static.
Config
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
Protocols
Protocol
StaticRoutes
Static
Config
This class represents configuration data.
Configuration data for static routes
-
prefix
¶ Destination prefix for the static route, either IPv4 or IPv6
type: union of the below types:
type: str
pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))$type: str
pattern: ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/(12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9])$
-
set_tag
¶ Set a generic tag value on the route. This tag can be used for filtering routes that are distributed to other routing protocols
type: union of the below types:
type: int
range: 0..4294967295type: str
pattern: ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?
-