Documentation ¶
Overview ¶
This YANG module describes the configuration and operational model of Psuedowire on PE router
Terms and Acronyms
AC : Attachment Circuit BD : Bridge Domain L2VPN : Layer 2 Virtual Private Network PE : Provider Edge PW : Pseudowire VFI : Virtual Forwarding Instance VPLS : Virtual Private LAN Service VLAN : Virtual Local Area Network
Index ¶
- type PseudowireConfig
- type PseudowireConfig_Global
- type PseudowireConfig_PwStaticOamClasses
- type PseudowireConfig_PwStaticOamClasses_PwStaticOamClass
- type PseudowireConfig_PwTemplates
- type PseudowireConfig_PwTemplates_PwTemplate
- type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance
- type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel
- type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction
- type PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec
- type PseudowireConfig_PwTemplates_PwTemplate_PreferredPath
- type PseudowireConfig_PwTemplates_PwTemplate_Sequencing
- type PseudowireConfig_PwTemplates_PwTemplate_Status
- type PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay
- type PseudowireConfig_PwTemplates_PwTemplate_Vccv
- type PseudowireState
- type PseudowireState_Pseudowires
- type PseudowireState_Pseudowires_Statistics
- type PseudowireState_Pseudowires_VcOwnerType
- type PseudowireState_Pseudowires_VcPsnType
- type PseudowireState_Pseudowires_VcRemoteControlWord
- type PwEncapMpls
- type PwEncapsulationType
- type PwLbEthDstMac
- type PwLbEthSrcDstMac
- type PwLbEthSrcMac
- type PwLbEthernetType
- type PwLbIpDstIp
- type PwLbIpSrcDstIp
- type PwLbIpSrcIp
- type PwLbIpType
- type PwLoadBalanceType
- type PwOperStateType
- type PwSequencingBoth
- type PwSequencingReceive
- type PwSequencingTransmit
- type PwSequencingType
- type PwSignalingProtocolBgp
- type PwSignalingProtocolLdp
- type PwSignalingProtocolNone
- type PwSignalingProtocolType
- type PwVcType
- type PwVcTypeEther
- type PwVcTypeVlan
- type PwVcTypeVlanPassthrough
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PseudowireConfig ¶
type PseudowireConfig struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Global configurations related to pseudowires. Global PseudowireConfig_Global // Contains list of all pw-template definitions. Also called PW Class (XR) and // Port Profile (NX-OS). PwTemplates PseudowireConfig_PwTemplates // List of pseudowire static oam classes. PwStaticOamClasses PseudowireConfig_PwStaticOamClasses }
PseudowireConfig Pseudowire configuration data.
func (*PseudowireConfig) GetEntityData ¶
func (pseudowireConfig *PseudowireConfig) GetEntityData() *types.CommonEntityData
type PseudowireConfig_Global ¶
type PseudowireConfig_Global struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable pw-grouping. When pseudowires (PW) are established, each PW is // assigned a group ID that is common for all PWs created from the same // physical port. Hence, when the physical port becomes non-functional or is // deleted, L2VPN sends a single message to advertise the status change of all // PWs belonging to the group. A single L2VPN signal thus avoids a lot of // processing and loss in reactivity. The type is bool. The default value is // false. PwGrouping interface{} // Set pseudowire oam transmit refresh time (in seconds). The type is // interface{} with range: 1..4095. PwOamRefreshTransmit interface{} // Enable pw-status. The type is bool. PwStatus interface{} // Enable predictive redundancy. The type is bool. PredictiveRedundancy interface{} // If this leaf is set to true, then it enables the emission of // 'vc-state-notification'; otherwise these notifications are not emitted. The // type is bool. VcStateNotificationEnabled interface{} // 'vc-state-notification' allows batching of pseudowires in order to reduce // number of notifications generated from the device. All pseudowires in a // batched notification MUST share same state at the same time. This leaf // defines the maximum number of VCs that can be batched in // vc-state-notification. The type is interface{} with range: 0..4294967295. VcStateNotificationBatchSize interface{} // This leaf defines the maximum number of VC state change notifications that // can be emitted from the device per second. The type is interface{} with // range: 0..4294967295. VcStateNotificationRate interface{} }
PseudowireConfig_Global Global configurations related to pseudowires.
func (*PseudowireConfig_Global) GetEntityData ¶
func (global *PseudowireConfig_Global) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwStaticOamClasses ¶
type PseudowireConfig_PwStaticOamClasses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Pseudowire static oam class configuration. The type is slice of // PseudowireConfig_PwStaticOamClasses_PwStaticOamClass. PwStaticOamClass []*PseudowireConfig_PwStaticOamClasses_PwStaticOamClass }
PseudowireConfig_PwStaticOamClasses List of pseudowire static oam classes.
func (*PseudowireConfig_PwStaticOamClasses) GetEntityData ¶
func (pwStaticOamClasses *PseudowireConfig_PwStaticOamClasses) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwStaticOamClasses_PwStaticOamClass ¶
type PseudowireConfig_PwStaticOamClasses_PwStaticOamClass struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. OAM class name. The type is string. Name interface{} // Enable ack. The type is bool. Ack interface{} // Keepalive in seconds. The type is interface{} with range: 1..4095. The // default value is 600. Keepalive interface{} // Refresh timeout in seconds. The type is interface{} with range: 1..4095. // The default value is 30. TimeoutRefreshSend interface{} // Ack timeout in seconds. The type is interface{} with range: 1..4095. The // default value is 600. TimeoutRefreshAck interface{} }
PseudowireConfig_PwStaticOamClasses_PwStaticOamClass Pseudowire static oam class configuration
func (*PseudowireConfig_PwStaticOamClasses_PwStaticOamClass) GetEntityData ¶
func (pwStaticOamClass *PseudowireConfig_PwStaticOamClasses_PwStaticOamClass) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates ¶
type PseudowireConfig_PwTemplates struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Pseudowire template list. The type is slice of // PseudowireConfig_PwTemplates_PwTemplate. PwTemplate []*PseudowireConfig_PwTemplates_PwTemplate }
PseudowireConfig_PwTemplates Contains list of all pw-template definitions. Also called PW Class (XR) and Port Profile (NX-OS)
func (*PseudowireConfig_PwTemplates) GetEntityData ¶
func (pwTemplates *PseudowireConfig_PwTemplates) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate ¶
type PseudowireConfig_PwTemplates_PwTemplate struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. PW Template name. The type is string. Name interface{} // Encapsulation used for PW. The type is one of the following: PwEncapMpls. Encapsulation interface{} // Use control word in the MPLS PW header. The type is bool. ControlWord interface{} // Signaling protocol to use. The type is one of the following: // PwSignalingProtocolLdpPwSignalingProtocolNonePwSignalingProtocolBgp. SignalingProtocol interface{} // Type of VC in the PW. The type is one of the following: // PwVcTypeEtherPwVcTypeVlanPassthroughPwVcTypeVlan. VcType interface{} // Send switching TLV. The type is bool. SwitchingTlv interface{} // The local source IPv4 address. The type is string with 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])(%[\p{N}\p{L}]+)?. SourceIp interface{} // Configure ingress tag rewrite vlan. The type is interface{} with range: // 1..4094. TagRewriteIngressVlan interface{} // Send Mac-withdraw message when PW becomes active. The type is bool. The // default value is false. MacWithdraw interface{} // Load balancing mechanism. LoadBalance PseudowireConfig_PwTemplates_PwTemplate_LoadBalance // Preferred path for the PW. PreferredPath PseudowireConfig_PwTemplates_PwTemplate_PreferredPath // Sequencing options. Sequencing PseudowireConfig_PwTemplates_PwTemplate_Sequencing // VCCV configuration. Vccv PseudowireConfig_PwTemplates_PwTemplate_Vccv // Timer configuration related to pseudowire redundancy switchover and // restoring to primary. SwitchoverDelay PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay // TODO. Status PseudowireConfig_PwTemplates_PwTemplate_Status // Pseudowire port profile configurations. PortProfileSpec PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec }
PseudowireConfig_PwTemplates_PwTemplate Pseudowire template list.
func (*PseudowireConfig_PwTemplates_PwTemplate) GetEntityData ¶
func (pwTemplate *PseudowireConfig_PwTemplates_PwTemplate) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance ¶
type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Ethernet mac address based load balancing. The type is one of the // following: PwLbEthSrcDstMacPwLbEthDstMacPwLbEthSrcMac. The default value is // pw-lb-eth-src-dst-mac. Ethernet interface{} // IP address based load balancing. The type is one of the following: // PwLbIpSrcDstIpPwLbIpSrcIp. Ip interface{} // Enable Flow Aware Label (FAT) PW - the capability to carry flow label on // PW. FlowLabel PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel }
PseudowireConfig_PwTemplates_PwTemplate_LoadBalance Load balancing mechanism.
func (*PseudowireConfig_PwTemplates_PwTemplate_LoadBalance) GetEntityData ¶
func (loadBalance *PseudowireConfig_PwTemplates_PwTemplate_LoadBalance) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel ¶
type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Directions to enable Flow Aware Label PW. The type is Direction. Direction interface{} // Carry code 0x17 as Flow Aware Label (FAT) PW signalled sub-tlv id. The type // is bool. TlvCode17 interface{} // Use statically configured flow label on traffic flowing on the PW. The type // is bool. The default value is false. Static interface{} }
PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel Enable Flow Aware Label (FAT) PW - the capability to carry flow label on PW
func (*PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel) GetEntityData ¶
func (flowLabel *PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction ¶
type PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction string
PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction represents Directions to enable Flow Aware Label PW
const ( // TODO PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction_transmit PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction = "transmit" // TODO PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction_receive PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction = "receive" // TODO PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction_both PseudowireConfig_PwTemplates_PwTemplate_LoadBalance_FlowLabel_Direction = "both" )
type PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec ¶
type PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Description string for the port profile. The type is string. Description interface{} // Shut down this template. The type is bool. The default value is false. Shutdown interface{} // Force shut down this port profile. The type is bool. The default value is // false. ShutForce interface{} // MTU of the port. The type is interface{} with range: 0..4294967295. Mtu interface{} // Maximum number of ports. The type is interface{} with range: 1..16384. MaxPorts interface{} // Enable this port profile. The type is bool. The default value is false. Enabled interface{} }
PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec Pseudowire port profile configurations.
func (*PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec) GetEntityData ¶
func (portProfileSpec *PseudowireConfig_PwTemplates_PwTemplate_PortProfileSpec) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_PreferredPath ¶
type PseudowireConfig_PwTemplates_PwTemplate_PreferredPath struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reference to a tunnel interface. The type is string. Refers to // ietf_interfaces.Interfaces_Interface_Name Interface interface{} // TODO. The type is one of the following types: string with 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])(%[\p{N}\p{L}]+)?, // or string with 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])))(%[\p{N}\p{L}]+)?. Address interface{} // TODO. The type is string. Hostname interface{} // Disable fall back to alternative route. The type is bool. DisableFallback interface{} }
PseudowireConfig_PwTemplates_PwTemplate_PreferredPath Preferred path for the PW
func (*PseudowireConfig_PwTemplates_PwTemplate_PreferredPath) GetEntityData ¶
func (preferredPath *PseudowireConfig_PwTemplates_PwTemplate_PreferredPath) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_Sequencing ¶
type PseudowireConfig_PwTemplates_PwTemplate_Sequencing struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // TODO. The type is one of the following: // PwSequencingTransmitPwSequencingReceivePwSequencingBoth. Direction interface{} // TODO. The type is interface{} with range: 5..65535. Resync interface{} }
PseudowireConfig_PwTemplates_PwTemplate_Sequencing Sequencing options
func (*PseudowireConfig_PwTemplates_PwTemplate_Sequencing) GetEntityData ¶
func (sequencing *PseudowireConfig_PwTemplates_PwTemplate_Sequencing) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_Status ¶
type PseudowireConfig_PwTemplates_PwTemplate_Status struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Reflect standby status of the attachment circuit as up on the pseudowire. // The type is bool. The default value is false. Decoupled interface{} // Do not send pseudowire status to peer. The type is bool. The default value // is false. Disable interface{} // Our peer(s) are participating in a redundant solution with some form of // redundancy protocol running between the peer routers. Only one of the // remote peers will advertise a status of UP at a time. The other will // advertise standby. Change our configuration so we can send a status of UP // on both active and redundant pseudowires. The type is bool. PeerTopoDualHomed interface{} // Disable listening for routing events to trigger redundancy status changes. // The type is bool. The default value is false. RouteWatchDisable interface{} // Make the PE as master to enables Pseudowire Preferential Forwarding feature // to display the status of the active and backup pseudowires. The type is // bool. The default value is false. RedundancyMaster interface{} }
PseudowireConfig_PwTemplates_PwTemplate_Status TODO
func (*PseudowireConfig_PwTemplates_PwTemplate_Status) GetEntityData ¶
func (status *PseudowireConfig_PwTemplates_PwTemplate_Status) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay ¶
type PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Specifies how long the backup pseudowire should wait before taking over. // The type is interface{} with range: 0..120. SwitchoverTimer interface{} // Specifies how long the primary pseudowire should wait after it becomes // active to take over for the backup pseudowire. The type is interface{} with // range: 0..180. Timer interface{} // The primary pseudowire never takes over for the backup. The type is bool. // The default value is false. Never interface{} }
PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay Timer configuration related to pseudowire redundancy switchover and restoring to primary
func (*PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay) GetEntityData ¶
func (switchoverDelay *PseudowireConfig_PwTemplates_PwTemplate_SwitchoverDelay) GetEntityData() *types.CommonEntityData
type PseudowireConfig_PwTemplates_PwTemplate_Vccv ¶
type PseudowireConfig_PwTemplates_PwTemplate_Vccv struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable VCCV verification type. The type is bool. ControlWord interface{} }
PseudowireConfig_PwTemplates_PwTemplate_Vccv VCCV configuration
func (*PseudowireConfig_PwTemplates_PwTemplate_Vccv) GetEntityData ¶
func (vccv *PseudowireConfig_PwTemplates_PwTemplate_Vccv) GetEntityData() *types.CommonEntityData
type PseudowireState ¶
type PseudowireState struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Each list element contains the state for a pseudowire instance. The list // can be optionally keyed by any combination of vc-id, peer-address, etc. // Additional filtering of the list by the agent may be performed upon request // by the client using subtree filtering as described in RFC 6020 Section 6. // The type is slice of PseudowireState_Pseudowires. Pseudowires []*PseudowireState_Pseudowires }
PseudowireState Contains the operational state for all the pseudowire instances in the switch, no matter what L2VPN service created them.
func (*PseudowireState) GetEntityData ¶
func (pseudowireState *PseudowireState) GetEntityData() *types.CommonEntityData
type PseudowireState_Pseudowires ¶
type PseudowireState_Pseudowires struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. This object contains the value of the peer node // address of the PW/PE protocol entity. The type is one of the following // types: string with 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])(%[\p{N}\p{L}]+)?, // or string with 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])))(%[\p{N}\p{L}]+)?. VcPeerAddress interface{} // This attribute is a key. Used to distinguish between pseudowires going to // the same peer node. The type is interface{} with range: 0..4294967295. VcId interface{} // This attribute is a key. Indicates the service responsible for establishing // this VC. The type is VcOwnerType. VcOwnerType interface{} // This attribute is a key. The canonical name assigned to the VC. The name // may be autogenerated by the device; this Yang model does not currently // support direct configuration of this name. The type is string. VcName interface{} // This attribute is a key. Locally-unique ID within the device for this // pseudowire. The type is interface{} with range: 0..4294967295. VcIndex interface{} // Indicates the service to be carried over this VC. The type is one of the // following: PwVcTypeEtherPwVcTypeVlanPassthroughPwVcTypeVlan. VcType interface{} // Name of the L2VPN service instance that created the pseudowire VC. The type // is string. VcOwnerName interface{} // Indicates the type of packet-switched network that carries this VC. The // type is VcPsnType. VcPsnType interface{} // Used to identify which local pseudowire group this pseudowire belongs to. // The type is interface{} with range: 0..4294967295. VcLocalGroupId interface{} // Indicates if the control word is sent with each packet by the local node. // The type is bool. VcControlWord interface{} // If not zero, this represents the locally supported MTU size over the // interface (or the virtual interface) associated with the VC. The type is // interface{} with range: 0..4294967295. VcLocalIfMtu interface{} // If not zero, indicates the pseudowire group to which this pseudowire // belongs on the peer node. The type is interface{} with range: // 0..4294967295. VcRemoteGroupId interface{} // Indicates whether MPLS control words are used by the pseudowire PSN // service. The type is VcRemoteControlWord. VcRemoteControlWord interface{} // The remote interface MTU as (optionally) received from the remote node via // the signaling protocol. Should be zero if this parameter is not available // or not used. The type is interface{} with range: 0..4294967295. VcRemoteIfMtu interface{} // The VC label used in the outbound direction (i.e. toward the PSN). Example: // for MPLS PSN, it represents the 20 bits of VC tag, for L2TP it represent // the 32 bits Session ID. If the label is not yet known (signaling in // procesS), the object should return a value of 0xFFFFFFFF. The type is // interface{} with range: 0..4294967295. VcOutboundLabel interface{} // The VC label used in the inbound direction (i.e. packets received from the // PSN). Example: for MPLS PSN, it represents the 20 bits of VC tag, for L2TP // it represents the 32 bits Session ID. If the label is not yet known // (signaling in process), the object should return a value of 0xFFFFFFFF. The // type is interface{} with range: 0..4294967295. VcInboundLabel interface{} // Indicates the actual combined operational status of this VC. It is 'up' if // both vc-inbound-oper-status and vc-outbound-oper-status are in 'up' state. // For all other values, if the VCs in both directions are of the same value // it reflects that value, otherwise it is set to the most severe status out // of the two statuses. The order of severance from most severe to less severe // is: unknown, notPresent, down, lowerLayerDown, dormant, testing, up. The // operator may consult the per direction oper-status for fault isolation per // direction. The type is PwOperStateType. VcOperStatus interface{} // Indicates the actual operational status of this VC in the inbound // direction. The type is PwOperStateType. VcInboundOperStatus interface{} // Indicates the actual operational status of this VC in the outbound // direction. The type is PwOperStateType. VcOutboundOperStatus interface{} // A collection of pseudowire-related statistics objects. Statistics PseudowireState_Pseudowires_Statistics }
PseudowireState_Pseudowires Each list element contains the state for a pseudowire instance. The list can be optionally keyed by any combination of vc-id, peer-address, etc. Additional filtering of the list by the agent may be performed upon request by the client using subtree filtering as described in RFC 6020 Section 6.
func (*PseudowireState_Pseudowires) GetEntityData ¶
func (pseudowires *PseudowireState_Pseudowires) GetEntityData() *types.CommonEntityData
type PseudowireState_Pseudowires_Statistics ¶
type PseudowireState_Pseudowires_Statistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // System time when this VC was created. The type is interface{} with range: // 0..4294967295. VcCreateTime interface{} // Number of consecutive ticks this VC has been 'up' in both directions // together. The type is interface{} with range: 0..4294967295. VcUpTime interface{} // The time on the most recent occasion at which any of this pseudowire's // counters sufferred discontinuity. If no such discontinuities have occurred // since the last re-initialization of the local management subsystem, then // this node contains the time the local management subsystem re-initialized // itself. The type is string with pattern: // \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}). This // attribute is mandatory. DiscontinuityTime interface{} // The total number of octets received on this pseudowire. Discontinuities in // the value of this counter can occur at re-initialization of the management // system and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InOctets interface{} // The total number of packets received on this pseudowire. Discontinuities // in the value of this counter can occur at re-initialization of the // management system and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InPkts interface{} // The total number of inbound packets that contained errors. Discontinuities // in the value of this counter can occur at re-initialization of the // management system and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. InErrors interface{} // The total number of octets sent on this pseudowire. Discontinuities in the // value of this counter can occur at re-initialization of the management // system and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. OutOctets interface{} // The total number of packets sent on this pseudowire. Discontinuities in // the value of this counter can occur at re-initialization of the management // system and at other times as indicated by the value of // 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. OutPkts interface{} // The total number of outbound packets that could not be sent on this // pseudowire. Discontinuities in the value of this counter can occur at // re-initialization of the management system and at other times as indicated // by the value of 'discontinuity-time'. The type is interface{} with range: // 0..18446744073709551615. OutErrors interface{} }
PseudowireState_Pseudowires_Statistics A collection of pseudowire-related statistics objects
func (*PseudowireState_Pseudowires_Statistics) GetEntityData ¶
func (statistics *PseudowireState_Pseudowires_Statistics) GetEntityData() *types.CommonEntityData
type PseudowireState_Pseudowires_VcOwnerType ¶
type PseudowireState_Pseudowires_VcOwnerType string
PseudowireState_Pseudowires_VcOwnerType represents this VC
const ( // Created under VPWS context PseudowireState_Pseudowires_VcOwnerType_vpws PseudowireState_Pseudowires_VcOwnerType = "vpws" // Created under VFI context PseudowireState_Pseudowires_VcOwnerType_vpls_vfi PseudowireState_Pseudowires_VcOwnerType = "vpls-vfi" // Created under bridge domain context PseudowireState_Pseudowires_VcOwnerType_vpls_bridge_domain PseudowireState_Pseudowires_VcOwnerType = "vpls-bridge-domain" // Created by manual pseudowire interface // configuration PseudowireState_Pseudowires_VcOwnerType_interface_ PseudowireState_Pseudowires_VcOwnerType = "interface" )
type PseudowireState_Pseudowires_VcPsnType ¶
type PseudowireState_Pseudowires_VcPsnType string
PseudowireState_Pseudowires_VcPsnType represents that carries this VC
const ( // MPLS encapsulation PseudowireState_Pseudowires_VcPsnType_mpls PseudowireState_Pseudowires_VcPsnType = "mpls" // L2TP encapsulation PseudowireState_Pseudowires_VcPsnType_l2tp PseudowireState_Pseudowires_VcPsnType = "l2tp" // IP core PseudowireState_Pseudowires_VcPsnType_ip PseudowireState_Pseudowires_VcPsnType = "ip" // MPLS encapsulation over IP core PseudowireState_Pseudowires_VcPsnType_mpls_over_ip PseudowireState_Pseudowires_VcPsnType = "mpls-over-ip" // GRE encapsulation PseudowireState_Pseudowires_VcPsnType_gre PseudowireState_Pseudowires_VcPsnType = "gre" // Some other encapsulation PseudowireState_Pseudowires_VcPsnType_other PseudowireState_Pseudowires_VcPsnType = "other" )
type PseudowireState_Pseudowires_VcRemoteControlWord ¶
type PseudowireState_Pseudowires_VcRemoteControlWord string
PseudowireState_Pseudowires_VcRemoteControlWord represents pseudowire PSN service
const ( // Peer sends control word PseudowireState_Pseudowires_VcRemoteControlWord_noControlWord PseudowireState_Pseudowires_VcRemoteControlWord = "noControlWord" // Peer does not send control word PseudowireState_Pseudowires_VcRemoteControlWord_withControlWord PseudowireState_Pseudowires_VcRemoteControlWord = "withControlWord" // Have not received indication yet if peer sends // control word PseudowireState_Pseudowires_VcRemoteControlWord_notYetKnown PseudowireState_Pseudowires_VcRemoteControlWord = "notYetKnown" )
type PwEncapMpls ¶
type PwEncapMpls struct { }
func (PwEncapMpls) String ¶
func (id PwEncapMpls) String() string
type PwEncapsulationType ¶
type PwEncapsulationType struct { }
func (PwEncapsulationType) String ¶
func (id PwEncapsulationType) String() string
type PwLbEthDstMac ¶
type PwLbEthDstMac struct { }
func (PwLbEthDstMac) String ¶
func (id PwLbEthDstMac) String() string
type PwLbEthSrcDstMac ¶
type PwLbEthSrcDstMac struct { }
func (PwLbEthSrcDstMac) String ¶
func (id PwLbEthSrcDstMac) String() string
type PwLbEthSrcMac ¶
type PwLbEthSrcMac struct { }
func (PwLbEthSrcMac) String ¶
func (id PwLbEthSrcMac) String() string
type PwLbEthernetType ¶
type PwLbEthernetType struct { }
func (PwLbEthernetType) String ¶
func (id PwLbEthernetType) String() string
type PwLbIpDstIp ¶
type PwLbIpDstIp struct { }
func (PwLbIpDstIp) String ¶
func (id PwLbIpDstIp) String() string
type PwLbIpSrcDstIp ¶
type PwLbIpSrcDstIp struct { }
func (PwLbIpSrcDstIp) String ¶
func (id PwLbIpSrcDstIp) String() string
type PwLbIpSrcIp ¶
type PwLbIpSrcIp struct { }
func (PwLbIpSrcIp) String ¶
func (id PwLbIpSrcIp) String() string
type PwLbIpType ¶
type PwLbIpType struct { }
func (PwLbIpType) String ¶
func (id PwLbIpType) String() string
type PwLoadBalanceType ¶
type PwLoadBalanceType struct { }
func (PwLoadBalanceType) String ¶
func (id PwLoadBalanceType) String() string
type PwOperStateType ¶
type PwOperStateType string
PwOperStateType represents Indicates the operational status of the PW VC
const ( // Pseudowire is established, i.e., it is operational // and available to carry packets PwOperStateType_up PwOperStateType = "up" // Pseudowire is idle, i.e., it is administratively up // but network connectivity with the neighbor is not // established PwOperStateType_down PwOperStateType = "down" // Pseudowire can take over traffic for another // pseudowire PwOperStateType_cold_standby PwOperStateType = "cold-standby" // Pseudowire is available to immediately take over // traffic from another pseudowire PwOperStateType_hot_standby PwOperStateType = "hot-standby" // Pseudowire was previously in active state and is // in the process of being restored to active state PwOperStateType_recovering PwOperStateType = "recovering" // Pseudowire no longer has the required hardware // resources to be able to offer packet service to // the system PwOperStateType_no_hardware PwOperStateType = "no-hardware" // Pseudowire is not completely provisioned PwOperStateType_unresolved PwOperStateType = "unresolved" // Pseudowire has received local configuration PwOperStateType_provisioned PwOperStateType = "provisioned" // Pseudowire neighbor has sent its pseudowire // binding information PwOperStateType_remote_standby PwOperStateType = "remote-standby" // Pseudowire is provisioned, got a local label, and // its local binding has been sent to the neighbor PwOperStateType_local_ready PwOperStateType = "local-ready" // Pseudowire is locally provisioned, local binding // has been sent, and remote binding was received // from the neighbor PwOperStateType_all_ready PwOperStateType = "all-ready" )
type PwSequencingBoth ¶
type PwSequencingBoth struct { }
func (PwSequencingBoth) String ¶
func (id PwSequencingBoth) String() string
type PwSequencingReceive ¶
type PwSequencingReceive struct { }
func (PwSequencingReceive) String ¶
func (id PwSequencingReceive) String() string
type PwSequencingTransmit ¶
type PwSequencingTransmit struct { }
func (PwSequencingTransmit) String ¶
func (id PwSequencingTransmit) String() string
type PwSequencingType ¶
type PwSequencingType struct { }
func (PwSequencingType) String ¶
func (id PwSequencingType) String() string
type PwSignalingProtocolBgp ¶
type PwSignalingProtocolBgp struct { }
func (PwSignalingProtocolBgp) String ¶
func (id PwSignalingProtocolBgp) String() string
type PwSignalingProtocolLdp ¶
type PwSignalingProtocolLdp struct { }
func (PwSignalingProtocolLdp) String ¶
func (id PwSignalingProtocolLdp) String() string
type PwSignalingProtocolNone ¶
type PwSignalingProtocolNone struct { }
func (PwSignalingProtocolNone) String ¶
func (id PwSignalingProtocolNone) String() string
type PwSignalingProtocolType ¶
type PwSignalingProtocolType struct { }
func (PwSignalingProtocolType) String ¶
func (id PwSignalingProtocolType) String() string
type PwVcTypeEther ¶
type PwVcTypeEther struct { }
func (PwVcTypeEther) String ¶
func (id PwVcTypeEther) String() string
type PwVcTypeVlan ¶
type PwVcTypeVlan struct { }
func (PwVcTypeVlan) String ¶
func (id PwVcTypeVlan) String() string
type PwVcTypeVlanPassthrough ¶
type PwVcTypeVlanPassthrough struct { }
func (PwVcTypeVlanPassthrough) String ¶
func (id PwVcTypeVlanPassthrough) String() string