sysadmin_pm

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains definitions for the Calvados model objects.

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration.

The Process Manager (PM).

Copyright(c) 2011-2017 by Cisco Systems, Inc. All rights reserved.

Copyright (c) 2012-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 Pm

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

	Pm Pm_Pm
}

Pm

func (*Pm) GetEntityData

func (pm *Pm) GetEntityData() *types.CommonEntityData

type Pm_Pm

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

	// show traceable processes. The type is slice of Pm_Pm_Trace.
	Trace []*Pm_Pm_Trace
}

Pm_Pm

func (*Pm_Pm) GetEntityData

func (pm *Pm_Pm) GetEntityData() *types.CommonEntityData

type Pm_Pm_Trace

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

	// This attribute is a key. The type is string.
	Buffer interface{}

	// The type is slice of Pm_Pm_Trace_Location.
	Location []*Pm_Pm_Trace_Location
}

Pm_Pm_Trace show traceable processes

func (*Pm_Pm_Trace) GetEntityData

func (trace *Pm_Pm_Trace) GetEntityData() *types.CommonEntityData

type Pm_Pm_Trace_Location

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

	// This attribute is a key. The type is string.
	LocationName interface{}

	// The type is slice of Pm_Pm_Trace_Location_AllOptions.
	AllOptions []*Pm_Pm_Trace_Location_AllOptions
}

Pm_Pm_Trace_Location

func (*Pm_Pm_Trace_Location) GetEntityData

func (location *Pm_Pm_Trace_Location) GetEntityData() *types.CommonEntityData

type Pm_Pm_Trace_Location_AllOptions

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

	// This attribute is a key. The type is string.
	Option interface{}

	// The type is slice of Pm_Pm_Trace_Location_AllOptions_TraceBlocks.
	TraceBlocks []*Pm_Pm_Trace_Location_AllOptions_TraceBlocks
}

Pm_Pm_Trace_Location_AllOptions

func (*Pm_Pm_Trace_Location_AllOptions) GetEntityData

func (allOptions *Pm_Pm_Trace_Location_AllOptions) GetEntityData() *types.CommonEntityData

type Pm_Pm_Trace_Location_AllOptions_TraceBlocks

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

	// Trace output block. The type is string.
	Data interface{}
}

Pm_Pm_Trace_Location_AllOptions_TraceBlocks

func (*Pm_Pm_Trace_Location_AllOptions_TraceBlocks) GetEntityData

type ProcessManager

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

	// The type is slice of ProcessManager_AllLocationsInfo.
	AllLocationsInfo []*ProcessManager_AllLocationsInfo
}

ProcessManager Process Manager Info

func (*ProcessManager) GetEntityData

func (processManager *ProcessManager) GetEntityData() *types.CommonEntityData

type ProcessManager_AllLocationsInfo

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

	// This attribute is a key. The type is string.
	LocationInfo interface{}

	// IP address of the location. 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}]+)?.
	IpAddrInfo interface{}

	// Last start date and time for PM. The type is string.
	PmStartTime interface{}

	// PM in mandatory process down state. The type is bool.
	MandProcDown interface{}

	// Status of CAPI with vm-manager. The type is bool.
	VmmCapiUp interface{}

	// Status of CAPI with wdmon. The type is bool.
	WdmonCapiUp interface{}

	// Date and time of last wdmon CAPI connection establish. The type is string.
	WdmonCapiTimestamp interface{}

	// Number of times wdmon CAPI connection extablished. The type is interface{}
	// with range: 0..4294967295.
	WdmonNumCapiConnects interface{}
}

ProcessManager_AllLocationsInfo

func (*ProcessManager_AllLocationsInfo) GetEntityData

func (allLocationsInfo *ProcessManager_AllLocationsInfo) GetEntityData() *types.CommonEntityData

type ProcessState

type ProcessState string

ProcessState

const (
	ProcessState_IDLE ProcessState = "IDLE"

	ProcessState_RUNNING ProcessState = "RUNNING"

	ProcessState_STOPPING ProcessState = "STOPPING"

	ProcessState_STOPPED ProcessState = "STOPPED"

	ProcessState_DESELECTING ProcessState = "DESELECTING"

	ProcessState_DESELECTED ProcessState = "DESELECTED"
)

type Processes

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

	// The type is slice of Processes_AllLocations.
	AllLocations []*Processes_AllLocations
}

Processes Process Info

func (*Processes) GetEntityData

func (processes *Processes) GetEntityData() *types.CommonEntityData

type Processes_AllLocations

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

	// This attribute is a key. The type is string.
	Location interface{}

	// IP address of the location. 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}]+)?.
	IpAddr interface{}

	// Total number of process control blocks. The type is interface{} with range:
	// 0..4294967295.
	Pcbs interface{}

	// The type is slice of Processes_AllLocations_Name.
	Name []*Processes_AllLocations_Name
}

Processes_AllLocations

func (*Processes_AllLocations) GetEntityData

func (allLocations *Processes_AllLocations) GetEntityData() *types.CommonEntityData

type Processes_AllLocations_Name

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

	// This attribute is a key. Name of the process. The type is string.
	ProcName interface{}

	// This attribute is a key. Instance identifier. The type is interface{} with
	// range: 0..4294967295.
	InstanceId interface{}

	// Process path. The type is string.
	Path interface{}

	// Process startup file. The type is string.
	StartupFile interface{}

	// When is a process started. The type is StartupMode.
	StartupMode interface{}

	// Heart beat timeout in sec. The type is interface{} with range:
	// 0..4294967295.
	HeartBeatTimeout interface{}

	// How long ago last heart beat was detected. The type is string.
	LastHeartBeatTime interface{}

	// Maximum num of restarts. The type is interface{} with range: 0..4294967295.
	MaxRestarts interface{}

	// Respawn reset timer in min. The type is interface{} with range:
	// 0..4294967295.
	RespawnResetTimer interface{}

	// Mandatory process. The type is bool.
	Mandatory interface{}

	// Should run during maintenance mode. The type is bool.
	MaintMode interface{}

	// Process arguments. The type is string.
	Args interface{}

	// State of the process. The type is ProcessState.
	ProcState interface{}

	// Process ID. The type is interface{} with range: -2147483648..2147483647.
	Pid interface{}

	// Whether the processes ever aborted. The type is bool.
	ProcAborted interface{}

	// Last exit status/info of the process. The type is string.
	ExitStatus interface{}

	// Total number of respawns of the process. The type is interface{} with
	// range: -2147483648..2147483647.
	Respawns interface{}

	// Last start date and time. The type is string.
	StartTime interface{}

	// Time for ready from start-time. The type is string.
	ReadyTime interface{}

	// Last exit date and time. The type is string.
	LastExitTime interface{}

	// The type is slice of Processes_AllLocations_Name_Services.
	Services []*Processes_AllLocations_Name_Services
}

Processes_AllLocations_Name

func (*Processes_AllLocations_Name) GetEntityData

func (name *Processes_AllLocations_Name) GetEntityData() *types.CommonEntityData

type Processes_AllLocations_Name_Services

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

	// This attribute is a key. Name of the service. The type is string.
	ServiceName interface{}

	// Scope of the service. The type is ServiceScope.
	Scope interface{}

	// Service redundancy support. The type is bool.
	Redundancy interface{}

	// Standby ready for HA. The type is bool.
	HaReady interface{}

	// State of the service. The type is ServiceState.
	ServiceState interface{}

	// Service role. The type is ServiceRole.
	HaRole interface{}

	// New service role, different if PM in process of assigning. The type is
	// ServiceRole.
	NewHaRole interface{}

	// Service seleted to run on the node. The type is bool.
	Selected interface{}

	// First IP address in the selection. 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}]+)?.
	Ip1 interface{}

	// Second IP address in the selection. 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}]+)?.
	Ip2 interface{}

	// Last start date and time. The type is string.
	SvcStartTime interface{}

	// Time it took to get ready since start time. The type is string.
	SvcReadyTime interface{}

	// Time it took to get HA-ready since start time. The type is string.
	SvcHareadyTime interface{}
}

Processes_AllLocations_Name_Services

func (*Processes_AllLocations_Name_Services) GetEntityData

func (services *Processes_AllLocations_Name_Services) GetEntityData() *types.CommonEntityData

type ServiceRole

type ServiceRole string

ServiceRole

const (
	ServiceRole_NONE ServiceRole = "NONE"

	ServiceRole_ACTIVE ServiceRole = "ACTIVE"

	ServiceRole_STANDBY ServiceRole = "STANDBY"
)

type ServiceScope

type ServiceScope string

ServiceScope

const (
	ServiceScope_SYSTEM ServiceScope = "SYSTEM"

	ServiceScope_RACK ServiceScope = "RACK"
)

type ServiceState

type ServiceState string

ServiceState

const (
	ServiceState_SS_IDLE ServiceState = "SS_IDLE"

	ServiceState_SS_RUNNING ServiceState = "SS_RUNNING"

	ServiceState_SS_ACK_PENDING ServiceState = "SS_ACK_PENDING"
)

type StartupMode

type StartupMode string

StartupMode

const (
	StartupMode_ON_BOOTUP StartupMode = "ON-BOOTUP"

	StartupMode_ON_SELECTION StartupMode = "ON-SELECTION"

	StartupMode_ON_DEMAND StartupMode = "ON-DEMAND"
)

Jump to

Keyboard shortcuts

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