Config

Leafs

class NetworkInstances.NetworkInstance.Mpls.Lsps.ConstrainedPath.Tunnels.Tunnel.P2pTunnelAttributes.P2pPrimaryPath.P2pPrimaryPath_.Config

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Mpls Lsps ConstrainedPath Tunnels Tunnel P2pTunnelAttributes P2pPrimaryPath P2pPrimaryPath_ Config

This class represents configuration data.

Configuration parameters related to paths

name

Path name

type: str

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

default value: oc-mplst:LOCALLY_COMPUTED

use_cspf

Flag to enable CSPF for locally computed LSPs

type: bool

cspf_tiebreaker

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

type: CspfTieBreaking

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

reference to a defined path

type: str

refers to: name

preference

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

type: int

range: 1..255
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

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

default value: 0

retry_timer

sets the time between attempts to establish the LSP

type: int

range: 1..600

units: seconds