State

Leafs

class NetworkInstances.NetworkInstance.Mpls.Lsps.ConstrainedPath.Tunnels.Tunnel.P2pTunnelAttributes.P2pSecondaryPaths.P2pSecondaryPath.State

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Mpls Lsps ConstrainedPath Tunnels Tunnel P2pTunnelAttributes P2pSecondaryPaths P2pSecondaryPath State

This class represents state data.

State parameters related to paths

name

Path name

type: str

config: False

path_computation_method

The method used for computing the path, either locally computed, queried from a server or not computed at all (explicitly configured)

type: one of the below values: LOCALLYCOMPUTED

config: False

default value: oc-mplst:LOCALLY_COMPUTED

use_cspf

Flag to enable CSPF for locally computed LSPs

type: bool

config: False

cspf_tiebreaker

Determine the tie-breaking method to choose between equally desirable paths during CSFP computation

type: CspfTieBreaking

config: False

path_computation_server

Address of the external path computation server

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])$

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}|:))$

config: False

explicit_path_name

reference to a defined path

type: str

refers to: name

config: False

preference

Specifies a preference for this path. The lower the number higher the preference

type: int

range: 1..255

config: False

setup_priority

RSVP-TE preemption priority during LSP setup, lower is higher priority; default 7 indicates that LSP will not preempt established LSPs during setup

type: int

range: 0..7

config: False

default value: 7

hold_priority

preemption priority once the LSP is established, lower is higher priority; default 0 indicates other LSPs will not preempt the LSPs once established

type: int

range: 0..7

config: False

default value: 0

retry_timer

sets the time between attempts to establish the LSP

type: int

range: 1..600

config: False

units: seconds

associated_rsvp_session

If the signalling protocol specified for this path is RSVP-TE, this leaf provides a reference to the associated session within the RSVP-TE protocol sessions list, such that details of the signaling can be retrieved

type: int

range: 0..18446744073709551615

refers to: local_index

config: False