Documentation ¶
Index ¶
- Variables
- func FromStringToStruct[T Xname](xname string) *T
- func GetHMSType(obj interface{}) (xnametypes.HMSType, error)
- type CDU
- type CDUMgmtSwitch
- type CEC
- type CMMFpga
- type CMMRectifier
- type Cabinet
- func (x Cabinet) CEC(cEC int) CEC
- func (x Cabinet) CabinetBMC(cabinetBMC int) CabinetBMC
- func (x Cabinet) CabinetCDU(cabinetCDU int) CabinetCDU
- func (x Cabinet) CabinetPDUController(cabinetPDUController int) CabinetPDUController
- func (x Cabinet) Chassis(chassis int) Chassis
- func (x Cabinet) Parent() System
- func (x Cabinet) ParentInterface() Xname
- func (x Cabinet) String() string
- func (x Cabinet) Type() xnametypes.HMSType
- func (x Cabinet) Validate() error
- type CabinetBMC
- type CabinetCDU
- type CabinetPDU
- func (x CabinetPDU) CabinetPDUOutlet(cabinetPDUOutlet int) CabinetPDUOutlet
- func (x CabinetPDU) CabinetPDUPowerConnector(cabinetPDUPowerConnector int) CabinetPDUPowerConnector
- func (x CabinetPDU) Parent() CabinetPDUController
- func (x CabinetPDU) ParentInterface() Xname
- func (x CabinetPDU) String() string
- func (x CabinetPDU) Type() xnametypes.HMSType
- func (x CabinetPDU) Validate() error
- type CabinetPDUController
- func (x CabinetPDUController) CabinetPDU(cabinetPDU int) CabinetPDU
- func (x CabinetPDUController) CabinetPDUNic(cabinetPDUNic int) CabinetPDUNic
- func (x CabinetPDUController) Parent() Cabinet
- func (x CabinetPDUController) ParentInterface() Xname
- func (x CabinetPDUController) String() string
- func (x CabinetPDUController) Type() xnametypes.HMSType
- func (x CabinetPDUController) Validate() error
- type CabinetPDUNic
- type CabinetPDUOutlet
- type CabinetPDUPowerConnector
- type Chassis
- func (x Chassis) CMMFpga(cMMFpga int) CMMFpga
- func (x Chassis) CMMRectifier(cMMRectifier int) CMMRectifier
- func (x Chassis) ChassisBMC(chassisBMC int) ChassisBMC
- func (x Chassis) ComputeModule(computeModule int) ComputeModule
- func (x Chassis) MgmtHLSwitchEnclosure(mgmtHLSwitchEnclosure int) MgmtHLSwitchEnclosure
- func (x Chassis) MgmtSwitch(mgmtSwitch int) MgmtSwitch
- func (x Chassis) Parent() Cabinet
- func (x Chassis) ParentInterface() Xname
- func (x Chassis) RouterModule(routerModule int) RouterModule
- func (x Chassis) String() string
- func (x Chassis) Type() xnametypes.HMSType
- func (x Chassis) Validate() error
- type ChassisBMC
- type ChassisBMCNic
- type ComputeModule
- func (x ComputeModule) NodeBMC(nodeBMC int) NodeBMC
- func (x ComputeModule) NodeEnclosure(nodeEnclosure int) NodeEnclosure
- func (x ComputeModule) NodePowerConnector(nodePowerConnector int) NodePowerConnector
- func (x ComputeModule) Parent() Chassis
- func (x ComputeModule) ParentInterface() Xname
- func (x ComputeModule) String() string
- func (x ComputeModule) Type() xnametypes.HMSType
- func (x ComputeModule) Validate() error
- type Drive
- type HSNAsic
- type HSNBoard
- type HSNConnector
- type HSNConnectorPort
- type HSNLink
- type Memory
- type MgmtHLSwitch
- type MgmtHLSwitchEnclosure
- func (x MgmtHLSwitchEnclosure) MgmtHLSwitch(mgmtHLSwitch int) MgmtHLSwitch
- func (x MgmtHLSwitchEnclosure) Parent() Chassis
- func (x MgmtHLSwitchEnclosure) ParentInterface() Xname
- func (x MgmtHLSwitchEnclosure) String() string
- func (x MgmtHLSwitchEnclosure) Type() xnametypes.HMSType
- func (x MgmtHLSwitchEnclosure) Validate() error
- type MgmtSwitch
- type MgmtSwitchConnector
- type Node
- func (x Node) Memory(memory int) Memory
- func (x Node) NodeAccel(nodeAccel int) NodeAccel
- func (x Node) NodeAccelRiser(nodeAccelRiser int) NodeAccelRiser
- func (x Node) NodeHsnNic(nodeHsnNic int) NodeHsnNic
- func (x Node) NodeNic(nodeNic int) NodeNic
- func (x Node) Parent() NodeBMC
- func (x Node) ParentInterface() Xname
- func (x Node) Processor(processor int) Processor
- func (x Node) StorageGroup(storageGroup int) StorageGroup
- func (x Node) String() string
- func (x Node) Type() xnametypes.HMSType
- func (x Node) Validate() error
- func (x Node) VirtualNode(virtualNode int) VirtualNode
- type NodeAccel
- type NodeAccelRiser
- type NodeBMC
- type NodeBMCNic
- type NodeEnclosure
- func (x NodeEnclosure) NodeEnclosurePowerSupply(nodeEnclosurePowerSupply int) NodeEnclosurePowerSupply
- func (x NodeEnclosure) NodeFpga(nodeFpga int) NodeFpga
- func (x NodeEnclosure) Parent() ComputeModule
- func (x NodeEnclosure) ParentInterface() Xname
- func (x NodeEnclosure) String() string
- func (x NodeEnclosure) Type() xnametypes.HMSType
- func (x NodeEnclosure) Validate() error
- type NodeEnclosurePowerSupply
- type NodeFpga
- type NodeHsnNic
- type NodeNic
- type NodePowerConnector
- type Processor
- type RouterBMC
- type RouterBMCNic
- type RouterFpga
- type RouterModule
- func (x RouterModule) HSNAsic(hSNAsic int) HSNAsic
- func (x RouterModule) HSNBoard(hSNBoard int) HSNBoard
- func (x RouterModule) HSNConnector(hSNConnector int) HSNConnector
- func (x RouterModule) Parent() Chassis
- func (x RouterModule) ParentInterface() Xname
- func (x RouterModule) RouterBMC(routerBMC int) RouterBMC
- func (x RouterModule) RouterFpga(routerFpga int) RouterFpga
- func (x RouterModule) RouterPowerConnector(routerPowerConnector int) RouterPowerConnector
- func (x RouterModule) RouterTOR(routerTOR int) RouterTOR
- func (x RouterModule) String() string
- func (x RouterModule) Type() xnametypes.HMSType
- func (x RouterModule) Validate() error
- type RouterPowerConnector
- type RouterTOR
- type RouterTORFpga
- type StorageGroup
- type System
- type Validator
- type VirtualNode
- type Xname
Constants ¶
This section is empty.
Variables ¶
var ErrUnknownStruct = errors.New("unable to determine HMS Type from struct")
Functions ¶
func FromStringToStruct ¶ added in v1.2.0
func GetHMSType ¶
func GetHMSType(obj interface{}) (xnametypes.HMSType, error)
GetHMSType for a given xname structure will return its HMSType If the given object is not a structure from the xnames package, then the ErrUnknownStruct will be returned along with HMSTypeInvalid
Types ¶
type CDU ¶
type CDU struct {
CDU int // dD
}
CDU - dD
func (CDU) CDUMgmtSwitch ¶
func (x CDU) CDUMgmtSwitch(cDUMgmtSwitch int) CDUMgmtSwitch
CDUMgmtSwitch will get a child component with the specified ordinal
func (CDU) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this CDU, and return it as a Xname interface
func (CDU) Type ¶ added in v1.1.0
func (x CDU) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type CDUMgmtSwitch ¶
CDUMgmtSwitch - dDwW
func (CDUMgmtSwitch) Parent ¶
func (x CDUMgmtSwitch) Parent() CDU
Parent will determine the parent of this CDUMgmtSwitch
func (CDUMgmtSwitch) ParentInterface ¶ added in v1.1.0
func (x CDUMgmtSwitch) ParentInterface() Xname
ParentGeneric will determine the parent of this CDUMgmtSwitch, and return it as a Xname interface
func (CDUMgmtSwitch) String ¶
func (x CDUMgmtSwitch) String() string
String will stringify CDUMgmtSwitch into the format of dDwW
func (CDUMgmtSwitch) Type ¶ added in v1.1.0
func (x CDUMgmtSwitch) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CDUMgmtSwitch) Validate ¶
func (x CDUMgmtSwitch) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CEC ¶
CEC - xXeE
func (CEC) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this CEC, and return it as a Xname interface
func (CEC) Type ¶ added in v1.1.0
func (x CEC) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type CMMFpga ¶
CMMFpga - xXcCfF
func (CMMFpga) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this CMMFpga, and return it as a Xname interface
func (CMMFpga) Type ¶ added in v1.1.0
func (x CMMFpga) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type CMMRectifier ¶
CMMRectifier - xXcCtT
func (CMMRectifier) Parent ¶
func (x CMMRectifier) Parent() Chassis
Parent will determine the parent of this CMMRectifier
func (CMMRectifier) ParentInterface ¶ added in v1.1.0
func (x CMMRectifier) ParentInterface() Xname
ParentGeneric will determine the parent of this CMMRectifier, and return it as a Xname interface
func (CMMRectifier) String ¶
func (x CMMRectifier) String() string
String will stringify CMMRectifier into the format of xXcCtT
func (CMMRectifier) Type ¶ added in v1.1.0
func (x CMMRectifier) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CMMRectifier) Validate ¶
func (x CMMRectifier) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type Cabinet ¶
type Cabinet struct {
Cabinet int // xX
}
Cabinet - xX
func (Cabinet) CabinetBMC ¶
func (x Cabinet) CabinetBMC(cabinetBMC int) CabinetBMC
CabinetBMC will get a child component with the specified ordinal
func (Cabinet) CabinetCDU ¶
func (x Cabinet) CabinetCDU(cabinetCDU int) CabinetCDU
CabinetCDU will get a child component with the specified ordinal
func (Cabinet) CabinetPDUController ¶
func (x Cabinet) CabinetPDUController(cabinetPDUController int) CabinetPDUController
CabinetPDUController will get a child component with the specified ordinal
func (Cabinet) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this Cabinet, and return it as a Xname interface
func (Cabinet) Type ¶ added in v1.1.0
func (x Cabinet) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type CabinetBMC ¶
CabinetBMC - xXbB
func (CabinetBMC) Parent ¶
func (x CabinetBMC) Parent() Cabinet
Parent will determine the parent of this CabinetBMC
func (CabinetBMC) ParentInterface ¶ added in v1.1.0
func (x CabinetBMC) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetBMC, and return it as a Xname interface
func (CabinetBMC) String ¶
func (x CabinetBMC) String() string
String will stringify CabinetBMC into the format of xXbB
func (CabinetBMC) Type ¶ added in v1.1.0
func (x CabinetBMC) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetBMC) Validate ¶
func (x CabinetBMC) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CabinetCDU ¶
CabinetCDU - xXdD
func (CabinetCDU) Parent ¶
func (x CabinetCDU) Parent() Cabinet
Parent will determine the parent of this CabinetCDU
func (CabinetCDU) ParentInterface ¶ added in v1.1.0
func (x CabinetCDU) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetCDU, and return it as a Xname interface
func (CabinetCDU) String ¶
func (x CabinetCDU) String() string
String will stringify CabinetCDU into the format of xXdD
func (CabinetCDU) Type ¶ added in v1.1.0
func (x CabinetCDU) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetCDU) Validate ¶
func (x CabinetCDU) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CabinetPDU ¶
CabinetPDU - xXmMpP
func (CabinetPDU) CabinetPDUOutlet ¶
func (x CabinetPDU) CabinetPDUOutlet(cabinetPDUOutlet int) CabinetPDUOutlet
CabinetPDUOutlet will get a child component with the specified ordinal
func (CabinetPDU) CabinetPDUPowerConnector ¶
func (x CabinetPDU) CabinetPDUPowerConnector(cabinetPDUPowerConnector int) CabinetPDUPowerConnector
CabinetPDUPowerConnector will get a child component with the specified ordinal
func (CabinetPDU) Parent ¶
func (x CabinetPDU) Parent() CabinetPDUController
Parent will determine the parent of this CabinetPDU
func (CabinetPDU) ParentInterface ¶ added in v1.1.0
func (x CabinetPDU) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetPDU, and return it as a Xname interface
func (CabinetPDU) String ¶
func (x CabinetPDU) String() string
String will stringify CabinetPDU into the format of xXmMpP
func (CabinetPDU) Type ¶ added in v1.1.0
func (x CabinetPDU) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetPDU) Validate ¶
func (x CabinetPDU) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CabinetPDUController ¶
CabinetPDUController - xXmM
func (CabinetPDUController) CabinetPDU ¶
func (x CabinetPDUController) CabinetPDU(cabinetPDU int) CabinetPDU
CabinetPDU will get a child component with the specified ordinal
func (CabinetPDUController) CabinetPDUNic ¶
func (x CabinetPDUController) CabinetPDUNic(cabinetPDUNic int) CabinetPDUNic
CabinetPDUNic will get a child component with the specified ordinal
func (CabinetPDUController) Parent ¶
func (x CabinetPDUController) Parent() Cabinet
Parent will determine the parent of this CabinetPDUController
func (CabinetPDUController) ParentInterface ¶ added in v1.1.0
func (x CabinetPDUController) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetPDUController, and return it as a Xname interface
func (CabinetPDUController) String ¶
func (x CabinetPDUController) String() string
String will stringify CabinetPDUController into the format of xXmM
func (CabinetPDUController) Type ¶ added in v1.1.0
func (x CabinetPDUController) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetPDUController) Validate ¶
func (x CabinetPDUController) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CabinetPDUNic ¶
type CabinetPDUNic struct { Cabinet int // xX CabinetPDUController int // mM CabinetPDUNic int // iI }
CabinetPDUNic - xXmMpPiI
func (CabinetPDUNic) Parent ¶
func (x CabinetPDUNic) Parent() CabinetPDUController
Parent will determine the parent of this CabinetPDUNic
func (CabinetPDUNic) ParentInterface ¶ added in v1.1.0
func (x CabinetPDUNic) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetPDUNic, and return it as a Xname interface
func (CabinetPDUNic) String ¶
func (x CabinetPDUNic) String() string
String will stringify CabinetPDUNic into the format of xXmMpPiI
func (CabinetPDUNic) Type ¶ added in v1.1.0
func (x CabinetPDUNic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetPDUNic) Validate ¶
func (x CabinetPDUNic) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CabinetPDUOutlet ¶
type CabinetPDUOutlet struct { Cabinet int // xX CabinetPDUController int // mM CabinetPDU int // pP CabinetPDUOutlet int // jJ }
CabinetPDUOutlet - xXmMpPjJ
func (CabinetPDUOutlet) Parent ¶
func (x CabinetPDUOutlet) Parent() CabinetPDU
Parent will determine the parent of this CabinetPDUOutlet
func (CabinetPDUOutlet) ParentInterface ¶ added in v1.1.0
func (x CabinetPDUOutlet) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetPDUOutlet, and return it as a Xname interface
func (CabinetPDUOutlet) String ¶
func (x CabinetPDUOutlet) String() string
String will stringify CabinetPDUOutlet into the format of xXmMpPjJ
func (CabinetPDUOutlet) Type ¶ added in v1.1.0
func (x CabinetPDUOutlet) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetPDUOutlet) Validate ¶
func (x CabinetPDUOutlet) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type CabinetPDUPowerConnector ¶
type CabinetPDUPowerConnector struct { Cabinet int // xX CabinetPDUController int // mM CabinetPDU int // pP CabinetPDUPowerConnector int // vV }
CabinetPDUPowerConnector - xXmMpPvV
func (CabinetPDUPowerConnector) Parent ¶
func (x CabinetPDUPowerConnector) Parent() CabinetPDU
Parent will determine the parent of this CabinetPDUPowerConnector
func (CabinetPDUPowerConnector) ParentInterface ¶ added in v1.1.0
func (x CabinetPDUPowerConnector) ParentInterface() Xname
ParentGeneric will determine the parent of this CabinetPDUPowerConnector, and return it as a Xname interface
func (CabinetPDUPowerConnector) String ¶
func (x CabinetPDUPowerConnector) String() string
String will stringify CabinetPDUPowerConnector into the format of xXmMpPvV
func (CabinetPDUPowerConnector) Type ¶ added in v1.1.0
func (x CabinetPDUPowerConnector) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (CabinetPDUPowerConnector) Validate ¶
func (x CabinetPDUPowerConnector) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type Chassis ¶
Chassis - xXcC
func (Chassis) CMMRectifier ¶
func (x Chassis) CMMRectifier(cMMRectifier int) CMMRectifier
CMMRectifier will get a child component with the specified ordinal
func (Chassis) ChassisBMC ¶
func (x Chassis) ChassisBMC(chassisBMC int) ChassisBMC
ChassisBMC will get a child component with the specified ordinal
func (Chassis) ComputeModule ¶
func (x Chassis) ComputeModule(computeModule int) ComputeModule
ComputeModule will get a child component with the specified ordinal
func (Chassis) MgmtHLSwitchEnclosure ¶
func (x Chassis) MgmtHLSwitchEnclosure(mgmtHLSwitchEnclosure int) MgmtHLSwitchEnclosure
MgmtHLSwitchEnclosure will get a child component with the specified ordinal
func (Chassis) MgmtSwitch ¶
func (x Chassis) MgmtSwitch(mgmtSwitch int) MgmtSwitch
MgmtSwitch will get a child component with the specified ordinal
func (Chassis) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this Chassis, and return it as a Xname interface
func (Chassis) RouterModule ¶
func (x Chassis) RouterModule(routerModule int) RouterModule
RouterModule will get a child component with the specified ordinal
func (Chassis) Type ¶ added in v1.1.0
func (x Chassis) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type ChassisBMC ¶
ChassisBMC - xXcCbB
func (ChassisBMC) ChassisBMCNic ¶
func (x ChassisBMC) ChassisBMCNic(chassisBMCNic int) ChassisBMCNic
ChassisBMCNic will get a child component with the specified ordinal
func (ChassisBMC) Parent ¶
func (x ChassisBMC) Parent() Chassis
Parent will determine the parent of this ChassisBMC
func (ChassisBMC) ParentInterface ¶ added in v1.1.0
func (x ChassisBMC) ParentInterface() Xname
ParentGeneric will determine the parent of this ChassisBMC, and return it as a Xname interface
func (ChassisBMC) String ¶
func (x ChassisBMC) String() string
String will stringify ChassisBMC into the format of xXcCbB
func (ChassisBMC) Type ¶ added in v1.1.0
func (x ChassisBMC) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (ChassisBMC) Validate ¶
func (x ChassisBMC) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type ChassisBMCNic ¶
type ChassisBMCNic struct { Cabinet int // xX Chassis int // cC ChassisBMC int // bB ChassisBMCNic int // iI }
ChassisBMCNic - xXcCbBiI
func (ChassisBMCNic) Parent ¶
func (x ChassisBMCNic) Parent() ChassisBMC
Parent will determine the parent of this ChassisBMCNic
func (ChassisBMCNic) ParentInterface ¶ added in v1.1.0
func (x ChassisBMCNic) ParentInterface() Xname
ParentGeneric will determine the parent of this ChassisBMCNic, and return it as a Xname interface
func (ChassisBMCNic) String ¶
func (x ChassisBMCNic) String() string
String will stringify ChassisBMCNic into the format of xXcCbBiI
func (ChassisBMCNic) Type ¶ added in v1.1.0
func (x ChassisBMCNic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (ChassisBMCNic) Validate ¶
func (x ChassisBMCNic) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type ComputeModule ¶
ComputeModule - xXcCsS
func (ComputeModule) NodeBMC ¶
func (x ComputeModule) NodeBMC(nodeBMC int) NodeBMC
NodeBMC will get a child component with the specified ordinal
func (ComputeModule) NodeEnclosure ¶
func (x ComputeModule) NodeEnclosure(nodeEnclosure int) NodeEnclosure
NodeEnclosure will get a child component with the specified ordinal
func (ComputeModule) NodePowerConnector ¶
func (x ComputeModule) NodePowerConnector(nodePowerConnector int) NodePowerConnector
NodePowerConnector will get a child component with the specified ordinal
func (ComputeModule) Parent ¶
func (x ComputeModule) Parent() Chassis
Parent will determine the parent of this ComputeModule
func (ComputeModule) ParentInterface ¶ added in v1.1.0
func (x ComputeModule) ParentInterface() Xname
ParentGeneric will determine the parent of this ComputeModule, and return it as a Xname interface
func (ComputeModule) String ¶
func (x ComputeModule) String() string
String will stringify ComputeModule into the format of xXcCsS
func (ComputeModule) Type ¶ added in v1.1.0
func (x ComputeModule) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (ComputeModule) Validate ¶
func (x ComputeModule) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type Drive ¶
type Drive struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN StorageGroup int // gG Drive int // kK }
Drive - xXcCsSbBnNgGkK
func (Drive) Parent ¶
func (x Drive) Parent() StorageGroup
Parent will determine the parent of this Drive
func (Drive) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this Drive, and return it as a Xname interface
func (Drive) Type ¶ added in v1.1.0
func (x Drive) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type HSNAsic ¶
type HSNAsic struct { Cabinet int // xX Chassis int // cC RouterModule int // rR HSNAsic int // aA }
HSNAsic - xXcCrRaA
func (HSNAsic) Parent ¶
func (x HSNAsic) Parent() RouterModule
Parent will determine the parent of this HSNAsic
func (HSNAsic) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this HSNAsic, and return it as a Xname interface
func (HSNAsic) Type ¶ added in v1.1.0
func (x HSNAsic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type HSNBoard ¶
type HSNBoard struct { Cabinet int // xX Chassis int // cC RouterModule int // rR HSNBoard int // eE }
HSNBoard - xXcCrReE
func (HSNBoard) Parent ¶
func (x HSNBoard) Parent() RouterModule
Parent will determine the parent of this HSNBoard
func (HSNBoard) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this HSNBoard, and return it as a Xname interface
func (HSNBoard) Type ¶ added in v1.1.0
func (x HSNBoard) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type HSNConnector ¶
type HSNConnector struct { Cabinet int // xX Chassis int // cC RouterModule int // rR HSNConnector int // jJ }
HSNConnector - xXcCrRjJ
func (HSNConnector) HSNConnectorPort ¶
func (x HSNConnector) HSNConnectorPort(hSNConnectorPort int) HSNConnectorPort
HSNConnectorPort will get a child component with the specified ordinal
func (HSNConnector) Parent ¶
func (x HSNConnector) Parent() RouterModule
Parent will determine the parent of this HSNConnector
func (HSNConnector) ParentInterface ¶ added in v1.1.0
func (x HSNConnector) ParentInterface() Xname
ParentGeneric will determine the parent of this HSNConnector, and return it as a Xname interface
func (HSNConnector) String ¶
func (x HSNConnector) String() string
String will stringify HSNConnector into the format of xXcCrRjJ
func (HSNConnector) Type ¶ added in v1.1.0
func (x HSNConnector) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (HSNConnector) Validate ¶
func (x HSNConnector) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type HSNConnectorPort ¶
type HSNConnectorPort struct { Cabinet int // xX Chassis int // cC RouterModule int // rR HSNConnector int // jJ HSNConnectorPort int // pP }
HSNConnectorPort - xXcCrRjJpP
func (HSNConnectorPort) Parent ¶
func (x HSNConnectorPort) Parent() HSNConnector
Parent will determine the parent of this HSNConnectorPort
func (HSNConnectorPort) ParentInterface ¶ added in v1.1.0
func (x HSNConnectorPort) ParentInterface() Xname
ParentGeneric will determine the parent of this HSNConnectorPort, and return it as a Xname interface
func (HSNConnectorPort) String ¶
func (x HSNConnectorPort) String() string
String will stringify HSNConnectorPort into the format of xXcCrRjJpP
func (HSNConnectorPort) Type ¶ added in v1.1.0
func (x HSNConnectorPort) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (HSNConnectorPort) Validate ¶
func (x HSNConnectorPort) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type HSNLink ¶
type HSNLink struct { Cabinet int // xX Chassis int // cC RouterModule int // rR HSNAsic int // aA HSNLink int // lL }
HSNLink - xXcCrRaAlL
func (HSNLink) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this HSNLink, and return it as a Xname interface
func (HSNLink) Type ¶ added in v1.1.0
func (x HSNLink) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type Memory ¶
type Memory struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN Memory int // dD }
Memory - xXcCsSbBnNdD
func (Memory) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this Memory, and return it as a Xname interface
func (Memory) Type ¶ added in v1.1.0
func (x Memory) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type MgmtHLSwitch ¶
type MgmtHLSwitch struct { Cabinet int // xX Chassis int // cC MgmtHLSwitchEnclosure int // hH MgmtHLSwitch int // sS }
MgmtHLSwitch - xXcChHsS
func (MgmtHLSwitch) Parent ¶
func (x MgmtHLSwitch) Parent() MgmtHLSwitchEnclosure
Parent will determine the parent of this MgmtHLSwitch
func (MgmtHLSwitch) ParentInterface ¶ added in v1.1.0
func (x MgmtHLSwitch) ParentInterface() Xname
ParentGeneric will determine the parent of this MgmtHLSwitch, and return it as a Xname interface
func (MgmtHLSwitch) String ¶
func (x MgmtHLSwitch) String() string
String will stringify MgmtHLSwitch into the format of xXcChHsS
func (MgmtHLSwitch) Type ¶ added in v1.1.0
func (x MgmtHLSwitch) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (MgmtHLSwitch) Validate ¶
func (x MgmtHLSwitch) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type MgmtHLSwitchEnclosure ¶
type MgmtHLSwitchEnclosure struct { Cabinet int // xX Chassis int // cC MgmtHLSwitchEnclosure int // hH }
MgmtHLSwitchEnclosure - xXcChH
func (MgmtHLSwitchEnclosure) MgmtHLSwitch ¶
func (x MgmtHLSwitchEnclosure) MgmtHLSwitch(mgmtHLSwitch int) MgmtHLSwitch
MgmtHLSwitch will get a child component with the specified ordinal
func (MgmtHLSwitchEnclosure) Parent ¶
func (x MgmtHLSwitchEnclosure) Parent() Chassis
Parent will determine the parent of this MgmtHLSwitchEnclosure
func (MgmtHLSwitchEnclosure) ParentInterface ¶ added in v1.1.0
func (x MgmtHLSwitchEnclosure) ParentInterface() Xname
ParentGeneric will determine the parent of this MgmtHLSwitchEnclosure, and return it as a Xname interface
func (MgmtHLSwitchEnclosure) String ¶
func (x MgmtHLSwitchEnclosure) String() string
String will stringify MgmtHLSwitchEnclosure into the format of xXcChH
func (MgmtHLSwitchEnclosure) Type ¶ added in v1.1.0
func (x MgmtHLSwitchEnclosure) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (MgmtHLSwitchEnclosure) Validate ¶
func (x MgmtHLSwitchEnclosure) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type MgmtSwitch ¶
MgmtSwitch - xXcCwW
func (MgmtSwitch) MgmtSwitchConnector ¶
func (x MgmtSwitch) MgmtSwitchConnector(mgmtSwitchConnector int) MgmtSwitchConnector
MgmtSwitchConnector will get a child component with the specified ordinal
func (MgmtSwitch) Parent ¶
func (x MgmtSwitch) Parent() Chassis
Parent will determine the parent of this MgmtSwitch
func (MgmtSwitch) ParentInterface ¶ added in v1.1.0
func (x MgmtSwitch) ParentInterface() Xname
ParentGeneric will determine the parent of this MgmtSwitch, and return it as a Xname interface
func (MgmtSwitch) String ¶
func (x MgmtSwitch) String() string
String will stringify MgmtSwitch into the format of xXcCwW
func (MgmtSwitch) Type ¶ added in v1.1.0
func (x MgmtSwitch) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (MgmtSwitch) Validate ¶
func (x MgmtSwitch) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type MgmtSwitchConnector ¶
type MgmtSwitchConnector struct { Cabinet int // xX Chassis int // cC MgmtSwitch int // wW MgmtSwitchConnector int // jJ }
MgmtSwitchConnector - xXcCwWjJ
func (MgmtSwitchConnector) Parent ¶
func (x MgmtSwitchConnector) Parent() MgmtSwitch
Parent will determine the parent of this MgmtSwitchConnector
func (MgmtSwitchConnector) ParentInterface ¶ added in v1.1.0
func (x MgmtSwitchConnector) ParentInterface() Xname
ParentGeneric will determine the parent of this MgmtSwitchConnector, and return it as a Xname interface
func (MgmtSwitchConnector) String ¶
func (x MgmtSwitchConnector) String() string
String will stringify MgmtSwitchConnector into the format of xXcCwWjJ
func (MgmtSwitchConnector) Type ¶ added in v1.1.0
func (x MgmtSwitchConnector) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (MgmtSwitchConnector) Validate ¶
func (x MgmtSwitchConnector) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type Node ¶
type Node struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN }
Node - xXcCsSbBnN
func (Node) NodeAccelRiser ¶
func (x Node) NodeAccelRiser(nodeAccelRiser int) NodeAccelRiser
NodeAccelRiser will get a child component with the specified ordinal
func (Node) NodeHsnNic ¶
func (x Node) NodeHsnNic(nodeHsnNic int) NodeHsnNic
NodeHsnNic will get a child component with the specified ordinal
func (Node) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this Node, and return it as a Xname interface
func (Node) StorageGroup ¶
func (x Node) StorageGroup(storageGroup int) StorageGroup
StorageGroup will get a child component with the specified ordinal
func (Node) Type ¶ added in v1.1.0
func (x Node) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (Node) Validate ¶
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
func (Node) VirtualNode ¶ added in v1.3.0
func (x Node) VirtualNode(virtualNode int) VirtualNode
VirtualNode will get a child component with the specified ordinal
type NodeAccel ¶
type NodeAccel struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN NodeAccel int // aA }
NodeAccel - xXcCsSbBnNaA
func (NodeAccel) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this NodeAccel, and return it as a Xname interface
func (NodeAccel) Type ¶ added in v1.1.0
func (x NodeAccel) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type NodeAccelRiser ¶
type NodeAccelRiser struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN NodeAccelRiser int // rR }
NodeAccelRiser - xXcCsSbBnNrR
func (NodeAccelRiser) Parent ¶
func (x NodeAccelRiser) Parent() Node
Parent will determine the parent of this NodeAccelRiser
func (NodeAccelRiser) ParentInterface ¶ added in v1.1.0
func (x NodeAccelRiser) ParentInterface() Xname
ParentGeneric will determine the parent of this NodeAccelRiser, and return it as a Xname interface
func (NodeAccelRiser) String ¶
func (x NodeAccelRiser) String() string
String will stringify NodeAccelRiser into the format of xXcCsSbBnNrR
func (NodeAccelRiser) Type ¶ added in v1.1.0
func (x NodeAccelRiser) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (NodeAccelRiser) Validate ¶
func (x NodeAccelRiser) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type NodeBMC ¶
type NodeBMC struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB }
NodeBMC - xXcCsSbB
func (NodeBMC) NodeBMCNic ¶
func (x NodeBMC) NodeBMCNic(nodeBMCNic int) NodeBMCNic
NodeBMCNic will get a child component with the specified ordinal
func (NodeBMC) Parent ¶
func (x NodeBMC) Parent() ComputeModule
Parent will determine the parent of this NodeBMC
func (NodeBMC) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this NodeBMC, and return it as a Xname interface
func (NodeBMC) Type ¶ added in v1.1.0
func (x NodeBMC) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type NodeBMCNic ¶
type NodeBMCNic struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB NodeBMCNic int // iI }
NodeBMCNic - xXcCsSbBiI
func (NodeBMCNic) Parent ¶
func (x NodeBMCNic) Parent() NodeBMC
Parent will determine the parent of this NodeBMCNic
func (NodeBMCNic) ParentInterface ¶ added in v1.1.0
func (x NodeBMCNic) ParentInterface() Xname
ParentGeneric will determine the parent of this NodeBMCNic, and return it as a Xname interface
func (NodeBMCNic) String ¶
func (x NodeBMCNic) String() string
String will stringify NodeBMCNic into the format of xXcCsSbBiI
func (NodeBMCNic) Type ¶ added in v1.1.0
func (x NodeBMCNic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (NodeBMCNic) Validate ¶
func (x NodeBMCNic) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type NodeEnclosure ¶
type NodeEnclosure struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeEnclosure int // eE }
NodeEnclosure - xXcCsSbBeE
func (NodeEnclosure) NodeEnclosurePowerSupply ¶
func (x NodeEnclosure) NodeEnclosurePowerSupply(nodeEnclosurePowerSupply int) NodeEnclosurePowerSupply
NodeEnclosurePowerSupply will get a child component with the specified ordinal
func (NodeEnclosure) NodeFpga ¶
func (x NodeEnclosure) NodeFpga(nodeFpga int) NodeFpga
NodeFpga will get a child component with the specified ordinal
func (NodeEnclosure) Parent ¶
func (x NodeEnclosure) Parent() ComputeModule
Parent will determine the parent of this NodeEnclosure
func (NodeEnclosure) ParentInterface ¶ added in v1.1.0
func (x NodeEnclosure) ParentInterface() Xname
ParentGeneric will determine the parent of this NodeEnclosure, and return it as a Xname interface
func (NodeEnclosure) String ¶
func (x NodeEnclosure) String() string
String will stringify NodeEnclosure into the format of xXcCsSbBeE
func (NodeEnclosure) Type ¶ added in v1.1.0
func (x NodeEnclosure) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (NodeEnclosure) Validate ¶
func (x NodeEnclosure) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type NodeEnclosurePowerSupply ¶
type NodeEnclosurePowerSupply struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeEnclosure int // eE NodeEnclosurePowerSupply int // tT }
NodeEnclosurePowerSupply - xXcCsSbBeEtT
func (NodeEnclosurePowerSupply) Parent ¶
func (x NodeEnclosurePowerSupply) Parent() NodeEnclosure
Parent will determine the parent of this NodeEnclosurePowerSupply
func (NodeEnclosurePowerSupply) ParentInterface ¶ added in v1.1.0
func (x NodeEnclosurePowerSupply) ParentInterface() Xname
ParentGeneric will determine the parent of this NodeEnclosurePowerSupply, and return it as a Xname interface
func (NodeEnclosurePowerSupply) String ¶
func (x NodeEnclosurePowerSupply) String() string
String will stringify NodeEnclosurePowerSupply into the format of xXcCsSbBeEtT
func (NodeEnclosurePowerSupply) Type ¶ added in v1.1.0
func (x NodeEnclosurePowerSupply) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (NodeEnclosurePowerSupply) Validate ¶
func (x NodeEnclosurePowerSupply) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type NodeFpga ¶
type NodeFpga struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeEnclosure int // eE NodeFpga int // fF }
NodeFpga - xXcCsSbBfF
func (NodeFpga) Parent ¶
func (x NodeFpga) Parent() NodeEnclosure
Parent will determine the parent of this NodeFpga
func (NodeFpga) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this NodeFpga, and return it as a Xname interface
func (NodeFpga) Type ¶ added in v1.1.0
func (x NodeFpga) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type NodeHsnNic ¶
type NodeHsnNic struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN NodeHsnNic int // hH }
NodeHsnNic - xXcCsSbBnNhH
func (NodeHsnNic) Parent ¶
func (x NodeHsnNic) Parent() Node
Parent will determine the parent of this NodeHsnNic
func (NodeHsnNic) ParentInterface ¶ added in v1.1.0
func (x NodeHsnNic) ParentInterface() Xname
ParentGeneric will determine the parent of this NodeHsnNic, and return it as a Xname interface
func (NodeHsnNic) String ¶
func (x NodeHsnNic) String() string
String will stringify NodeHsnNic into the format of xXcCsSbBnNhH
func (NodeHsnNic) Type ¶ added in v1.1.0
func (x NodeHsnNic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (NodeHsnNic) Validate ¶
func (x NodeHsnNic) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type NodeNic ¶
type NodeNic struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN NodeNic int // iI }
NodeNic - xXcCsSbBnNiI
func (NodeNic) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this NodeNic, and return it as a Xname interface
func (NodeNic) Type ¶ added in v1.1.0
func (x NodeNic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type NodePowerConnector ¶
type NodePowerConnector struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodePowerConnector int // Sv }
NodePowerConnector - xXcCsSv
func (NodePowerConnector) Parent ¶
func (x NodePowerConnector) Parent() ComputeModule
Parent will determine the parent of this NodePowerConnector
func (NodePowerConnector) ParentInterface ¶ added in v1.1.0
func (x NodePowerConnector) ParentInterface() Xname
ParentGeneric will determine the parent of this NodePowerConnector, and return it as a Xname interface
func (NodePowerConnector) String ¶
func (x NodePowerConnector) String() string
String will stringify NodePowerConnector into the format of xXcCsSv
func (NodePowerConnector) Type ¶ added in v1.1.0
func (x NodePowerConnector) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (NodePowerConnector) Validate ¶
func (x NodePowerConnector) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type Processor ¶
type Processor struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN Processor int // pP }
Processor - xXcCsSbBnNpP
func (Processor) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this Processor, and return it as a Xname interface
func (Processor) Type ¶ added in v1.1.0
func (x Processor) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type RouterBMC ¶
type RouterBMC struct { Cabinet int // xX Chassis int // cC RouterModule int // rR RouterBMC int // bB }
RouterBMC - xXcCrRbB
func (RouterBMC) Parent ¶
func (x RouterBMC) Parent() RouterModule
Parent will determine the parent of this RouterBMC
func (RouterBMC) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this RouterBMC, and return it as a Xname interface
func (RouterBMC) RouterBMCNic ¶
func (x RouterBMC) RouterBMCNic(routerBMCNic int) RouterBMCNic
RouterBMCNic will get a child component with the specified ordinal
func (RouterBMC) Type ¶ added in v1.1.0
func (x RouterBMC) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type RouterBMCNic ¶
type RouterBMCNic struct { Cabinet int // xX Chassis int // cC RouterModule int // rR RouterBMC int // bB RouterBMCNic int // iI }
RouterBMCNic - xXcCrRbBiI
func (RouterBMCNic) Parent ¶
func (x RouterBMCNic) Parent() RouterBMC
Parent will determine the parent of this RouterBMCNic
func (RouterBMCNic) ParentInterface ¶ added in v1.1.0
func (x RouterBMCNic) ParentInterface() Xname
ParentGeneric will determine the parent of this RouterBMCNic, and return it as a Xname interface
func (RouterBMCNic) String ¶
func (x RouterBMCNic) String() string
String will stringify RouterBMCNic into the format of xXcCrRbBiI
func (RouterBMCNic) Type ¶ added in v1.1.0
func (x RouterBMCNic) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (RouterBMCNic) Validate ¶
func (x RouterBMCNic) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type RouterFpga ¶
type RouterFpga struct { Cabinet int // xX Chassis int // cC RouterModule int // rR RouterFpga int // fF }
RouterFpga - xXcCrRfF
func (RouterFpga) Parent ¶
func (x RouterFpga) Parent() RouterModule
Parent will determine the parent of this RouterFpga
func (RouterFpga) ParentInterface ¶ added in v1.1.0
func (x RouterFpga) ParentInterface() Xname
ParentGeneric will determine the parent of this RouterFpga, and return it as a Xname interface
func (RouterFpga) String ¶
func (x RouterFpga) String() string
String will stringify RouterFpga into the format of xXcCrRfF
func (RouterFpga) Type ¶ added in v1.1.0
func (x RouterFpga) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (RouterFpga) Validate ¶
func (x RouterFpga) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type RouterModule ¶
RouterModule - xXcCrR
func (RouterModule) HSNAsic ¶
func (x RouterModule) HSNAsic(hSNAsic int) HSNAsic
HSNAsic will get a child component with the specified ordinal
func (RouterModule) HSNBoard ¶
func (x RouterModule) HSNBoard(hSNBoard int) HSNBoard
HSNBoard will get a child component with the specified ordinal
func (RouterModule) HSNConnector ¶
func (x RouterModule) HSNConnector(hSNConnector int) HSNConnector
HSNConnector will get a child component with the specified ordinal
func (RouterModule) Parent ¶
func (x RouterModule) Parent() Chassis
Parent will determine the parent of this RouterModule
func (RouterModule) ParentInterface ¶ added in v1.1.0
func (x RouterModule) ParentInterface() Xname
ParentGeneric will determine the parent of this RouterModule, and return it as a Xname interface
func (RouterModule) RouterBMC ¶
func (x RouterModule) RouterBMC(routerBMC int) RouterBMC
RouterBMC will get a child component with the specified ordinal
func (RouterModule) RouterFpga ¶
func (x RouterModule) RouterFpga(routerFpga int) RouterFpga
RouterFpga will get a child component with the specified ordinal
func (RouterModule) RouterPowerConnector ¶
func (x RouterModule) RouterPowerConnector(routerPowerConnector int) RouterPowerConnector
RouterPowerConnector will get a child component with the specified ordinal
func (RouterModule) RouterTOR ¶
func (x RouterModule) RouterTOR(routerTOR int) RouterTOR
RouterTOR will get a child component with the specified ordinal
func (RouterModule) String ¶
func (x RouterModule) String() string
String will stringify RouterModule into the format of xXcCrR
func (RouterModule) Type ¶ added in v1.1.0
func (x RouterModule) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (RouterModule) Validate ¶
func (x RouterModule) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type RouterPowerConnector ¶
type RouterPowerConnector struct { Cabinet int // xX Chassis int // cC RouterModule int // rR RouterPowerConnector int // vV }
RouterPowerConnector - xXcCrRvV
func (RouterPowerConnector) Parent ¶
func (x RouterPowerConnector) Parent() RouterModule
Parent will determine the parent of this RouterPowerConnector
func (RouterPowerConnector) ParentInterface ¶ added in v1.1.0
func (x RouterPowerConnector) ParentInterface() Xname
ParentGeneric will determine the parent of this RouterPowerConnector, and return it as a Xname interface
func (RouterPowerConnector) String ¶
func (x RouterPowerConnector) String() string
String will stringify RouterPowerConnector into the format of xXcCrRvV
func (RouterPowerConnector) Type ¶ added in v1.1.0
func (x RouterPowerConnector) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (RouterPowerConnector) Validate ¶
func (x RouterPowerConnector) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type RouterTOR ¶
type RouterTOR struct { Cabinet int // xX Chassis int // cC RouterModule int // rR RouterTOR int // tT }
RouterTOR - xXcCrRtT
func (RouterTOR) Parent ¶
func (x RouterTOR) Parent() RouterModule
Parent will determine the parent of this RouterTOR
func (RouterTOR) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this RouterTOR, and return it as a Xname interface
func (RouterTOR) RouterTORFpga ¶
func (x RouterTOR) RouterTORFpga(routerTORFpga int) RouterTORFpga
RouterTORFpga will get a child component with the specified ordinal
func (RouterTOR) Type ¶ added in v1.1.0
func (x RouterTOR) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type RouterTORFpga ¶
type RouterTORFpga struct { Cabinet int // xX Chassis int // cC RouterModule int // rR RouterTOR int // tT RouterTORFpga int // fF }
RouterTORFpga - xXcCrRtTfF
func (RouterTORFpga) Parent ¶
func (x RouterTORFpga) Parent() RouterTOR
Parent will determine the parent of this RouterTORFpga
func (RouterTORFpga) ParentInterface ¶ added in v1.1.0
func (x RouterTORFpga) ParentInterface() Xname
ParentGeneric will determine the parent of this RouterTORFpga, and return it as a Xname interface
func (RouterTORFpga) String ¶
func (x RouterTORFpga) String() string
String will stringify RouterTORFpga into the format of xXcCrRtTfF
func (RouterTORFpga) Type ¶ added in v1.1.0
func (x RouterTORFpga) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (RouterTORFpga) Validate ¶
func (x RouterTORFpga) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type StorageGroup ¶
type StorageGroup struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN StorageGroup int // gG }
StorageGroup - xXcCsSbBnNgG
func (StorageGroup) Drive ¶
func (x StorageGroup) Drive(drive int) Drive
Drive will get a child component with the specified ordinal
func (StorageGroup) Parent ¶
func (x StorageGroup) Parent() Node
Parent will determine the parent of this StorageGroup
func (StorageGroup) ParentInterface ¶ added in v1.1.0
func (x StorageGroup) ParentInterface() Xname
ParentGeneric will determine the parent of this StorageGroup, and return it as a Xname interface
func (StorageGroup) String ¶
func (x StorageGroup) String() string
String will stringify StorageGroup into the format of xXcCsSbBnNgG
func (StorageGroup) Type ¶ added in v1.1.0
func (x StorageGroup) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (StorageGroup) Validate ¶
func (x StorageGroup) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type System ¶
type System struct { }
System - sS
func (System) ParentInterface ¶ added in v1.1.0
ParentGeneric will determine the parent of this System, and return it as a Xname interface
func (System) Type ¶ added in v1.1.0
func (x System) Type() xnametypes.HMSType
Type will return the corresponding HMSType
type Validator ¶
type Validator interface {
Validate() error
}
Validator is implemented by any value that has a Validate() function. All of the xnames structures in this package implement this interface.
type VirtualNode ¶ added in v1.3.0
type VirtualNode struct { Cabinet int // xX Chassis int // cC ComputeModule int // sS NodeBMC int // bB Node int // nN VirtualNode int // vV }
VirtualNode - xXcCsSbBnNvV
func (VirtualNode) Parent ¶ added in v1.3.0
func (x VirtualNode) Parent() Node
Parent will determine the parent of this VirtualNode
func (VirtualNode) ParentInterface ¶ added in v1.3.0
func (x VirtualNode) ParentInterface() Xname
ParentGeneric will determine the parent of this VirtualNode, and return it as a Xname interface
func (VirtualNode) String ¶ added in v1.3.0
func (x VirtualNode) String() string
String will stringify VirtualNode into the format of xXcCsSbBnNvV
func (VirtualNode) Type ¶ added in v1.3.0
func (x VirtualNode) Type() xnametypes.HMSType
Type will return the corresponding HMSType
func (VirtualNode) Validate ¶ added in v1.3.0
func (x VirtualNode) Validate() error
Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()
type Xname ¶ added in v1.1.0
type Xname interface { String() string Type() xnametypes.HMSType ParentInterface() Xname }
Xname is an interface that is implemented by all xnames structures. It is meant to provide a generic way to store or pass a xnames structure, such as to a function that can handle multiple different xnames types.
func FromString ¶
FromString will convert the string representation of a xname into a xname structure If the string is not a valid xname, then nil and HMSTypeInvalid will be returned.