Prefix¶
Keys
Leafs
-
class
Interfaces.Interface.Ipv6.Ipv6RouterAdvertisements.PrefixList.
Prefix
¶ Bases:
Entity
Class Hierarchy:
Interfaces
Interface
Ipv6
Ipv6RouterAdvertisements
PrefixList
Prefix
This class represents configuration data.
Configuration of an advertised prefix entry.
-
prefix_spec
(key)¶ IPv6 address prefix
type: str
pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))
-
no_advertise
¶ The prefix will not be advertised. This can be used for removing the prefix from the default set of advertised prefixes
type:
Empty
-
valid_lifetime
¶ The value to be placed in the Valid Lifetime in the Prefix Information option. The designated value of all 1’s (0xffffffff) represents infinity
type: int
range: 0..4294967295units: seconds
default value: 2592000
-
on_link_flag
¶ The value to be placed in the on-link flag (‘L-bit’) field in the Prefix Information option
type: bool
default value: true
-
preferred_lifetime
¶ The value to be placed in the Preferred Lifetime in the Prefix Information option. The designated value of all 1’s (0xffffffff) represents infinity
type: int
range: 0..4294967295units: seconds
default value: 604800
-
autonomous_flag
¶ The value to be placed in the Autonomous Flag field in the Prefix Information option
type: bool
default value: true
-