syncc_oper

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR syncc package operational data.

This module contains definitions for the following management objects:

timing-controller: Timing controller operational data

Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClockModes

type ClockModes string

ClockModes represents Different clock modes

const (
	// T1 mode
	ClockModes_t1 ClockModes = "t1"

	// E1 mode
	ClockModes_e1 ClockModes = "e1"

	// 2048M mode
	ClockModes_two_m ClockModes = "two-m"

	// 64kCC input
	ClockModes_input64k ClockModes = "input64k"

	// 6312M output
	ClockModes_output6m ClockModes = "output6m"

	// Universal transport interface(UTI)
	ClockModes_uti ClockModes = "uti"

	// No mode is selected
	ClockModes_none ClockModes = "none"
)

type Direct

type Direct string

Direct represents Direction status

const (
	// Receive or transmit
	Direct_receive_transmit Direct = "receive-transmit"

	// Transmit
	Direct_transmit Direct = "transmit"

	// Receive
	Direct_receive Direct = "receive"
)

type InterfaceState

type InterfaceState string

InterfaceState represents Interface state

const (
	// Up state
	InterfaceState_up InterfaceState = "up"

	// Down state
	InterfaceState_down InterfaceState = "down"

	// Admin down state
	InterfaceState_admin_down InterfaceState = "admin-down"
)

type NodeState

type NodeState string

NodeState represents Different modes of a node

const (
	// Node in active mode
	NodeState_active NodeState = "active"

	// Node in standby mode
	NodeState_standby NodeState = "standby"
)

type QlOption1

type QlOption1 string

QlOption1 represents Quality level options

const (
	// No value
	QlOption1_quality_level_none QlOption1 = "quality-level-none"

	// Option 1
	QlOption1_o1 QlOption1 = "o1"

	// Option 2 Gen 1
	QlOption1_o2_g1 QlOption1 = "o2-g1"

	// Option 2 Gen 2
	QlOption1_o2_g2 QlOption1 = "o2-g2"
)

type Smode1

type Smode1 string

Smode1 represents First mode type

const (
	// Extended Superframe(ESF)
	Smode1_extended_super_frame Smode1 = "extended-super-frame"

	// D4 channel unit
	Smode1_d4 Smode1 = "d4"

	// Non CRC 4 mode
	Smode1_non_crc4 Smode1 = "non-crc4"

	// CRC 4
	Smode1_crc4 Smode1 = "crc4"

	// No mode is selected
	Smode1_submode1_none Smode1 = "submode1-none"
)

type Smode2

type Smode2 string

Smode2 represents Second mode type

const (
	// AMI
	Smode2_ami_mode Smode2 = "ami-mode"

	// B8ZS submode
	Smode2_b8zs Smode2 = "b8zs"

	// HDB3 submode
	Smode2_hdb3 Smode2 = "hdb3"

	// No mode is selected
	Smode2_submode2_none Smode2 = "submode2-none"
)

type Source

type Source string

Source represents Syncc source type

const (
	// Invalid state
	Source_invalid Source = "invalid"

	// Ethernet interface
	Source_ethernet_line_interface Source = "ethernet-line-interface"

	// SONET interface
	Source_sonet_line_interface Source = "sonet-line-interface"

	// Clock interface state
	Source_clock_interface Source = "clock-interface"

	// Internal state
	Source_internal Source = "internal"
)

type SourceStateName

type SourceStateName string

SourceStateName represents Syncc source state name

const (
	// Invalid
	SourceStateName_not_valid SourceStateName = "not-valid"

	// Unqualified state
	SourceStateName_unqualified SourceStateName = "unqualified"

	// Available state
	SourceStateName_available SourceStateName = "available"

	// Failed state
	SourceStateName_failed SourceStateName = "failed"

	// Unmonitored state
	SourceStateName_unmonitored SourceStateName = "unmonitored"

	// Error state
	SourceStateName_error_ SourceStateName = "error"
)

type SynccStates

type SynccStates string

SynccStates represents Different syncc states

const (
	// Initial  state
	SynccStates_initializing SynccStates = "initializing"

	// Running  state
	SynccStates_running SynccStates = "running"

	// Normal  state
	SynccStates_normal SynccStates = "normal"

	// Shutdown  state
	SynccStates_shutdown SynccStates = "shutdown"
)

type TimingController

type TimingController struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// List of nodes applicable to timing controller.
	Nodes TimingController_Nodes
}

TimingController Timing controller operational data

func (*TimingController) GetEntityData

func (timingController *TimingController) GetEntityData() *types.CommonEntityData

type TimingController_Nodes

type TimingController_Nodes struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Syncc operational data for a single node. The type is slice of
	// TimingController_Nodes_Node.
	Node []*TimingController_Nodes_Node
}

TimingController_Nodes List of nodes applicable to timing controller

func (*TimingController_Nodes) GetEntityData

func (nodes *TimingController_Nodes) GetEntityData() *types.CommonEntityData

type TimingController_Nodes_Node

type TimingController_Nodes_Node struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Node Name. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	NodeName interface{}

	// Syncc state for a node.
	State TimingController_Nodes_Node_State

	// Syncc clock information for a node.
	Clock TimingController_Nodes_Node_Clock

	// Syncc timing information for a node.
	TimingSource TimingController_Nodes_Node_TimingSource
}

TimingController_Nodes_Node Syncc operational data for a single node

func (*TimingController_Nodes_Node) GetEntityData

func (node *TimingController_Nodes_Node) GetEntityData() *types.CommonEntityData

type TimingController_Nodes_Node_Clock

type TimingController_Nodes_Node_Clock struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// List of syncc clock information . The type is slice of
	// TimingController_Nodes_Node_Clock_SynccInstance.
	SynccInstance []*TimingController_Nodes_Node_Clock_SynccInstance
}

TimingController_Nodes_Node_Clock Syncc clock information for a node

func (*TimingController_Nodes_Node_Clock) GetEntityData

type TimingController_Nodes_Node_Clock_SynccInstance

type TimingController_Nodes_Node_Clock_SynccInstance struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Clock table for an RP. The type is slice of
	// TimingController_Nodes_Node_Clock_SynccInstance_Clock.
	Clock []*TimingController_Nodes_Node_Clock_SynccInstance_Clock
}

TimingController_Nodes_Node_Clock_SynccInstance List of syncc clock information

func (*TimingController_Nodes_Node_Clock_SynccInstance) GetEntityData

type TimingController_Nodes_Node_Clock_SynccInstance_Clock

type TimingController_Nodes_Node_Clock_SynccInstance_Clock struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// True if clock is configured for port 0. The type is bool.
	IsConfiguredPort0 interface{}

	// True if clock is configured for port 1. The type is bool.
	IsConfiguredPort1 interface{}

	// True if clock is configured for port 2. The type is bool.
	IsConfiguredPort2 interface{}

	// True if clock is configured for port 3. The type is bool.
	IsConfiguredPort3 interface{}

	// Clock setting mode for port 0. The type is ClockModes.
	ModePort0 interface{}

	// Clock setting mode for port 1. The type is ClockModes.
	ModePort1 interface{}

	// Clock setting mode for port 2. The type is ClockModes.
	ModePort2 interface{}

	// Clock setting mode for port 3. The type is ClockModes.
	ModePort3 interface{}

	// First submode for port 0. The type is Smode1.
	Submode1Port0 interface{}

	// First submode for port 1. The type is Smode1.
	Submode1Port1 interface{}

	// First submode for port 2. The type is Smode1.
	Submode1Port2 interface{}

	// First submode for port 3. The type is Smode1.
	Submode1Port3 interface{}

	// Second submode for port 0. The type is Smode2.
	Submode2Port0 interface{}

	// Second submode for port 1. The type is Smode2.
	Submode2Port1 interface{}

	// Second submode for port 2. The type is Smode2.
	Submode2Port2 interface{}

	// Second submode for port 3. The type is Smode2.
	Submode2Port3 interface{}

	// Third submode for port 0. The type is interface{} with range:
	// 0..4294967295.
	Submode3Port0 interface{}

	// Third submode for port 1. The type is interface{} with range:
	// 0..4294967295.
	Submode3Port1 interface{}

	// Third submode for port 2. The type is interface{} with range:
	// 0..4294967295.
	Submode3Port2 interface{}

	// Third submode for port 3. The type is interface{} with range:
	// 0..4294967295.
	Submode3Port3 interface{}

	// Configure disable value for port 0. The type is interface{} with range:
	// 0..4294967295.
	ShutdownPort0 interface{}

	// Configure disable value for port 1. The type is interface{} with range:
	// 0..4294967295.
	ShutdownPort1 interface{}

	// Configure disable value for port 2. The type is interface{} with range:
	// 0..4294967295.
	ShutdownPort2 interface{}

	// Configure disable value for port 3. The type is interface{} with range:
	// 0..4294967295.
	ShutdownPort3 interface{}

	// Direction of interface for port 0. The type is Direct.
	DirectionPort0 interface{}

	// Direction of interface for port 1. The type is Direct.
	DirectionPort1 interface{}

	// Direction of interface for port 2. The type is Direct.
	DirectionPort2 interface{}

	// Direction of interface for port 3. The type is Direct.
	DirectionPort3 interface{}

	// Baudrate for port 0. The type is interface{} with range: 0..4294967295.
	BaudratePort0 interface{}

	// Baudrate for port 1. The type is interface{} with range: 0..4294967295.
	BaudratePort1 interface{}

	// Baudrate for port 2. The type is interface{} with range: 0..4294967295.
	BaudratePort2 interface{}

	// Baudrate for port 3. The type is interface{} with range: 0..4294967295.
	BaudratePort3 interface{}

	// Quality Level option of port 0. The type is QlOption1.
	QualityOptionPort0 interface{}

	// Quality Level option of the port 1. The type is QlOption1.
	QualityOptionPort1 interface{}

	// Quality Level option of the port 2. The type is QlOption1.
	QualityOptionPort2 interface{}

	// Quality Level option of the port 3. The type is QlOption1.
	QualityOptionPort3 interface{}

	// Transmit SSM for port 0. The type is interface{} with range: 0..4294967295.
	TransmitSsmPort0 interface{}

	// Transmit SSM for port 1. The type is interface{} with range: 0..4294967295.
	TransmitSsmPort1 interface{}

	// Transmit SSM for port 2. The type is interface{} with range: 0..4294967295.
	TransmitSsmPort2 interface{}

	// Transmit SSM for port 3. The type is interface{} with range: 0..4294967295.
	TransmitSsmPort3 interface{}

	// Receive SSM for port 0. The type is interface{} with range: 0..4294967295.
	RecieveSsmPort0 interface{}

	// Receive SSM for port 1. The type is interface{} with range: 0..4294967295.
	RecieveSsmPort1 interface{}

	// Receive SSM for port 2. The type is interface{} with range: 0..4294967295.
	RecieveSsmPort2 interface{}

	// Receive SSM for port 3. The type is interface{} with range: 0..4294967295.
	RecieveSsmPort3 interface{}

	// Interface state for port 0. The type is InterfaceState.
	InterfaceStatePort0 interface{}

	// Interface state for port 1. The type is InterfaceState.
	InterfaceStatePort1 interface{}

	// Interface state for port 2. The type is InterfaceState.
	InterfaceStatePort2 interface{}

	// Interface state for port 3. The type is InterfaceState.
	InterfaceStatePort3 interface{}
}

TimingController_Nodes_Node_Clock_SynccInstance_Clock Clock table for an RP

func (*TimingController_Nodes_Node_Clock_SynccInstance_Clock) GetEntityData

type TimingController_Nodes_Node_State

type TimingController_Nodes_Node_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// List of syncc states. The type is slice of
	// TimingController_Nodes_Node_State_SynccInstance.
	SynccInstance []*TimingController_Nodes_Node_State_SynccInstance
}

TimingController_Nodes_Node_State Syncc state for a node

func (*TimingController_Nodes_Node_State) GetEntityData

type TimingController_Nodes_Node_State_SynccInstance

type TimingController_Nodes_Node_State_SynccInstance struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Syncc controller state. The type is SynccStates.
	ControllerState interface{}

	// Status of syncc node mode. The type is NodeState.
	SynccNodeState interface{}

	// Verbose level number. The type is interface{} with range: 0..4294967295.
	VerboseLevel interface{}

	// Initial count number. The type is interface{} with range: 0..4294967295.
	InitialCount interface{}

	// Shutdown count number. The type is interface{} with range: 0..4294967295.
	ShutdownCount interface{}

	// Set the value of input count. The type is interface{} with range:
	// 0..4294967295.
	SetInputCount interface{}

	// Set the value of display count. The type is interface{} with range:
	// 0..4294967295.
	SetCapabilityCount interface{}

	// Clock count number. The type is interface{} with range: 0..4294967295.
	GetClockCount interface{}

	// Set clock count. The type is interface{} with range: 0..4294967295.
	SetClockOutCount interface{}

	// Sync enable count number. The type is interface{} with range:
	// 0..4294967295.
	SyncEnableCount interface{}

	// Sync disable count number. The type is interface{} with range:
	// 0..4294967295.
	SyncDisableCount interface{}

	// Interface capability count. The type is interface{} with range:
	// 0..4294967295.
	CapabilityCount interface{}

	// Value of quality level count. The type is interface{} with range:
	// 0..4294967295.
	SetQualityLevelCount interface{}

	// Selects proper input result notification. The type is interface{} with
	// range: 0..4294967295.
	InputNotification interface{}

	// Value of interface capability notification. The type is interface{} with
	// range: 0..4294967295.
	CapabilityNotification interface{}

	// Notification of source status. The type is interface{} with range:
	// 0..4294967295.
	StatusNotification interface{}

	// Value of resync notification. The type is interface{} with range:
	// 0..4294967295.
	ResyncNotification interface{}
}

TimingController_Nodes_Node_State_SynccInstance List of syncc states

func (*TimingController_Nodes_Node_State_SynccInstance) GetEntityData

type TimingController_Nodes_Node_TimingSource

type TimingController_Nodes_Node_TimingSource struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// List of syncc timing table information. The type is slice of
	// TimingController_Nodes_Node_TimingSource_SynccInstance.
	SynccInstance []*TimingController_Nodes_Node_TimingSource_SynccInstance
}

TimingController_Nodes_Node_TimingSource Syncc timing information for a node

func (*TimingController_Nodes_Node_TimingSource) GetEntityData

func (timingSource *TimingController_Nodes_Node_TimingSource) GetEntityData() *types.CommonEntityData

type TimingController_Nodes_Node_TimingSource_SynccInstance

type TimingController_Nodes_Node_TimingSource_SynccInstance struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Scheduling PLL T0 . The type is slice of
	// TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT0.
	TimingStatusT0 []*TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT0

	// Scheduling PLL T4 . The type is slice of
	// TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT4.
	TimingStatusT4 []*TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT4

	// Scheduling PLL 1588 . The type is slice of
	// TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatus1588.
	TimingStatus1588 []*TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatus1588
}

TimingController_Nodes_Node_TimingSource_SynccInstance List of syncc timing table information

func (*TimingController_Nodes_Node_TimingSource_SynccInstance) GetEntityData

type TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatus1588

type TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatus1588 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Input number. The type is interface{} with range: 0..255.
	Input interface{}

	// Slot number. The type is interface{} with range: 0..255.
	Slot interface{}

	// Port number. The type is interface{} with range: 0..255.
	Port interface{}

	// Status of syncc source type. The type is Source.
	ClockSource interface{}

	// Rank of sync timing source table. The type is interface{} with range:
	// 0..255.
	Rank interface{}

	// Quality level option. The type is interface{} with range: 0..255.
	QualityLevelOption interface{}

	// Quality level value. The type is interface{} with range: 0..255.
	QualityLevelValue interface{}

	// User priority of sync timing source table. The type is interface{} with
	// range: 0..255.
	UserPriority interface{}

	// Status of clock state. The type is SourceStateName.
	ClockState interface{}

	// True if selected. The type is bool.
	IsSelect interface{}
}

TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatus1588 Scheduling PLL 1588

func (*TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatus1588) GetEntityData

type TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT0

type TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT0 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Input number. The type is interface{} with range: 0..255.
	Input interface{}

	// Slot number. The type is interface{} with range: 0..255.
	Slot interface{}

	// Port number. The type is interface{} with range: 0..255.
	Port interface{}

	// Status of syncc source type. The type is Source.
	ClockSource interface{}

	// Rank of sync timing source table. The type is interface{} with range:
	// 0..255.
	Rank interface{}

	// Quality level option. The type is interface{} with range: 0..255.
	QualityLevelOption interface{}

	// Quality level value. The type is interface{} with range: 0..255.
	QualityLevelValue interface{}

	// User priority of sync timing source table. The type is interface{} with
	// range: 0..255.
	UserPriority interface{}

	// Status of clock state. The type is SourceStateName.
	ClockState interface{}

	// True if selected. The type is bool.
	IsSelect interface{}
}

TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT0 Scheduling PLL T0

func (*TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT0) GetEntityData

type TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT4

type TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT4 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Input number. The type is interface{} with range: 0..255.
	Input interface{}

	// Slot number. The type is interface{} with range: 0..255.
	Slot interface{}

	// Port number. The type is interface{} with range: 0..255.
	Port interface{}

	// Status of syncc source type. The type is Source.
	ClockSource interface{}

	// Rank of sync timing source table. The type is interface{} with range:
	// 0..255.
	Rank interface{}

	// Quality level option. The type is interface{} with range: 0..255.
	QualityLevelOption interface{}

	// Quality level value. The type is interface{} with range: 0..255.
	QualityLevelValue interface{}

	// User priority of sync timing source table. The type is interface{} with
	// range: 0..255.
	UserPriority interface{}

	// Status of clock state. The type is SourceStateName.
	ClockState interface{}

	// True if selected. The type is bool.
	IsSelect interface{}
}

TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT4 Scheduling PLL T4

func (*TimingController_Nodes_Node_TimingSource_SynccInstance_TimingStatusT4) GetEntityData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL