sysadmin_issu

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 a collection of YANG definitions for executing and monitoring Cisco IOS-XR sysadmin ISSU operations.

Copyright(c) 2016-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 Issu

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

	// Status of the in-progress or last completed ISSU operation.
	Status Issu_Status

	// Features registered for notifications of ISSU phases.
	Clients Issu_Clients

	// Internal infrastructure state.
	Internals Issu_Internals
}

Issu ISSU actions and operational state

func (*Issu) GetEntityData

func (issu *Issu) GetEntityData() *types.CommonEntityData

type IssuNotif

type IssuNotif string

IssuNotif represents Enumeration of notifications that features can be registered for

const (
	// A sysadmin ISSU operation is beginning
	IssuNotif_notif_sysadmin_op_start IssuNotif = "notif-sysadmin-op-start"

	// A sysadmin ISSU phase is beginning
	IssuNotif_notif_sysadmin_phase_start IssuNotif = "notif-sysadmin-phase-start"

	// A sysadmin ISSU operation is ending
	IssuNotif_notif_sysadmin_op_end IssuNotif = "notif-sysadmin-op-end"
)

type Issu_Clients

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

	// Type of most recent notification sent to clients. The type is IssuNotif.
	Announcement interface{}

	// Status of most recent notification sent to clients. The type is
	// AnnouncementStatus.
	AnnouncementStatus interface{}

	// The type is slice of Issu_Clients_Client.
	Client []*Issu_Clients_Client
}

Issu_Clients Features registered for notifications of ISSU phases

func (*Issu_Clients) GetEntityData

func (clients *Issu_Clients) GetEntityData() *types.CommonEntityData

type Issu_Clients_AnnouncementStatus

type Issu_Clients_AnnouncementStatus string

Issu_Clients_AnnouncementStatus represents Status of most recent notification sent to clients

const (
	// No announcement has yet been sent
	Issu_Clients_AnnouncementStatus_announce_no_notif Issu_Clients_AnnouncementStatus = "announce-no-notif"

	// Announcement is in progress, waiting for responses
	Issu_Clients_AnnouncementStatus_announce_in_progress Issu_Clients_AnnouncementStatus = "announce-in-progress"

	// The announcement has been acknowledged by all clients, ISSU may continue
	Issu_Clients_AnnouncementStatus_announce_success Issu_Clients_AnnouncementStatus = "announce-success"

	// One or more features vetoed the ISSU operation
	Issu_Clients_AnnouncementStatus_announce_veto Issu_Clients_AnnouncementStatus = "announce-veto"

	// One or more features disconnected during the announcement
	Issu_Clients_AnnouncementStatus_announce_disconnect Issu_Clients_AnnouncementStatus = "announce-disconnect"

	// One or more features timed out during the announcement
	Issu_Clients_AnnouncementStatus_announce_timeout Issu_Clients_AnnouncementStatus = "announce-timeout"

	// There was an error ending the announcement to one or more features
	Issu_Clients_AnnouncementStatus_announce_send_error Issu_Clients_AnnouncementStatus = "announce-send-error"

	// One or more features has returned an error during the ISSU operation
	Issu_Clients_AnnouncementStatus_announce_client_error Issu_Clients_AnnouncementStatus = "announce-client-error"
)

type Issu_Clients_Client

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

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

	// This attribute is a key. Node on which the feature process is running. The
	// type is string.
	Location interface{}

	// Which notifications the feature is registered to receive. The type is slice
	// of IssuNotif.
	RegisteredFor []interface{}

	// Type of most recent notification. The type is IssuNotif.
	Notif interface{}

	// Response from this client to most recent notification sent to the client.
	// The type is Response.
	Response interface{}

	// Whether the feature has requested that the current operation be aborted.
	// The type is bool.
	Aborted interface{}

	// Description of the reason for requesting an abort, if applicable. The type
	// is string.
	AbortReason interface{}
}

Issu_Clients_Client

func (*Issu_Clients_Client) GetEntityData

func (client *Issu_Clients_Client) GetEntityData() *types.CommonEntityData

type Issu_Clients_Client_Response

type Issu_Clients_Client_Response string

Issu_Clients_Client_Response represents Response from this client to most recent notification sent to the client

const (
	// No notification has yet been sent
	Issu_Clients_Client_Response_notif_resp_no_notif Issu_Clients_Client_Response = "notif-resp-no-notif"

	// No response has yet been sent
	Issu_Clients_Client_Response_notif_resp_pending Issu_Clients_Client_Response = "notif-resp-pending"

	// The notification has been acknowledged, ISSU may continue
	Issu_Clients_Client_Response_notif_resp_ack Issu_Clients_Client_Response = "notif-resp-ack"

	// The feature has vetoed the ISSU operation
	Issu_Clients_Client_Response_notif_resp_veto Issu_Clients_Client_Response = "notif-resp-veto"

	// The feature has disconnected during the notification
	Issu_Clients_Client_Response_notif_resp_disconnect Issu_Clients_Client_Response = "notif-resp-disconnect"

	// The feature has timed out during the ISSU operation
	Issu_Clients_Client_Response_notif_resp_timeout Issu_Clients_Client_Response = "notif-resp-timeout"

	// There was an error ending the announcement to the feature
	Issu_Clients_Client_Response_notif_resp_send_error Issu_Clients_Client_Response = "notif-resp-send-error"

	// The feature has returned an error during the ISSU operation
	Issu_Clients_Client_Response_notif_resp_client_error Issu_Clients_Client_Response = "notif-resp-client-error"

	// The feature has aborted during the ISSU operation
	Issu_Clients_Client_Response_notif_resp_client_abort Issu_Clients_Client_Response = "notif-resp-client-abort"
)

type Issu_Internals

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

	// Orchestrator module internal state.
	Orchestrator Issu_Internals_Orchestrator

	// Agent module internal state.
	Agents Issu_Internals_Agents

	// Inventory monitor module internal state.
	InventoryMonitor Issu_Internals_InventoryMonitor
}

Issu_Internals Internal infrastructure state

func (*Issu_Internals) GetEntityData

func (internals *Issu_Internals) GetEntityData() *types.CommonEntityData

type Issu_Internals_Agents

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

	// Data on requests being processed by Agent module.
	Requests Issu_Internals_Agents_Requests

	// Inventory of agents held by Agent module.
	Inventory Issu_Internals_Agents_Inventory

	// Reload tracking performed by Agent module.
	ReloadTracking Issu_Internals_Agents_ReloadTracking
}

Issu_Internals_Agents Agent module internal state

func (*Issu_Internals_Agents) GetEntityData

func (agents *Issu_Internals_Agents) GetEntityData() *types.CommonEntityData

type Issu_Internals_Agents_Inventory

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

	// The type is slice of Issu_Internals_Agents_Inventory_Agent.
	Agent []*Issu_Internals_Agents_Inventory_Agent
}

Issu_Internals_Agents_Inventory Inventory of agents held by Agent module

func (*Issu_Internals_Agents_Inventory) GetEntityData

func (inventory *Issu_Internals_Agents_Inventory) GetEntityData() *types.CommonEntityData

type Issu_Internals_Agents_Inventory_Agent

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

	// This attribute is a key. Integer agent index. The type is interface{} with
	// range: 0..4294967295.
	AgentIndex interface{}

	// Agent node ID. The type is string.
	AgentNode interface{}

	// True if node has been reloaded. False otherwise. The type is bool.
	Reloaded interface{}
}

Issu_Internals_Agents_Inventory_Agent

func (*Issu_Internals_Agents_Inventory_Agent) GetEntityData

type Issu_Internals_Agents_ReloadTracking

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

	// True if reload tracking in progress. The type is bool.
	InProgress interface{}

	// Number of nodes which have not yet reloaded. The type is interface{} with
	// range: 0..4294967295.
	RemainingNodesCount interface{}

	// The type is slice of Issu_Internals_Agents_ReloadTracking_Node.
	Node []*Issu_Internals_Agents_ReloadTracking_Node
}

Issu_Internals_Agents_ReloadTracking Reload tracking performed by Agent module

func (*Issu_Internals_Agents_ReloadTracking) GetEntityData

func (reloadTracking *Issu_Internals_Agents_ReloadTracking) GetEntityData() *types.CommonEntityData

type Issu_Internals_Agents_ReloadTracking_Node

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

	// This attribute is a key. Integer node index. The type is interface{} with
	// range: 0..4294967295.
	NodeIndex interface{}

	// Node ID. The type is string.
	Id interface{}

	// True if node has been reloaded. False otherwise. The type is bool.
	Reloaded interface{}
}

Issu_Internals_Agents_ReloadTracking_Node

func (*Issu_Internals_Agents_ReloadTracking_Node) GetEntityData

type Issu_Internals_Agents_Requests

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

	// The type is slice of Issu_Internals_Agents_Requests_Request.
	Request []*Issu_Internals_Agents_Requests_Request
}

Issu_Internals_Agents_Requests Data on requests being processed by Agent module

func (*Issu_Internals_Agents_Requests) GetEntityData

func (requests *Issu_Internals_Agents_Requests) GetEntityData() *types.CommonEntityData

type Issu_Internals_Agents_Requests_Request

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

	// This attribute is a key. Integer request index. The type is interface{}
	// with range: 0..4294967295.
	RequestIndex interface{}

	// Type of request. The type is RequestType.
	RequestType interface{}

	// Number of requests sent. Equal to number of expected responses. The type is
	// interface{} with range: 0..4294967295.
	RequestsSent interface{}

	// Number of responses received from agents. The type is interface{} with
	// range: 0..4294967295.
	ResponsesReceived interface{}

	Checkpoint Issu_Internals_Agents_Requests_Request_Checkpoint

	Agents Issu_Internals_Agents_Requests_Request_Agents
}

Issu_Internals_Agents_Requests_Request

func (*Issu_Internals_Agents_Requests_Request) GetEntityData

type Issu_Internals_Agents_Requests_Request_Agents

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

	// The type is slice of Issu_Internals_Agents_Requests_Request_Agents_Agent.
	Agent []*Issu_Internals_Agents_Requests_Request_Agents_Agent
}

Issu_Internals_Agents_Requests_Request_Agents

func (*Issu_Internals_Agents_Requests_Request_Agents) GetEntityData

type Issu_Internals_Agents_Requests_Request_Agents_Agent

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

	// This attribute is a key. Integer agent index. The type is interface{} with
	// range: 0..4294967295.
	AgentIndex interface{}

	// Node ID. The type is string.
	Node interface{}

	// Indicates whether this agent has responded. The type is bool.
	WaitingForResponse interface{}

	ResponseContents Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents
}

Issu_Internals_Agents_Requests_Request_Agents_Agent

func (*Issu_Internals_Agents_Requests_Request_Agents_Agent) GetEntityData

type Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents

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

	// Enum indicating node status. The type is AgentStatus.
	AgentStatus interface{}

	// Further details of error occuring. The type is string.
	ErrorDetails interface{}
}

Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents

func (*Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents) GetEntityData

type Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus

type Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus string

Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus represents Enum indicating node status

const (
	// Node is ready/operation successful
	Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus_agent_response_ok Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus = "agent-response-ok"

	// Otherwise undefined error
	Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus_agent_response_error Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus = "agent-response-error"

	// Timeout during request
	Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus_agent_response_timeout Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus = "agent-response-timeout"

	// Failed to send request
	Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus_agent_response_send_failure Issu_Internals_Agents_Requests_Request_Agents_Agent_ResponseContents_AgentStatus = "agent-response-send-failure"
)

type Issu_Internals_Agents_Requests_Request_Checkpoint

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

	// Checkpoint request type. The type is MessageType.
	MessageType interface{}

	// Length of checkpoint data. 0 for start/end requests. The type is
	// interface{} with range: 0..4294967295.
	DataLength interface{}

	// Filename of associated checkpoint file. The type is string.
	Filename interface{}
}

Issu_Internals_Agents_Requests_Request_Checkpoint

func (*Issu_Internals_Agents_Requests_Request_Checkpoint) GetEntityData

type Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType

type Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType string

Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType represents Checkpoint request type

const (
	// Start request
	Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType_requests_checkpoint_start Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType = "requests-checkpoint-start"

	// End request
	Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType_requests_checkpoint_end Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType = "requests-checkpoint-end"

	// Update request
	Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType_requests_checkpoint_update Issu_Internals_Agents_Requests_Request_Checkpoint_MessageType = "requests-checkpoint-update"
)

type Issu_Internals_Agents_Requests_Request_RequestType

type Issu_Internals_Agents_Requests_Request_RequestType string

Issu_Internals_Agents_Requests_Request_RequestType represents Type of request

const (
	// Node ready request
	Issu_Internals_Agents_Requests_Request_RequestType_requests_node_ready Issu_Internals_Agents_Requests_Request_RequestType = "requests-node-ready"

	// Checkpoint request
	Issu_Internals_Agents_Requests_Request_RequestType_requests_checkpoint Issu_Internals_Agents_Requests_Request_RequestType = "requests-checkpoint"

	// Post-upgrade cleanup request
	Issu_Internals_Agents_Requests_Request_RequestType_requests_post_upgrade_cleanup Issu_Internals_Agents_Requests_Request_RequestType = "requests-post-upgrade-cleanup"
)

type Issu_Internals_InventoryMonitor

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

	// Inventory of nodes in the system held by ISSU Director.
	Inventory Issu_Internals_InventoryMonitor_Inventory
}

Issu_Internals_InventoryMonitor Inventory monitor module internal state

func (*Issu_Internals_InventoryMonitor) GetEntityData

func (inventoryMonitor *Issu_Internals_InventoryMonitor) GetEntityData() *types.CommonEntityData

type Issu_Internals_InventoryMonitor_Inventory

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

	// The tree of nodes within the Inventory monitor module, keyed by node ID.
	// The type is slice of Issu_Internals_InventoryMonitor_Inventory_Node.
	Node []*Issu_Internals_InventoryMonitor_Inventory_Node
}

Issu_Internals_InventoryMonitor_Inventory Inventory of nodes in the system held by ISSU Director

func (*Issu_Internals_InventoryMonitor_Inventory) GetEntityData

type Issu_Internals_InventoryMonitor_Inventory_Node

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

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

	// Node IP address. The type is string.
	Ip interface{}
}

Issu_Internals_InventoryMonitor_Inventory_Node The tree of nodes within the Inventory monitor module, keyed by node ID

func (*Issu_Internals_InventoryMonitor_Inventory_Node) GetEntityData

type Issu_Internals_OpRequestType

type Issu_Internals_OpRequestType string

Issu_Internals_OpRequestType represents Enumeration of requests that initiate (part of) an ISSU operation

const (
	// Request to execute the prepare phase of an operation
	Issu_Internals_OpRequestType_operation_request_prepare Issu_Internals_OpRequestType = "operation-request-prepare"

	// Request to activate prepared packages
	Issu_Internals_OpRequestType_operation_request_activate Issu_Internals_OpRequestType = "operation-request-activate"

	// Request to execute both prepare and deactivate phases of an operation
	Issu_Internals_OpRequestType_operation_request_deactivate Issu_Internals_OpRequestType = "operation-request-deactivate"

	// Recover the system from a failed activate or deactivate operation
	Issu_Internals_OpRequestType_operation_request_recover Issu_Internals_OpRequestType = "operation-request-recover"
)

type Issu_Internals_Orchestrator

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

	// Command issued. The type is OpRequestType.
	Command interface{}

	// Type of operation: activate or deactivate. The type is OpRequestType.
	OperationType interface{}

	// Operation being performed. The type is OpRequestType.
	CurrentOperation interface{}

	// True if the overall ISSU operation has been completed, false otherwise. The
	// type is bool.
	IssuCompleted interface{}

	// The ID for the operation. The type is interface{} with range:
	// 0..4294967295.
	OperationId interface{}

	// True if an operation is in progress. The type is bool.
	InProgress interface{}

	OperationStartDetails Issu_Internals_Orchestrator_OperationStartDetails

	InternalPrepare Issu_Internals_Orchestrator_InternalPrepare

	InternalActivate Issu_Internals_Orchestrator_InternalActivate

	Error Issu_Internals_Orchestrator_Error
}

Issu_Internals_Orchestrator Orchestrator module internal state

func (*Issu_Internals_Orchestrator) GetEntityData

func (orchestrator *Issu_Internals_Orchestrator) GetEntityData() *types.CommonEntityData

type Issu_Internals_Orchestrator_Error

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

	// Overall status of the operation. The type is string.
	OperationStatus interface{}

	// Operation in progress when first error was encountered. The type is
	// OpRequestType.
	FailureOperation interface{}

	// Stage being undertaken when first failure was encountered. The type is
	// StageType.
	FailureExternalStage interface{}

	// Description of the internal state when first error encountered. The type is
	// string.
	FailureInternalStageDetails interface{}

	// String describing error encountered. The type is string.
	ErrorDetails interface{}

	// Nodes on which a failure occurred. The type is slice of string.
	FailedNode []interface{}

	// Packages which caused a failure. The type is slice of string.
	FailedPackage []interface{}

	// Operation IDs which caused a failure. The type is slice of interface{} with
	// range: 0..4294967295.
	FailedOperationId []interface{}

	// Registered features which caused a failure. The type is slice of string.
	FailedClient []interface{}

	// True if a recovery has been attempted or is currently in progress. The type
	// is bool.
	RecoveryAttempted interface{}

	// Status of the recovery operation. The type is string.
	RecoveryStatus interface{}
}

Issu_Internals_Orchestrator_Error

func (*Issu_Internals_Orchestrator_Error) GetEntityData

type Issu_Internals_Orchestrator_InternalActivate

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

	// ID of prepare operation. The type is interface{} with range: 0..4294967295.
	OperationId interface{}

	// True if activate phase complete. The type is bool.
	Complete interface{}

	// Current stage of activate operation, if a stage is in progress. The type is
	// StageType.
	CurrentStage interface{}

	// Current phase of activate operation, if phase is relevant. The type is
	// PhaseType.
	CurrentPhase interface{}

	// Indicates whether any host packages have been prepared. The type is bool.
	HostPrepared interface{}

	// Indicates whether any Calvados packages have been prepared. The type is
	// bool.
	CalvadosPrepared interface{}

	// Nodes participating in host ISSU. The type is slice of string.
	HostNode []interface{}

	// Nodes participating in phase one of Calvados ISSU. The type is slice of
	// string.
	CalvadosPhaseOneNode []interface{}

	// Nodes participating in phase two of Calvados ISSU. The type is slice of
	// string.
	CalvadosPhaseTwoNode []interface{}

	ActivateStageHistory Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory
}

Issu_Internals_Orchestrator_InternalActivate

func (*Issu_Internals_Orchestrator_InternalActivate) GetEntityData

func (internalActivate *Issu_Internals_Orchestrator_InternalActivate) GetEntityData() *types.CommonEntityData

type Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory

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

	// The type is slice of
	// Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory_HistoricalStage.
	HistoricalStage []*Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory_HistoricalStage
}

Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory

func (*Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory) GetEntityData

type Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory_HistoricalStage

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

	// This attribute is a key. Integer stage index. The type is interface{} with
	// range: 0..4294967295.
	StageIndex interface{}

	// External stage of operation. The type is OpStage.
	ExternalStage interface{}

	// Details of the internal stage. The type is string.
	InternalStageDetails interface{}

	// Status of the stage. The type is string.
	Status interface{}

	// Further error details. The type is string.
	ErrorDetails interface{}

	// Start time of stage. 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}).
	StartTime interface{}

	// End time of stage. 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}).
	EndTime interface{}

	// Is the stage complete?. The type is bool.
	Complete interface{}
}

Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory_HistoricalStage

func (*Issu_Internals_Orchestrator_InternalActivate_ActivateStageHistory_HistoricalStage) GetEntityData

type Issu_Internals_Orchestrator_InternalPrepare

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

	// ID of prepare operation. The type is interface{} with range: 0..4294967295.
	OperationId interface{}

	// True if prepare phase complete. The type is bool.
	Complete interface{}

	// Current stage of prepare operation, if a stage is in progress. The type is
	// StageType.
	CurrentStage interface{}

	// Host packages to be used in the ISSU. The type is slice of string.
	HostPackage []interface{}

	// Calvados packages to be used in the ISSU. The type is slice of string.
	CalvadosPackage []interface{}

	PrepareStageHistory Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory
}

Issu_Internals_Orchestrator_InternalPrepare

func (*Issu_Internals_Orchestrator_InternalPrepare) GetEntityData

func (internalPrepare *Issu_Internals_Orchestrator_InternalPrepare) GetEntityData() *types.CommonEntityData

type Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory

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

	// The type is slice of
	// Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory_HistoricalStage.
	HistoricalStage []*Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory_HistoricalStage
}

Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory

func (*Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory) GetEntityData

type Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory_HistoricalStage

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

	// This attribute is a key. Integer stage index. The type is interface{} with
	// range: 0..4294967295.
	StageIndex interface{}

	// External stage of operation. The type is OpStage.
	ExternalStage interface{}

	// Details of the internal stage. The type is string.
	InternalStageDetails interface{}

	// Status of the stage. The type is string.
	Status interface{}

	// Further error details. The type is string.
	ErrorDetails interface{}

	// Start time of stage. 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}).
	StartTime interface{}

	// End time of stage. 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}).
	EndTime interface{}

	// Is the stage complete?. The type is bool.
	Complete interface{}
}

Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory_HistoricalStage

func (*Issu_Internals_Orchestrator_InternalPrepare_PrepareStageHistory_HistoricalStage) GetEntityData

type Issu_Internals_Orchestrator_OperationStartDetails

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

	// Packages used to initiate the operation. The type is slice of string.
	InputPackage []interface{}

	// Operation IDs used to initiate operation. The type is slice of interface{}
	// with range: 0..4294967295.
	InputOperationId []interface{}
}

Issu_Internals_Orchestrator_OperationStartDetails

func (*Issu_Internals_Orchestrator_OperationStartDetails) GetEntityData

func (operationStartDetails *Issu_Internals_Orchestrator_OperationStartDetails) GetEntityData() *types.CommonEntityData

type Issu_Internals_PhaseType

type Issu_Internals_PhaseType string

Issu_Internals_PhaseType represents Calvados activate phase

const (
	// Phase one of the Calvados activate operation
	Issu_Internals_PhaseType_calvados_activate_phase_one Issu_Internals_PhaseType = "calvados-activate-phase-one"

	// Phase two of the Calvados activate operation
	Issu_Internals_PhaseType_calvados_activate_phase_two Issu_Internals_PhaseType = "calvados-activate-phase-two"
)

type Issu_Internals_StageType

type Issu_Internals_StageType string

Issu_Internals_StageType represents Enumeration of possible internal stages in an operation

const (
	// Start of operation
	Issu_Internals_StageType_start Issu_Internals_StageType = "start"

	// End of operation
	Issu_Internals_StageType_end Issu_Internals_StageType = "end"

	// Inventory precheck
	Issu_Internals_StageType_prepare_inventory_precheck Issu_Internals_StageType = "prepare-inventory-precheck"

	// Expand add operation IDs to packages
	Issu_Internals_StageType_prepare_expand_operation_ids Issu_Internals_StageType = "prepare-expand-operation-ids"

	// Retrieve package metadata
	Issu_Internals_StageType_prepare_get_metadata Issu_Internals_StageType = "prepare-get-metadata"

	// Extract constituent packages
	Issu_Internals_StageType_prepare_extract_composite Issu_Internals_StageType = "prepare-extract-composite"

	// Verify package contents
	Issu_Internals_StageType_prepare_verify_packages Issu_Internals_StageType = "prepare-verify-packages"

	// The host preparation
	Issu_Internals_StageType_prepare_host Issu_Internals_StageType = "prepare-host"

	// The Calvados preparation
	Issu_Internals_StageType_prepare_calvados Issu_Internals_StageType = "prepare-calvados"

	// Verify package contents for deactivation
	Issu_Internals_StageType_prepare_deactivate_verify_packages Issu_Internals_StageType = "prepare-deactivate-verify-packages"

	// The Calvados preparation for deactivation
	Issu_Internals_StageType_prepare_deactivate_calvados Issu_Internals_StageType = "prepare-deactivate-calvados"

	// Abort the prepare operation
	Issu_Internals_StageType_prepare_abort Issu_Internals_StageType = "prepare-abort"

	// Clean-up of prepare operation
	Issu_Internals_StageType_prepare_clean Issu_Internals_StageType = "prepare-clean"

	// Activation preamble
	Issu_Internals_StageType_activate_preamble Issu_Internals_StageType = "activate-preamble"

	// Deactivation preamble
	Issu_Internals_StageType_deactivate_preamble Issu_Internals_StageType = "deactivate-preamble"

	// Calvados-specific activation preamble
	Issu_Internals_StageType_activate_calvados_preamble Issu_Internals_StageType = "activate-calvados-preamble"

	// Activate the Calvados software
	Issu_Internals_StageType_activate_calvados_phase Issu_Internals_StageType = "activate-calvados-phase"

	// Reload Calvados VMs
	Issu_Internals_StageType_activate_calvados_phase_reload Issu_Internals_StageType = "activate-calvados-phase-reload"

	// Post VM restart checks for Calvados
	Issu_Internals_StageType_activate_calvados_phase_postamble Issu_Internals_StageType = "activate-calvados-phase-postamble"

	// Post Calvados activation handling
	Issu_Internals_StageType_activate_calvados_postamble Issu_Internals_StageType = "activate-calvados-postamble"

	// Execute host ISSU
	Issu_Internals_StageType_activate_host Issu_Internals_StageType = "activate-host"

	// Post-processing for the activate operation
	Issu_Internals_StageType_activate_postamble Issu_Internals_StageType = "activate-postamble"

	// Deactivate the Calvados software
	Issu_Internals_StageType_deactivate_calvados Issu_Internals_StageType = "deactivate-calvados"

	// Abort the activate operation, no recovery is necessary
	Issu_Internals_StageType_activate_abort_no_recovery Issu_Internals_StageType = "activate-abort-no-recovery"

	// Abort the activate operation, no recovery is possible
	Issu_Internals_StageType_activate_abort_unrecoverable Issu_Internals_StageType = "activate-abort-unrecoverable"

	// Pause following an error
	Issu_Internals_StageType_activate_error_pause Issu_Internals_StageType = "activate-error-pause"

	// Rollback to committed Calvados
	Issu_Internals_StageType_activate_calvados_recovery Issu_Internals_StageType = "activate-calvados-recovery"

	// Post rollback to committed Calvados
	Issu_Internals_StageType_activate_recovery_postamble Issu_Internals_StageType = "activate-recovery-postamble"
)

type Issu_Status

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

	// Whether the operation is an activate or deactivate. Both types of operation
	// go through 'prepare' and 'activate' phases.The difference is the end
	// result: whether the target packages are made to run, or removed from the
	// running software. The type is OperationType.
	OperationType interface{}

	// ID for the current/latest phase of the operation. The type is interface{}
	// with range: 0..4294967295.
	Id interface{}

	// ID for the prepare phase of the operation. The type is interface{} with
	// range: 0..4294967295.
	PrepareId interface{}

	// ID for the activate or deactivate phase of the operation. The type is
	// interface{} with range: 0..4294967295.
	ActivateId interface{}

	// Sysadmin packages that are part of the operation. The type is slice of
	// string.
	SysadminPackages []interface{}

	// Host OS packages that are part of the operation. The type is slice of
	// string.
	HostPackages []interface{}

	// Whether or not the operation has completed. The type is bool.
	Complete interface{}

	// Whether the operation succeeded or failed, and the error if any. If in
	// progress, this reflects the current state. The type is OpResult.
	Result interface{}

	// If a recovery attempt has been completed, an indication of whether the
	// recovery succeeded or failed, and the error if any. The type is OpResult.
	RecoverResult interface{}

	// State specific to the prepare phase.
	Prepare Issu_Status_Prepare

	// State specific to the activate phase.
	Activate Issu_Status_Activate

	// Details of the first error that was encountered, if there were any.
	Error Issu_Status_Error
}

Issu_Status Status of the in-progress or last completed ISSU operation

func (*Issu_Status) GetEntityData

func (status *Issu_Status) GetEntityData() *types.CommonEntityData

type Issu_Status_Activate

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

	// Progress of the activate phase. The type is OpStage.
	Stage interface{}

	// When this phase was started. 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}).
	StartTime interface{}

	// A description of the current orchestration activity being executed. The
	// type is string.
	Activity interface{}

	// Nodes on which the current orchestration activity is being executed. The
	// type is slice of string.
	ActivityNodes []interface{}

	// A description of what needs to happen before the next orchestration
	// activity can be started. The type is string.
	ActivityWaitingFor interface{}

	// When the current activity was started. 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}).
	ActivityStartTime interface{}
}

Issu_Status_Activate State specific to the activate phase

func (*Issu_Status_Activate) GetEntityData

func (activate *Issu_Status_Activate) GetEntityData() *types.CommonEntityData

type Issu_Status_Error

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

	// If the operation has completed, an indication of whether the operation
	// succeeded or failed, and the error if any. The type is OpResult.
	Result interface{}

	// The stage during which the error was encountered. The type is OpStage.
	Stage interface{}

	// Message describing the error. The type is string.
	ErrorMessage interface{}

	// Details specific to the error. Contents are only filled in if it is
	// relevant to the error that occured.
	Details Issu_Status_Error_Details
}

Issu_Status_Error Details of the first error that was encountered, if there were any.

func (*Issu_Status_Error) GetEntityData

func (self *Issu_Status_Error) GetEntityData() *types.CommonEntityData

type Issu_Status_Error_Details

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

	// A list of the nodes affected by or causing the error. The type is slice of
	// string.
	Nodes []interface{}

	// A list of the registered features affected by or causing the error. The
	// type is slice of string.
	Clients []interface{}

	// A list of the packages affected by or causing the error. The type is slice
	// of string.
	Packages []interface{}

	// A list of the operation IDs affected by or causing the error. The type is
	// slice of interface{} with range: 0..4294967295.
	OperationIds []interface{}
}

Issu_Status_Error_Details Details specific to the error. Contents are only filled in if it is relevant to the error that occured.

func (*Issu_Status_Error_Details) GetEntityData

func (details *Issu_Status_Error_Details) GetEntityData() *types.CommonEntityData

type Issu_Status_OperationType

type Issu_Status_OperationType string

Issu_Status_OperationType represents Whether the operation is an activate or deactivate. Both types of operation go through 'prepare' and 'activate' phases.The difference is the end result: whether the target packages are made to run, or removed from the running software.

const (
	// No ISSU operations have been attempted.
	Issu_Status_OperationType_no_operation Issu_Status_OperationType = "no-operation"

	// Overall operation will add or upgrade packages in the running software
	Issu_Status_OperationType_activate_operation Issu_Status_OperationType = "activate-operation"

	// Overall operation will remove packages from the running software
	Issu_Status_OperationType_deactivate_operation Issu_Status_OperationType = "deactivate-operation"
)

type Issu_Status_Prepare

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

	// Progress of the prepare phase. The type is OpStage.
	Stage interface{}

	// When this ehase was started. 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}).
	StartTime interface{}

	// A description of the current orchestration activity being executed. The
	// type is string.
	Activity interface{}

	// When the current activity was started. 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}).
	ActivityStartTime interface{}
}

Issu_Status_Prepare State specific to the prepare phase

func (*Issu_Status_Prepare) GetEntityData

func (prepare *Issu_Status_Prepare) GetEntityData() *types.CommonEntityData

type OpResult

type OpResult string

OpResult represents Enumeration of errors that can be encountered during an ISSU operation

const (
	// Operation succeeded
	OpResult_success OpResult = "success"

	// Part or all of the input was invalid
	OpResult_error_input OpResult = "error-input"

	// An internal error occurred during ISSU orchestration
	OpResult_error_orchestration OpResult = "error-orchestration"

	// An error occured in the install infrastructure
	OpResult_error_install OpResult = "error-install"

	// Not all nodes in the system have the required redundancy to allow an ISSU to proceed
	OpResult_error_node_redundancy OpResult = "error-node-redundancy"
)

type OpStage

type OpStage string

OpStage represents Enumeration of stages that the ISSU operation can be in

const (
	// Prechecks and preprocessing
	OpStage_prepare_preamble OpStage = "prepare-preamble"

	// Host package preparation
	OpStage_prepare_host OpStage = "prepare-host"

	// Sysadmin package preparation
	OpStage_prepare_sysadmin OpStage = "prepare-sysadmin"

	// Aborting after encountering an error
	OpStage_prepare_aborting OpStage = "prepare-aborting"

	// Operation post-processing
	OpStage_prepare_postamble OpStage = "prepare-postamble"

	// All preparation complete
	OpStage_prepare_complete OpStage = "prepare-complete"

	// Pre-checks and pre-processing
	OpStage_activate_preamble OpStage = "activate-preamble"

	// Sysadmin activation on first subset of nodes
	OpStage_activate_sysadmin_phase_one OpStage = "activate-sysadmin-phase-one"

	// Sysadmin activation on second subset of nodes
	OpStage_activate_sysadmin_phase_two OpStage = "activate-sysadmin-phase-two"

	// Host activation
	OpStage_activate_host OpStage = "activate-host"

	// Aborting after encountering an error, from which it is not possible to recover
	OpStage_activate_aborting OpStage = "activate-aborting"

	// Paused after encountering an error from which it is possible to recover
	OpStage_activate_paused OpStage = "activate-paused"

	// Post-checks and post-processing
	OpStage_activate_postamble OpStage = "activate-postamble"

	// All activation complete
	OpStage_activate_complete OpStage = "activate-complete"
)

type OpStartResult

type OpStartResult string

OpStartResult represents Enumeration of errors that can be encountered while attempting to begin an ISSU operation

const (
	// Operation was started successfully
	OpStartResult_start_success OpStartResult = "start-success"

	// Another ISSU operation is already in progress
	OpStartResult_error_operation_in_progress OpStartResult = "error-operation-in-progress"

	// A request to activate the prepared software was made, but there is no successfully prepared software
	OpStartResult_activate_error_no_prepare OpStartResult = "activate-error-no-prepare"

	// A request to prepare software was made, but previously prepared software exists
	OpStartResult_prepare_error_previous_prepare OpStartResult = "prepare-error-previous-prepare"

	// The system is in a state that makes in-service recovery impossible
	OpStartResult_recover_error_unrecoverable OpStartResult = "recover-error-unrecoverable"

	// An internal error occured while attempting to start the operation
	OpStartResult_start_error_internal OpStartResult = "start-error-internal"

	// A previous install operation has not been committed
	OpStartResult_prepare_error_previous_operation_not_committed OpStartResult = "prepare-error-previous-operation-not-committed"

	// An install operation is already in progress
	OpStartResult_prepare_error_already_in_progress OpStartResult = "prepare-error-already-in-progress"
)

Jump to

Keyboard shortcuts

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