Documentation ¶
Index ¶
- Variables
- func AsEB(value uint64) uint64
- func AsGB(value uint64) uint64
- func AsKB(value uint64) uint64
- func AsMB(value uint64) uint64
- func AsPB(value uint64) uint64
- func AsTB(value uint64) uint64
- func B(value uint64) uint64
- func Bps(value uint64) uint64
- func Connect(p *Port, c *Connector)
- func EB(value uint64) uint64
- func Ebps(value uint64) uint64
- func FormatUnits(s string) string
- func GB(value uint64) uint64
- func GHz(value float64) float64
- func Gbps(value uint64) uint64
- func Hz(value float64) float64
- func KB(value uint64) uint64
- func KHz(value float64) float64
- func Kbps(value uint64) uint64
- func MB(value uint64) uint64
- func MHz(value float64) float64
- func Mbps(value uint64) uint64
- func Ms(value float64) float64
- func Ns(value float64) float64
- func PB(value uint64) uint64
- func Pbps(value uint64) uint64
- func Percent(value float64) float64
- func S(value float64) float64
- func TB(value uint64) uint64
- func THz(value float64) float64
- func Tbps(value uint64) uint64
- func Us(value float64) float64
- type Actuator
- func (*Actuator) Descriptor() ([]byte, []int)deprecated
- func (x *Actuator) GetDynamicLimits() *Limits
- func (x *Actuator) GetId() string
- func (x *Actuator) GetStaticLimits() *Limits
- func (x *Actuator) GetTag() int32
- func (x *Actuator) GetVar() string
- func (*Actuator) ProtoMessage()
- func (x *Actuator) ProtoReflect() protoreflect.Message
- func (x *Actuator) Reset()
- func (x *Actuator) String() string
- type AddressList
- type Addressing
- type AddressingConstraint
- func (*AddressingConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *AddressingConstraint) GetOp() Operator
- func (x *AddressingConstraint) GetValue() Addressing
- func (*AddressingConstraint) ProtoMessage()
- func (x *AddressingConstraint) ProtoReflect() protoreflect.Message
- func (x *AddressingConstraint) Reset()
- func (c *AddressingConstraint) Satisfies(value Addressing) bool
- func (x *AddressingConstraint) String() string
- type AllocMode
- type BGPRouterConfig
- func (*BGPRouterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BGPRouterConfig) GetASN() uint32
- func (x *BGPRouterConfig) GetEVPN() *EVPNConfig
- func (x *BGPRouterConfig) GetInterfaces() []*InterfaceConfig
- func (x *BGPRouterConfig) GetVrf() string
- func (*BGPRouterConfig) ProtoMessage()
- func (x *BGPRouterConfig) ProtoReflect() protoreflect.Message
- func (x *BGPRouterConfig) Reset()
- func (x *BGPRouterConfig) String() string
- type BMC
- type BMC_Kind
- type Bond
- type BoolConstraint
- func (*BoolConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *BoolConstraint) GetOp() Operator
- func (x *BoolConstraint) GetValue() bool
- func (*BoolConstraint) ProtoMessage()
- func (x *BoolConstraint) ProtoReflect() protoreflect.Message
- func (x *BoolConstraint) Reset()
- func (x *BoolConstraint) String() string
- type Breakout
- type BridgeConfig
- func (*BridgeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BridgeConfig) GetAddrs() []string
- func (x *BridgeConfig) GetName() string
- func (x *BridgeConfig) GetRole() LinkRole
- func (x *BridgeConfig) GetVlanAware() bool
- func (*BridgeConfig) ProtoMessage()
- func (x *BridgeConfig) ProtoReflect() protoreflect.Message
- func (x *BridgeConfig) Reset()
- func (x *BridgeConfig) String() string
- type Cable
- func (c *Cable) Connect(ports ...*Port)
- func (*Cable) Descriptor() ([]byte, []int)deprecated
- func (x *Cable) GetEnds() []*End
- func (x *Cable) GetFacility() string
- func (x *Cable) GetId() string
- func (x *Cable) GetKind() CableKind
- func (x *Cable) GetProductInfo() *ProductInfo
- func (*Cable) ProtoMessage()
- func (x *Cable) ProtoReflect() protoreflect.Message
- func (x *Cable) Reset()
- func (c *Cable) SetConnector(k ConnectorKind)
- func (x *Cable) SetProductInfo(pi *ProductInfo)
- func (x *Cable) String() string
- type CableAllocation
- func (*CableAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *CableAllocation) GetCable() string
- func (x *CableAllocation) GetCapacity() uint64
- func (x *CableAllocation) GetFacility() string
- func (x *CableAllocation) GetLink() string
- func (x *CableAllocation) GetMzid() string
- func (x *CableAllocation) GetRevision() int64
- func (*CableAllocation) ProtoMessage()
- func (x *CableAllocation) ProtoReflect() protoreflect.Message
- func (x *CableAllocation) Reset()
- func (ca *CableAllocation) Show() string
- func (x *CableAllocation) String() string
- type CableKind
- type Connection
- type Connector
- func (*Connector) Descriptor() ([]byte, []int)deprecated
- func (c *Connector) Equals(x *Connector) bool
- func (x *Connector) GetBreakout() *Breakout
- func (x *Connector) GetCapacity() uint64
- func (x *Connector) GetIndex() uint32
- func (x *Connector) GetKind() ConnectorKind
- func (x *Connector) GetParent() string
- func (x *Connector) GetPort() *Ref
- func (x *Connector) GetProtocols() []Layer1
- func (c *Connector) Label() string
- func (*Connector) ProtoMessage()
- func (x *Connector) ProtoReflect() protoreflect.Message
- func (x *Connector) Reset()
- func (c *Connector) SetConnector(k ConnectorKind)
- func (x *Connector) String() string
- type ConnectorKind
- func (ConnectorKind) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectorKind) Enum() *ConnectorKind
- func (ConnectorKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectorKind) Number() protoreflect.EnumNumber
- func (x ConnectorKind) String() string
- func (ConnectorKind) Type() protoreflect.EnumType
- type ConnectorKindConstraint
- func (*ConnectorKindConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectorKindConstraint) GetOp() Operator
- func (x *ConnectorKindConstraint) GetValue() ConnectorKind
- func (*ConnectorKindConstraint) ProtoMessage()
- func (x *ConnectorKindConstraint) ProtoReflect() protoreflect.Message
- func (x *ConnectorKindConstraint) Reset()
- func (x *ConnectorKindConstraint) String() string
- type ConnectorSpec
- func (*ConnectorSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectorSpec) GetCapacity() uint64
- func (x *ConnectorSpec) GetKind() *ConnectorKindConstraint
- func (x *ConnectorSpec) GetProtocols() []Layer1
- func (*ConnectorSpec) ProtoMessage()
- func (x *ConnectorSpec) ProtoReflect() protoreflect.Message
- func (x *ConnectorSpec) Reset()
- func (x *ConnectorSpec) String() string
- type Coupling
- type Device
- type Dimm
- func (*Dimm) Descriptor() ([]byte, []int)deprecated
- func (x *Dimm) GetCapacity() uint64
- func (x *Dimm) GetFrequency() uint64
- func (x *Dimm) GetProductInfo() *ProductInfo
- func (x *Dimm) GetType() MemoryType
- func (*Dimm) ProtoMessage()
- func (x *Dimm) ProtoReflect() protoreflect.Message
- func (x *Dimm) Reset()
- func (d *Dimm) SetCapacity(c uint64)
- func (x *Dimm) SetProductInfo(pi *ProductInfo)
- func (x *Dimm) String() string
- type DimmAllocation
- func (a *DimmAllocation) Add(x *DimmAllocation)
- func (*DimmAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *DimmAllocation) GetCapacity() uint64
- func (*DimmAllocation) ProtoMessage()
- func (x *DimmAllocation) ProtoReflect() protoreflect.Message
- func (x *DimmAllocation) Reset()
- func (x *DimmAllocation) String() string
- type Disk
- func (*Disk) Descriptor() ([]byte, []int)deprecated
- func (d *Disk) DevName(i uint) string
- func (x *Disk) GetCapacity() uint64
- func (x *Disk) GetDiskInterface() DiskInterface
- func (x *Disk) GetFormFactor() DiskFormFactor
- func (x *Disk) GetNVMEControllerIndex() uint32
- func (x *Disk) GetProductInfo() *ProductInfo
- func (x *Disk) GetRoles() []DiskRole
- func (d *Disk) HasRole(r DiskRole) bool
- func (*Disk) ProtoMessage()
- func (x *Disk) ProtoReflect() protoreflect.Message
- func (x *Disk) Reset()
- func (d *Disk) SetCapacity(c uint64)
- func (x *Disk) SetProductInfo(pi *ProductInfo)
- func (x *Disk) String() string
- type DiskAllocation
- func (a *DiskAllocation) Add(x *DiskAllocation)
- func (*DiskAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *DiskAllocation) GetCapacity() uint64
- func (*DiskAllocation) ProtoMessage()
- func (x *DiskAllocation) ProtoReflect() protoreflect.Message
- func (x *DiskAllocation) Reset()
- func (x *DiskAllocation) String() string
- type DiskFormFactor
- func (DiskFormFactor) Descriptor() protoreflect.EnumDescriptor
- func (x DiskFormFactor) Enum() *DiskFormFactor
- func (DiskFormFactor) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskFormFactor) Number() protoreflect.EnumNumber
- func (x DiskFormFactor) String() string
- func (DiskFormFactor) Type() protoreflect.EnumType
- type DiskFormFactorConstraint
- func (*DiskFormFactorConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *DiskFormFactorConstraint) GetOp() Operator
- func (x *DiskFormFactorConstraint) GetValue() DiskFormFactor
- func (*DiskFormFactorConstraint) ProtoMessage()
- func (x *DiskFormFactorConstraint) ProtoReflect() protoreflect.Message
- func (x *DiskFormFactorConstraint) Reset()
- func (x *DiskFormFactorConstraint) String() string
- type DiskInterface
- func (DiskInterface) Descriptor() protoreflect.EnumDescriptor
- func (x DiskInterface) Enum() *DiskInterface
- func (DiskInterface) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskInterface) Number() protoreflect.EnumNumber
- func (x DiskInterface) String() string
- func (DiskInterface) Type() protoreflect.EnumType
- type DiskInterfaceConstraint
- func (*DiskInterfaceConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *DiskInterfaceConstraint) GetOp() Operator
- func (x *DiskInterfaceConstraint) GetValue() DiskInterface
- func (*DiskInterfaceConstraint) ProtoMessage()
- func (x *DiskInterfaceConstraint) ProtoReflect() protoreflect.Message
- func (x *DiskInterfaceConstraint) Reset()
- func (x *DiskInterfaceConstraint) String() string
- type DiskRole
- type DiskSpec
- func (*DiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DiskSpec) GetCapacity() *Uint64Constraint
- func (x *DiskSpec) GetDiskInterface() *DiskInterfaceConstraint
- func (x *DiskSpec) GetDisks() *Uint64Constraint
- func (x *DiskSpec) GetFormFactor() *DiskFormFactorConstraint
- func (*DiskSpec) ProtoMessage()
- func (x *DiskSpec) ProtoReflect() protoreflect.Message
- func (x *DiskSpec) Reset()
- func (x *DiskSpec) String() string
- type DisksAllocation
- func (a *DisksAllocation) Allocate(index uint32, d *DiskAllocation)
- func (*DisksAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *DisksAllocation) GetAlloc() map[uint32]*DiskAllocation
- func (*DisksAllocation) ProtoMessage()
- func (x *DisksAllocation) ProtoReflect() protoreflect.Message
- func (x *DisksAllocation) Reset()
- func (d *DisksAllocation) Show() string
- func (x *DisksAllocation) String() string
- func (m *DisksAllocation) TotalCapacity() uint64
- type EVPNConfig
- type Edge
- type End
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetConnector() *ConnectorSpec
- func (x *Endpoint) GetIndex() int32
- func (x *Endpoint) GetSocket() *Ref
- func (e *Endpoint) Label(link string) string
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type ExperimentParameters
- func (*ExperimentParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentParameters) GetAddressing() *AddressingConstraint
- func (x *ExperimentParameters) GetEmulators() []string
- func (x *ExperimentParameters) GetExperimentnetresolution() bool
- func (x *ExperimentParameters) GetHypervisors() []string
- func (x *ExperimentParameters) GetRouting() *RoutingConstraint
- func (x *ExperimentParameters) GetSimulators() []string
- func (*ExperimentParameters) ProtoMessage()
- func (x *ExperimentParameters) ProtoReflect() protoreflect.Message
- func (x *ExperimentParameters) Reset()
- func (x *ExperimentParameters) String() string
- type Facility
- func (f *Facility) Cable(id string) *Cable
- func (f *Facility) Clone() (*Facility, error)
- func (*Facility) Descriptor() ([]byte, []int)deprecated
- func (x *Facility) GetCables() []*Cable
- func (x *Facility) GetFqdn() string
- func (x *Facility) GetId() string
- func (x *Facility) GetResources() []*Resource
- func (f *Facility) Lift() *Topology
- func (*Facility) ProtoMessage()
- func (x *Facility) ProtoReflect() protoreflect.Message
- func (x *Facility) Reset()
- func (f *Facility) Resource(id string) *Resource
- func (x *Facility) String() string
- func (f *Facility) ToB64Buf() ([]byte, error)
- func (f *Facility) ToBuf() ([]byte, error)
- type Firmware
- type Firmware_Kind
- func (Firmware_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Firmware_Kind) Enum() *Firmware_Kind
- func (Firmware_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Firmware_Kind) Number() protoreflect.EnumNumber
- func (x Firmware_Kind) String() string
- func (Firmware_Kind) Type() protoreflect.EnumType
- type FloatConstraint
- func (*FloatConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *FloatConstraint) GetOp() Operator
- func (x *FloatConstraint) GetValue() float32
- func (*FloatConstraint) ProtoMessage()
- func (x *FloatConstraint) ProtoReflect() protoreflect.Message
- func (x *FloatConstraint) Reset()
- func (x *FloatConstraint) String() string
- type ISA
- type ISAConstraint
- func (*ISAConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *ISAConstraint) GetOp() Operator
- func (x *ISAConstraint) GetValue() ISA
- func (*ISAConstraint) ProtoMessage()
- func (x *ISAConstraint) ProtoReflect() protoreflect.Message
- func (x *ISAConstraint) Reset()
- func (x *ISAConstraint) String() string
- type Identify
- type Interface
- type InterfaceConfig
- func (*InterfaceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceConfig) GetAddress() string
- func (x *InterfaceConfig) GetInterface() string
- func (x *InterfaceConfig) GetRole() LinkRole
- func (*InterfaceConfig) ProtoMessage()
- func (x *InterfaceConfig) ProtoReflect() protoreflect.Message
- func (x *InterfaceConfig) Reset()
- func (x *InterfaceConfig) String() string
- type Layer1
- type LeafConfig
- func (*LeafConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LeafConfig) GetInfrapodAddressBlocks() map[string]*AddressList
- func (x *LeafConfig) GetServiceAddressBlocks() *AddressList
- func (x *LeafConfig) GetTenantAddressBlocks() *AddressList
- func (*LeafConfig) ProtoMessage()
- func (x *LeafConfig) ProtoReflect() protoreflect.Message
- func (x *LeafConfig) Reset()
- func (x *LeafConfig) String() string
- type Limits
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetCapacity() *Uint64Constraint
- func (x *Link) GetEndpoints() []*Endpoint
- func (x *Link) GetId() string
- func (x *Link) GetKind() *LinkKindConstraint
- func (x *Link) GetLatency() *Uint64Constraint
- func (x *Link) GetLayer() *Uint64Constraint
- func (x *Link) GetLoss() *FloatConstraint
- func (x *Link) GetProperties() *Properties
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type LinkKindConstraint
- func (*LinkKindConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *LinkKindConstraint) GetOp() Operator
- func (x *LinkKindConstraint) GetValue() Link_Kind
- func (*LinkKindConstraint) ProtoMessage()
- func (x *LinkKindConstraint) ProtoReflect() protoreflect.Message
- func (x *LinkKindConstraint) Reset()
- func (x *LinkKindConstraint) String() string
- type LinkRole
- type Link_Kind
- type MemoryAllocation
- func (a *MemoryAllocation) Allocate(index uint32, d *DimmAllocation)
- func (*MemoryAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryAllocation) GetAlloc() map[uint32]*DimmAllocation
- func (*MemoryAllocation) ProtoMessage()
- func (x *MemoryAllocation) ProtoReflect() protoreflect.Message
- func (x *MemoryAllocation) Reset()
- func (m *MemoryAllocation) Show() string
- func (x *MemoryAllocation) String() string
- func (m *MemoryAllocation) TotalCapacity() uint64
- type MemorySpec
- func (*MemorySpec) Descriptor() ([]byte, []int)deprecated
- func (x *MemorySpec) GetCapacity() *Uint64Constraint
- func (x *MemorySpec) GetFrequency() *Uint64Constraint
- func (x *MemorySpec) GetModules() *Uint64Constraint
- func (x *MemorySpec) GetType() *MemoryTypeConstraint
- func (*MemorySpec) ProtoMessage()
- func (x *MemorySpec) ProtoReflect() protoreflect.Message
- func (x *MemorySpec) Reset()
- func (x *MemorySpec) String() string
- type MemoryType
- type MemoryTypeConstraint
- func (*MemoryTypeConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryTypeConstraint) GetOp() Operator
- func (x *MemoryTypeConstraint) GetValue() MemoryType
- func (*MemoryTypeConstraint) ProtoMessage()
- func (x *MemoryTypeConstraint) ProtoReflect() protoreflect.Message
- func (x *MemoryTypeConstraint) Reset()
- func (x *MemoryTypeConstraint) String() string
- type NIC
- func (n *NIC) Breakout(p *Port, ps []*Port) []*Port
- func (*NIC) Descriptor() ([]byte, []int)deprecated
- func (x *NIC) GetDPDK() bool
- func (x *NIC) GetKind() NICKind
- func (x *NIC) GetPorts() []*Port
- func (x *NIC) GetProductInfo() *ProductInfo
- func (x *NIC) GetStartingIndex() uint32
- func (n *NIC) PhysPort(index int) *Port
- func (n *NIC) PhysPorts(begin, end int) []*Port
- func (*NIC) ProtoMessage()
- func (x *NIC) ProtoReflect() protoreflect.Message
- func (x *NIC) Reset()
- func (n *NIC) Satisfies(s *NICSpec) bool
- func (n *NIC) SetCapacity(c uint64)
- func (n *NIC) SetConnector(c ConnectorKind)
- func (x *NIC) SetProductInfo(pi *ProductInfo)
- func (x *NIC) String() string
- type NICAllocation
- type NICKind
- func (NICKind) Descriptor() protoreflect.EnumDescriptor
- func (x NICKind) Enum() *NICKind
- func (NICKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x NICKind) Number() protoreflect.EnumNumber
- func (x NICKind) Prefix() string
- func (x NICKind) String() string
- func (NICKind) Type() protoreflect.EnumType
- type NICModel
- type NICModelConstraint
- func (*NICModelConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *NICModelConstraint) GetOp() Operator
- func (x *NICModelConstraint) GetValue() NICModel
- func (*NICModelConstraint) ProtoMessage()
- func (x *NICModelConstraint) ProtoReflect() protoreflect.Message
- func (x *NICModelConstraint) Reset()
- func (x *NICModelConstraint) String() string
- type NICSpec
- type NICsAllocation
- func (a *NICsAllocation) Allocate(n, p uint32, pa *PortAllocation)
- func (*NICsAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *NICsAllocation) GetAlloc() map[uint32]*NICAllocation
- func (*NICsAllocation) ProtoMessage()
- func (x *NICsAllocation) ProtoReflect() protoreflect.Message
- func (x *NICsAllocation) Reset()
- func (n *NICsAllocation) Show() string
- func (x *NICsAllocation) String() string
- func (n *NICsAllocation) TotalCapacity() uint64
- type Neighbor
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetId() string
- func (n *Network) GetLink(id string) *Link
- func (x *Network) GetLinks() []*Link
- func (n *Network) GetNode(id string) *Node
- func (x *Network) GetNodes() []*Node
- func (x *Network) GetParameters() *ExperimentParameters
- func (n *Network) Lift() *Topology
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- func (n *Network) ToB64Buf() ([]byte, error)
- func (n *Network) ToBuf() ([]byte, error)
- func (n *Network) ToNodeGraph() (*NodeGraph, error)
- func (n *Network) ToSocketGraph() (*SocketGraph, error)
- type Node
- func (n *Node) Degree() int
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetConf() *NodeConfig
- func (x *Node) GetDisks() *DiskSpec
- func (x *Node) GetHost() *StringConstraint
- func (x *Node) GetId() string
- func (x *Node) GetImage() *StringConstraint
- func (x *Node) GetMemory() *MemorySpec
- func (x *Node) GetMetal() *BoolConstraint
- func (x *Node) GetNIC() *NICSpec
- func (x *Node) GetPlatform() *StringConstraint
- func (x *Node) GetProc() *ProcSpec
- func (x *Node) GetProperties() *Properties
- func (x *Node) GetSockets() []*Socket
- func (x *Node) GetVirt() *BoolConstraint
- func (x *Node) GetViz() *Visualization
- func (n *Node) Identify() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeConfig
- type NodeGraph
- type NodeGraphEdge
- type NodeGraphVertex
- type OSConfig
- func (*OSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OSConfig) GetAppend() string
- func (x *OSConfig) GetBGP() []*BGPRouterConfig
- func (x *OSConfig) GetBridge() []*BridgeConfig
- func (x *OSConfig) GetDefaultImage() string
- func (x *OSConfig) GetRootdev() string
- func (x *OSConfig) GetServiceEndpoints() map[uint32]*ServiceEndpoint
- func (x *OSConfig) GetVLAN() []*VLANConfig
- func (*OSConfig) ProtoMessage()
- func (x *OSConfig) ProtoReflect() protoreflect.Message
- func (x *OSConfig) Reset()
- func (x *OSConfig) String() string
- type Operator
- type Phyo
- type Port
- func (*Port) Descriptor() ([]byte, []int)deprecated
- func (x *Port) GetBond() *PortBond
- func (x *Port) GetBreakout() *Breakout
- func (x *Port) GetCapacity() uint64
- func (x *Port) GetConnector() *Ref
- func (x *Port) GetFormFactor() ConnectorKind
- func (x *Port) GetIndex() uint32
- func (x *Port) GetMac() string
- func (x *Port) GetName() string
- func (x *Port) GetParent() string
- func (x *Port) GetProtocols() []Layer1
- func (x *Port) GetQueues() uint64
- func (x *Port) GetRole() LinkRole
- func (x *Port) GetTPA() uint64
- func (p *Port) Label() string
- func (*Port) ProtoMessage()
- func (x *Port) ProtoReflect() protoreflect.Message
- func (x *Port) Reset()
- func (p *Port) Satisfies(s *PortSpec) bool
- func (p *Port) SetCapacity(c uint64)
- func (p *Port) SetConnector(c ConnectorKind)
- func (x *Port) String() string
- type PortAllocation
- func (a *PortAllocation) Add(x *PortAllocation)
- func (*PortAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *PortAllocation) GetCapacity() uint64
- func (x *PortAllocation) GetMac() string
- func (x *PortAllocation) GetName() string
- func (*PortAllocation) ProtoMessage()
- func (x *PortAllocation) ProtoReflect() protoreflect.Message
- func (x *PortAllocation) Reset()
- func (x *PortAllocation) String() string
- type PortBond
- type PortRef
- type PortSpec
- func (*PortSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PortSpec) GetCapacity() *Uint64Constraint
- func (x *PortSpec) GetDPDK() *BoolConstraint
- func (x *PortSpec) GetFormFactor() *ConnectorKindConstraint
- func (x *PortSpec) GetModel() *NICModelConstraint
- func (x *PortSpec) GetProtocols() []Layer1
- func (x *PortSpec) GetQueues() *Uint64Constraint
- func (*PortSpec) ProtoMessage()
- func (x *PortSpec) ProtoReflect() protoreflect.Message
- func (x *PortSpec) Reset()
- func (x *PortSpec) String() string
- type PowerDistributionUnit
- func (*PowerDistributionUnit) Descriptor() ([]byte, []int)deprecated
- func (x *PowerDistributionUnit) GetHost() string
- func (x *PowerDistributionUnit) GetKind() PowerDistributionUnit_Kind
- func (x *PowerDistributionUnit) GetOutlets() []uint32
- func (*PowerDistributionUnit) ProtoMessage()
- func (x *PowerDistributionUnit) ProtoReflect() protoreflect.Message
- func (x *PowerDistributionUnit) Reset()
- func (x *PowerDistributionUnit) String() string
- type PowerDistributionUnit_Kind
- func (PowerDistributionUnit_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x PowerDistributionUnit_Kind) Enum() *PowerDistributionUnit_Kind
- func (PowerDistributionUnit_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x PowerDistributionUnit_Kind) Number() protoreflect.EnumNumber
- func (x PowerDistributionUnit_Kind) String() string
- func (PowerDistributionUnit_Kind) Type() protoreflect.EnumType
- type Proc
- func (*Proc) Descriptor() ([]byte, []int)deprecated
- func (x *Proc) GetBaseFrequency() uint64
- func (x *Proc) GetCores() uint32
- func (x *Proc) GetFamily() string
- func (x *Proc) GetHyperthreaded() bool
- func (x *Proc) GetIsa() ISA
- func (x *Proc) GetL2() uint64
- func (x *Proc) GetProductInfo() *ProductInfo
- func (x *Proc) GetTdp() uint32
- func (x *Proc) GetThreads() uint32
- func (*Proc) ProtoMessage()
- func (x *Proc) ProtoReflect() protoreflect.Message
- func (x *Proc) Reset()
- func (x *Proc) SetProductInfo(pi *ProductInfo)
- func (x *Proc) String() string
- type ProcAllocation
- func (a *ProcAllocation) Allocate(index uint32, s *SocketAllocation)
- func (*ProcAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *ProcAllocation) GetAlloc() map[uint32]*SocketAllocation
- func (*ProcAllocation) ProtoMessage()
- func (x *ProcAllocation) ProtoReflect() protoreflect.Message
- func (x *ProcAllocation) Reset()
- func (p *ProcAllocation) Show() string
- func (x *ProcAllocation) String() string
- func (p *ProcAllocation) TotalCores() uint32
- type ProcSpec
- func (*ProcSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ProcSpec) GetBaseFrequency() *Uint64Constraint
- func (x *ProcSpec) GetCores() *Uint32Constraint
- func (x *ProcSpec) GetFamily() *StringConstraint
- func (x *ProcSpec) GetHyperthreaded() *BoolConstraint
- func (x *ProcSpec) GetIsa() *ISAConstraint
- func (x *ProcSpec) GetL2() *Uint64Constraint
- func (x *ProcSpec) GetSockets() *Uint32Constraint
- func (x *ProcSpec) GetTdp() *Uint32Constraint
- func (x *ProcSpec) GetThreads() *Uint32Constraint
- func (*ProcSpec) ProtoMessage()
- func (x *ProcSpec) ProtoReflect() protoreflect.Message
- func (x *ProcSpec) Reset()
- func (x *ProcSpec) String() string
- type Product
- type ProductInfo
- func (*ProductInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfo) GetCost() float32
- func (x *ProductInfo) GetIntegrated() bool
- func (x *ProductInfo) GetManufacturer() string
- func (x *ProductInfo) GetModel() string
- func (x *ProductInfo) GetSKU() string
- func (*ProductInfo) ProtoMessage()
- func (x *ProductInfo) ProtoReflect() protoreflect.Message
- func (x *ProductInfo) Reset()
- func (x *ProductInfo) String() string
- type Properties
- type Properties_Values
- type Raven
- type Ref
- func (*Ref) Descriptor() ([]byte, []int)deprecated
- func (r *Ref) Eq(other *Ref) bool
- func (x *Ref) GetElement() string
- func (x *Ref) GetIndex() uint32
- func (x *Ref) GetSubref() *Subref
- func (r *Ref) Label() string
- func (*Ref) ProtoMessage()
- func (x *Ref) ProtoReflect() protoreflect.Message
- func (x *Ref) Reset()
- func (x *Ref) String() string
- type RelayBoard
- func (*RelayBoard) Descriptor() ([]byte, []int)deprecated
- func (x *RelayBoard) GetHost() string
- func (x *RelayBoard) GetIndex() uint32
- func (x *RelayBoard) GetKind() RelayBoard_Kind
- func (*RelayBoard) ProtoMessage()
- func (x *RelayBoard) ProtoReflect() protoreflect.Message
- func (x *RelayBoard) Reset()
- func (x *RelayBoard) String() string
- type RelayBoard_Kind
- func (RelayBoard_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x RelayBoard_Kind) Enum() *RelayBoard_Kind
- func (RelayBoard_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelayBoard_Kind) Number() protoreflect.EnumNumber
- func (x RelayBoard_Kind) String() string
- func (RelayBoard_Kind) Type() protoreflect.EnumType
- type Resource
- func (r *Resource) Cores() uint32
- func (r *Resource) Degree() int
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (r *Resource) Device() *Device
- func (r *Resource) DiskName(d *Disk) string
- func (r *Resource) Emu() *Port
- func (r *Resource) Eth(i int) *Port
- func (r *Resource) Gbps(v uint64) []*Port
- func (x *Resource) GetAlloc() []AllocMode
- func (r *Resource) GetBGP() []*BGPRouterConfig
- func (x *Resource) GetDisks() []*Disk
- func (r *Resource) GetEVPN() []*EVPNConfig
- func (x *Resource) GetFacility() string
- func (x *Resource) GetFirmware() *Firmware
- func (x *Resource) GetId() string
- func (x *Resource) GetInfranetAddr() map[string]*AddressList
- func (x *Resource) GetIpmi() *BMC
- func (x *Resource) GetLeafConfig() *LeafConfig
- func (x *Resource) GetMemory() []*Dimm
- func (x *Resource) GetNICs() []*NIC
- func (x *Resource) GetOS() *OSConfig
- func (x *Resource) GetPdu() *PowerDistributionUnit
- func (m *Resource) GetPowerControl() isResource_PowerControl
- func (x *Resource) GetProcs() []*Proc
- func (x *Resource) GetProductInfo() *ProductInfo
- func (x *Resource) GetRaven() *Raven
- func (x *Resource) GetRelayboard() *RelayBoard
- func (x *Resource) GetRoles() []Role
- func (x *Resource) GetTPA() uint64
- func (r *Resource) HasAllocMode(modes ...AllocMode) bool
- func (r *Resource) HasRole(roles ...Role) bool
- func (r *Resource) HasRoles(roles ...Role) bool
- func (r *Resource) Idegree() int
- func (r *Resource) Identify() string
- func (r *Resource) InfraBandwidth() uint64
- func (r *Resource) Infranet() *Port
- func (r *Resource) IsSwitch() bool
- func (r *Resource) Mem() uint64
- func (r *Resource) Mgmt() *Port
- func (r *Resource) NextEno() *Port
- func (r *Resource) NextEnoG(gbps uint64) *Port
- func (r *Resource) NextEnp() *Port
- func (r *Resource) NextEnpG(gbps uint64) *Port
- func (r *Resource) NextEnpsG(gbps uint64, quantity int) []*Port
- func (r *Resource) NextEns() *Port
- func (r *Resource) NextEth() *Port
- func (r *Resource) NextEthG(gbps uint64) *Port
- func (r *Resource) NextEthsG(count uint, gbps uint64) []*Port
- func (r *Resource) NextIfx(kind NICKind) *Port
- func (r *Resource) NextIfxG(gbps uint64, kind NICKind) *Port
- func (r *Resource) NextIfxs(kind NICKind, count uint) []*Port
- func (r *Resource) NextIfxsG(gbps uint64, kind NICKind, quantity int) []*Port
- func (r *Resource) NextSwp() *Port
- func (r *Resource) NextSwpG(gbps uint64) *Port
- func (r *Resource) NextSwps(count uint) []*Port
- func (r *Resource) NextSwpsG(count uint, gbps uint64) []*Port
- func (r *Resource) NextXpnet() *Port
- func (r *Resource) NextXpnetG(gbps uint64) *Port
- func (r *Resource) PhysPortName(x *Port) string
- func (r *Resource) PortName(x *Port) string
- func (r *Resource) PortSelect(selector func(*Port) bool) map[string]*Port
- func (r *Resource) PortsByRole(role LinkRole) map[string]*Port
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) SetProductInfo(pi *ProductInfo)
- func (r *Resource) Storage() uint64
- func (x *Resource) String() string
- func (r *Resource) Swp(i int) *Port
- func (r *Resource) SwpBandwidth() uint64
- func (r *Resource) Swps() []*Port
- func (r *Resource) Xdegree() int
- func (r *Resource) XpBandwidth() uint64
- type ResourceAllocation
- func (a *ResourceAllocation) AddDisks(m *DisksAllocation)
- func (a *ResourceAllocation) AddMemory(m *MemoryAllocation)
- func (a *ResourceAllocation) AddNICs(m *NICsAllocation)
- func (a *ResourceAllocation) AddProc(p *ProcAllocation)
- func (*ResourceAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceAllocation) GetDisks() *DisksAllocation
- func (x *ResourceAllocation) GetFacility() string
- func (x *ResourceAllocation) GetMemory() *MemoryAllocation
- func (x *ResourceAllocation) GetModel() *Node
- func (x *ResourceAllocation) GetMzid() string
- func (x *ResourceAllocation) GetNICs() *NICsAllocation
- func (x *ResourceAllocation) GetNode() string
- func (x *ResourceAllocation) GetProcs() *ProcAllocation
- func (x *ResourceAllocation) GetResource() string
- func (x *ResourceAllocation) GetRevision() int64
- func (x *ResourceAllocation) GetVirtual() bool
- func (*ResourceAllocation) ProtoMessage()
- func (x *ResourceAllocation) ProtoReflect() protoreflect.Message
- func (x *ResourceAllocation) Reset()
- func (rs *ResourceAllocation) Show() string
- func (x *ResourceAllocation) String() string
- type Resource_Ipmi
- type Resource_Pdu
- type Resource_Raven
- type Resource_Relayboard
- type Role
- type RouteConf
- func (*RouteConf) Descriptor() ([]byte, []int)deprecated
- func (x *RouteConf) GetDst() string
- func (x *RouteConf) GetGw() string
- func (x *RouteConf) GetSrc() string
- func (*RouteConf) ProtoMessage()
- func (x *RouteConf) ProtoReflect() protoreflect.Message
- func (x *RouteConf) Reset()
- func (x *RouteConf) String() string
- type RouteConfig
- func (*RouteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RouteConfig) GetDst() string
- func (x *RouteConfig) GetGw() string
- func (x *RouteConfig) GetSrc() string
- func (*RouteConfig) ProtoMessage()
- func (x *RouteConfig) ProtoReflect() protoreflect.Message
- func (x *RouteConfig) Reset()
- func (x *RouteConfig) String() string
- type Routing
- type RoutingConstraint
- func (*RoutingConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *RoutingConstraint) GetOp() Operator
- func (x *RoutingConstraint) GetValue() Routing
- func (*RoutingConstraint) ProtoMessage()
- func (x *RoutingConstraint) ProtoReflect() protoreflect.Message
- func (x *RoutingConstraint) Reset()
- func (c *RoutingConstraint) Satisfies(value Routing) bool
- func (x *RoutingConstraint) String() string
- type Sensor
- func (*Sensor) Descriptor() ([]byte, []int)deprecated
- func (x *Sensor) GetId() string
- func (x *Sensor) GetRate() float32
- func (x *Sensor) GetTag() int32
- func (x *Sensor) GetTarget() string
- func (x *Sensor) GetVar() string
- func (*Sensor) ProtoMessage()
- func (x *Sensor) ProtoReflect() protoreflect.Message
- func (x *Sensor) Reset()
- func (x *Sensor) String() string
- type ServiceEndpoint
- type SetCapacity
- type SetConnector
- type Socket
- func (*Socket) Descriptor() ([]byte, []int)deprecated
- func (x *Socket) GetAddrs() []string
- func (x *Socket) GetEndpoint() *Ref
- func (x *Socket) GetIndex() int32
- func (x *Socket) GetPort() *PortSpec
- func (s *Socket) Label(node string) string
- func (*Socket) ProtoMessage()
- func (x *Socket) ProtoReflect() protoreflect.Message
- func (x *Socket) Reset()
- func (x *Socket) String() string
- type SocketAllocation
- func (a *SocketAllocation) Add(x *SocketAllocation)
- func (*SocketAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *SocketAllocation) GetCores() uint32
- func (*SocketAllocation) ProtoMessage()
- func (x *SocketAllocation) ProtoReflect() protoreflect.Message
- func (x *SocketAllocation) Reset()
- func (x *SocketAllocation) String() string
- type SocketGraph
- type SocketGraphEdge
- type SocketGraphVertex
- type StringConstraint
- func (*StringConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *StringConstraint) GetOp() Operator
- func (x *StringConstraint) GetValue() string
- func (*StringConstraint) ProtoMessage()
- func (x *StringConstraint) ProtoReflect() protoreflect.Message
- func (x *StringConstraint) Reset()
- func (x *StringConstraint) String() string
- type Subref
- type Topology
- type Uint32Constraint
- func (*Uint32Constraint) Descriptor() ([]byte, []int)deprecated
- func (x *Uint32Constraint) GetOp() Operator
- func (x *Uint32Constraint) GetValue() uint32
- func (*Uint32Constraint) ProtoMessage()
- func (x *Uint32Constraint) ProtoReflect() protoreflect.Message
- func (x *Uint32Constraint) Reset()
- func (x *Uint32Constraint) String() string
- type Uint64Constraint
- func (*Uint64Constraint) Descriptor() ([]byte, []int)deprecated
- func (x *Uint64Constraint) GetOp() Operator
- func (x *Uint64Constraint) GetValue() uint64
- func (*Uint64Constraint) ProtoMessage()
- func (x *Uint64Constraint) ProtoReflect() protoreflect.Message
- func (x *Uint64Constraint) Reset()
- func (x *Uint64Constraint) String() string
- type VLANConfig
- func (*VLANConfig) Descriptor() ([]byte, []int)deprecated
- func (x *VLANConfig) GetAddrs() []string
- func (x *VLANConfig) GetDevice() string
- func (x *VLANConfig) GetRole() LinkRole
- func (x *VLANConfig) GetVid() uint32
- func (*VLANConfig) ProtoMessage()
- func (x *VLANConfig) ProtoReflect() protoreflect.Message
- func (x *VLANConfig) Reset()
- func (x *VLANConfig) String() string
- type Variable
- type Visualization
- func (*Visualization) Descriptor() ([]byte, []int)deprecated
- func (x *Visualization) GetColor() string
- func (x *Visualization) GetSize() uint32
- func (*Visualization) ProtoMessage()
- func (x *Visualization) ProtoReflect() protoreflect.Message
- func (x *Visualization) Reset()
- func (x *Visualization) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Routing_name = map[int32]string{ 0: "ManualRouting", 1: "StaticRouting", } Routing_value = map[string]int32{ "ManualRouting": 0, "StaticRouting": 1, } )
Enum value maps for Routing.
var ( Addressing_name = map[int32]string{ 0: "ManualAddressing", 1: "IPv4Addressing", } Addressing_value = map[string]int32{ "ManualAddressing": 0, "IPv4Addressing": 1, } )
Enum value maps for Addressing.
var ( ISA_name = map[int32]string{ 0: "X86_64", } ISA_value = map[string]int32{ "X86_64": 0, } )
Enum value maps for ISA.
var ( MemoryType_name = map[int32]string{ 0: "DDR3", 1: "DDR4", } MemoryType_value = map[string]int32{ "DDR3": 0, "DDR4": 1, } )
Enum value maps for MemoryType.
var ( NICModel_name = map[int32]string{ 0: "Intel200", 1: "Intel300", 2: "Intel500", 3: "Intel700", 4: "Intel800", 50: "Intel7000", 51: "Intel8000", 52: "Intel9000", 101: "ConnectX4", 102: "ConnectX5", 103: "ConnectX6", 201: "NetXtreme2", 301: "QCA9000", 10001: "Virtio", 10002: "E1000", 10003: "E1000E", 10004: "VF", } NICModel_value = map[string]int32{ "Intel200": 0, "Intel300": 1, "Intel500": 2, "Intel700": 3, "Intel800": 4, "Intel7000": 50, "Intel8000": 51, "Intel9000": 52, "ConnectX4": 101, "ConnectX5": 102, "ConnectX6": 103, "NetXtreme2": 201, "QCA9000": 301, "Virtio": 10001, "E1000": 10002, "E1000E": 10003, "VF": 10004, } )
Enum value maps for NICModel.
var ( NICKind_name = map[int32]string{ 0: "ETH", 1: "ENP", 2: "ENO", 3: "ENS", 4: "WLP", 5: "SWP", 6: "IPMI", 7: "Combo", } NICKind_value = map[string]int32{ "ETH": 0, "ENP": 1, "ENO": 2, "ENS": 3, "WLP": 4, "SWP": 5, "IPMI": 6, "Combo": 7, } )
Enum value maps for NICKind.
var ( Layer1_name = map[int32]string{ 0: "Layer1_Undefined", 1: "Base100T", 2: "Base1000T", 3: "Base1000X", 4: "Base1000CX", 5: "Base1000SX", 6: "Base1000LX", 7: "Base1000LX10", 8: "Base1000EX", 9: "Base1000BX10", 10: "Base1000ZX", 11: "GBase10T", 12: "GBase10CR", 13: "GBase10SR", 14: "GBase10LR", 15: "GBase10LRM", 16: "GBase10ER", 17: "GBase10ZR", 18: "GBase10LX4", 19: "GBase10PR", 20: "GBase25CR", 21: "GBase25SR", 22: "GBase25LR", 23: "GBase25ER", 24: "GBase40CR4", 25: "GBase40SR4", 26: "GBase40LR4", 27: "GBase40ER4", 28: "GBase100CR4", 29: "GBase100SR4", 30: "GBase100SR10", 31: "GBase100LR4", 32: "GBase100ER4", 33: "RS232", 34: "Uart", 35: "GBase50SR4", 36: "GBase50LR4", 37: "GBase50ER4", 38: "GBase50CR", 39: "GBase50KR", 40: "GBase50SR", 41: "GBase50LR", 42: "GBase50FR", 43: "GBase50ER", 44: "LAUI_2", 45: "GAUI50_1", 46: "GAUI50_2", 47: "GBase200CR4", 48: "GBase200KR4", 49: "GBase200SR4", 50: "GBase200DR4", 51: "GBase200FR4", 52: "GBase200LR4", 53: "GBase200ER4", 54: "GAUI200_4", 55: "GAUI200_8", 56: "GBase400SR16", 57: "GBase400SR8", 58: "GBase400SR4_2", 59: "GBase400DR4", 60: "GBase400FR8", 61: "GBase400ER8", 62: "GBase400ZR", 63: "GAUI400_16", 64: "GAUI400_8", 65: "XBee", 66: "ZWave", 67: "Zigbee", 68: "CXP100", 69: "CXP120", } Layer1_value = map[string]int32{ "Layer1_Undefined": 0, "Base100T": 1, "Base1000T": 2, "Base1000X": 3, "Base1000CX": 4, "Base1000SX": 5, "Base1000LX": 6, "Base1000LX10": 7, "Base1000EX": 8, "Base1000BX10": 9, "Base1000ZX": 10, "GBase10T": 11, "GBase10CR": 12, "GBase10SR": 13, "GBase10LR": 14, "GBase10LRM": 15, "GBase10ER": 16, "GBase10ZR": 17, "GBase10LX4": 18, "GBase10PR": 19, "GBase25CR": 20, "GBase25SR": 21, "GBase25LR": 22, "GBase25ER": 23, "GBase40CR4": 24, "GBase40SR4": 25, "GBase40LR4": 26, "GBase40ER4": 27, "GBase100CR4": 28, "GBase100SR4": 29, "GBase100SR10": 30, "GBase100LR4": 31, "GBase100ER4": 32, "RS232": 33, "Uart": 34, "GBase50SR4": 35, "GBase50LR4": 36, "GBase50ER4": 37, "GBase50CR": 38, "GBase50KR": 39, "GBase50SR": 40, "GBase50LR": 41, "GBase50FR": 42, "GBase50ER": 43, "LAUI_2": 44, "GAUI50_1": 45, "GAUI50_2": 46, "GBase200CR4": 47, "GBase200KR4": 48, "GBase200SR4": 49, "GBase200DR4": 50, "GBase200FR4": 51, "GBase200LR4": 52, "GBase200ER4": 53, "GAUI200_4": 54, "GAUI200_8": 55, "GBase400SR16": 56, "GBase400SR8": 57, "GBase400SR4_2": 58, "GBase400DR4": 59, "GBase400FR8": 60, "GBase400ER8": 61, "GBase400ZR": 62, "GAUI400_16": 63, "GAUI400_8": 64, "XBee": 65, "ZWave": 66, "Zigbee": 67, "CXP100": 68, "CXP120": 69, } )
Enum value maps for Layer1.
var ( ConnectorKind_name = map[int32]string{ 0: "ConnectorKind_Undefined", 1: "RJ45", 2: "SFP", 3: "QSFP", 4: "SFPP", 5: "QSFPP", 6: "SFP28", 7: "QSFP28", 8: "CXP", 9: "LC", 10: "MPO", 11: "SFP56", 12: "QSFP56", 13: "QSFPDD", } ConnectorKind_value = map[string]int32{ "ConnectorKind_Undefined": 0, "RJ45": 1, "SFP": 2, "QSFP": 3, "SFPP": 4, "QSFPP": 5, "SFP28": 6, "QSFP28": 7, "CXP": 8, "LC": 9, "MPO": 10, "SFP56": 11, "QSFP56": 12, "QSFPDD": 13, } )
Enum value maps for ConnectorKind.
var ( DiskFormFactor_name = map[int32]string{ 0: "DiskFormFactor_Undefined", 1: "HDD35", 2: "HDD25", 3: "SSD35", 4: "SSD25", 5: "MSATA", 6: "M2_2216", 7: "M2_2226", 8: "M2_2230", 9: "M2_2238", 10: "M2_2242", 11: "M2_2260", 12: "M2_2280", 13: "M2_22110", 14: "U2", 15: "EMMC", 16: "EUSB", } DiskFormFactor_value = map[string]int32{ "DiskFormFactor_Undefined": 0, "HDD35": 1, "HDD25": 2, "SSD35": 3, "SSD25": 4, "MSATA": 5, "M2_2216": 6, "M2_2226": 7, "M2_2230": 8, "M2_2238": 9, "M2_2242": 10, "M2_2260": 11, "M2_2280": 12, "M2_22110": 13, "U2": 14, "EMMC": 15, "EUSB": 16, } )
Enum value maps for DiskFormFactor.
var ( DiskInterface_name = map[int32]string{ 0: "DiskInterface_Undefined", 1: "SATA1", 2: "SATA2", 3: "SATA3", 4: "NVMEx2", 5: "NVMEx4", 6: "MMC", 7: "SD", 8: "USB", 9: "SAS", 10: "VirtioBlock", } DiskInterface_value = map[string]int32{ "DiskInterface_Undefined": 0, "SATA1": 1, "SATA2": 2, "SATA3": 3, "NVMEx2": 4, "NVMEx4": 5, "MMC": 6, "SD": 7, "USB": 8, "SAS": 9, "VirtioBlock": 10, } )
Enum value maps for DiskInterface.
var ( CableKind_name = map[int32]string{ 0: "CableKind_Undefined", 1: "Cat5", 2: "Cat5e", 3: "Cat6", 4: "DAC", 5: "DACBreakout", 6: "FiberLC", 7: "FiberMPOTrunk", 8: "FiberMPOBreakout", 9: "AOC", } CableKind_value = map[string]int32{ "CableKind_Undefined": 0, "Cat5": 1, "Cat5e": 2, "Cat6": 3, "DAC": 4, "DACBreakout": 5, "FiberLC": 6, "FiberMPOTrunk": 7, "FiberMPOBreakout": 8, "AOC": 9, } )
Enum value maps for CableKind.
var ( AllocMode_name = map[int32]string{ 0: "AllocMode_Undefined", 1: "NoAlloc", 2: "Net", 3: "NetEmu", 4: "Filesystem", 5: "BlockDevice", 6: "Physical", 7: "Virtual", 8: "Infrapod", 9: "Physim", } AllocMode_value = map[string]int32{ "AllocMode_Undefined": 0, "NoAlloc": 1, "Net": 2, "NetEmu": 3, "Filesystem": 4, "BlockDevice": 5, "Physical": 6, "Virtual": 7, "Infrapod": 8, "Physim": 9, } )
Enum value maps for AllocMode.
var ( Role_name = map[int32]string{ 0: "Role_unknown", 1: "TbNode", 2: "InfraServer", 3: "ConsoleServer", 4: "PowerController", 5: "NetworkEmulator", 6: "XpSwitch", 7: "InfraSwitch", 8: "MgmtSwitch", 9: "Gateway", 10: "Leaf", 11: "Fabric", 12: "Spine", 13: "StorageServer", 14: "InfrapodServer", 15: "EtcdHost", 16: "MinIOHost", 17: "RexHost", 18: "DriverHost", 19: "ManagerHost", 20: "CommanderHost", 21: "SledHost", 22: "RallyHost", 23: "PDU", 24: "EmuSwitch", 25: "Hypervisor", 26: "PhysicsSimulator", 27: "Stem", 28: "BorderGateway", 29: "OpsServer", } Role_value = map[string]int32{ "Role_unknown": 0, "TbNode": 1, "InfraServer": 2, "ConsoleServer": 3, "PowerController": 4, "NetworkEmulator": 5, "XpSwitch": 6, "InfraSwitch": 7, "MgmtSwitch": 8, "Gateway": 9, "Leaf": 10, "Fabric": 11, "Spine": 12, "StorageServer": 13, "InfrapodServer": 14, "EtcdHost": 15, "MinIOHost": 16, "RexHost": 17, "DriverHost": 18, "ManagerHost": 19, "CommanderHost": 20, "SledHost": 21, "RallyHost": 22, "PDU": 23, "EmuSwitch": 24, "Hypervisor": 25, "PhysicsSimulator": 26, "Stem": 27, "BorderGateway": 28, "OpsServer": 29, } )
Enum value maps for Role.
var ( LinkRole_name = map[int32]string{ 0: "LinkRole_Unspecified", 1: "InfraLink", 2: "XpLink", 3: "Tor", 4: "EmuLink", 5: "MgmtLink", 6: "GatewayLink", 7: "SimLink", 8: "HarborEndpoint", } LinkRole_value = map[string]int32{ "LinkRole_Unspecified": 0, "InfraLink": 1, "XpLink": 2, "Tor": 3, "EmuLink": 4, "MgmtLink": 5, "GatewayLink": 6, "SimLink": 7, "HarborEndpoint": 8, } )
Enum value maps for LinkRole.
var ( DiskRole_name = map[int32]string{ 0: "DiskRole_Unspecified", 1: "System", 2: "MinIO", 3: "Etcd", 4: "Rally", 5: "Mariner", } DiskRole_value = map[string]int32{ "DiskRole_Unspecified": 0, "System": 1, "MinIO": 2, "Etcd": 3, "Rally": 4, "Mariner": 5, } )
Enum value maps for DiskRole.
var ( Operator_name = map[int32]string{ 0: "Op_Undefined", 1: "LT", 2: "LE", 3: "GT", 4: "GE", 5: "EQ", 6: "NE", } Operator_value = map[string]int32{ "Op_Undefined": 0, "LT": 1, "LE": 2, "GT": 3, "GE": 4, "EQ": 5, "NE": 6, } )
Enum value maps for Operator.
var ( Link_Kind_name = map[int32]string{ 0: "unspec", 1: "ethernet", 2: "wifi", 3: "wifi_ac", 4: "wifi_ax", 5: "lte_4g", 6: "lte_5g", } Link_Kind_value = map[string]int32{ "unspec": 0, "ethernet": 1, "wifi": 2, "wifi_ac": 3, "wifi_ax": 4, "lte_4g": 5, "lte_5g": 6, } )
Enum value maps for Link_Kind.
var ( BMC_Kind_name = map[int32]string{ 0: "IPMI", 1: "RedFish", 2: "IPMIRedFish", } BMC_Kind_value = map[string]int32{ "IPMI": 0, "RedFish": 1, "IPMIRedFish": 2, } )
Enum value maps for BMC_Kind.
var ( RelayBoard_Kind_name = map[int32]string{ 0: "NCDFusion", } RelayBoard_Kind_value = map[string]int32{ "NCDFusion": 0, } )
Enum value maps for RelayBoard_Kind.
var ( PowerDistributionUnit_Kind_name = map[int32]string{ 0: "APC", } PowerDistributionUnit_Kind_value = map[string]int32{ "APC": 0, } )
Enum value maps for PowerDistributionUnit_Kind.
var ( Firmware_Kind_name = map[int32]string{ 0: "Undefined", 1: "UEFI", 2: "BIOS", } Firmware_Kind_value = map[string]int32{ "Undefined": 0, "UEFI": 1, "BIOS": 2, } )
Enum value maps for Firmware_Kind.
var File_core_proto protoreflect.FileDescriptor
Functions ¶
func FormatUnits ¶
Types ¶
type Actuator ¶
type Actuator struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Var string `protobuf:"bytes,2,opt,name=var,proto3" json:"var,omitempty"` DynamicLimits *Limits `protobuf:"bytes,3,opt,name=dynamic_limits,json=dynamicLimits,proto3" json:"dynamic_limits,omitempty"` StaticLimits *Limits `protobuf:"bytes,4,opt,name=static_limits,json=staticLimits,proto3" json:"static_limits,omitempty"` Tag int32 `protobuf:"varint,5,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*Actuator) Descriptor
deprecated
func (*Actuator) GetDynamicLimits ¶
func (*Actuator) GetStaticLimits ¶
func (*Actuator) ProtoMessage ¶
func (*Actuator) ProtoMessage()
func (*Actuator) ProtoReflect ¶
func (x *Actuator) ProtoReflect() protoreflect.Message
type AddressList ¶
type AddressList struct { List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*AddressList) Descriptor
deprecated
func (*AddressList) Descriptor() ([]byte, []int)
Deprecated: Use AddressList.ProtoReflect.Descriptor instead.
func (*AddressList) GetList ¶
func (x *AddressList) GetList() []string
func (*AddressList) ProtoMessage ¶
func (*AddressList) ProtoMessage()
func (*AddressList) ProtoReflect ¶
func (x *AddressList) ProtoReflect() protoreflect.Message
func (*AddressList) Reset ¶
func (x *AddressList) Reset()
func (*AddressList) String ¶
func (x *AddressList) String() string
type Addressing ¶
type Addressing int32
const ( Addressing_ManualAddressing Addressing = 0 Addressing_IPv4Addressing Addressing = 1 )
func (Addressing) Descriptor ¶
func (Addressing) Descriptor() protoreflect.EnumDescriptor
func (Addressing) Enum ¶
func (x Addressing) Enum() *Addressing
func (Addressing) EnumDescriptor
deprecated
func (Addressing) EnumDescriptor() ([]byte, []int)
Deprecated: Use Addressing.Descriptor instead.
func (Addressing) Number ¶
func (x Addressing) Number() protoreflect.EnumNumber
func (Addressing) String ¶
func (x Addressing) String() string
func (Addressing) Type ¶
func (Addressing) Type() protoreflect.EnumType
type AddressingConstraint ¶ added in v0.3.1
type AddressingConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value Addressing `protobuf:"varint,2,opt,name=value,proto3,enum=xir.Addressing" json:"value,omitempty"` // contains filtered or unexported fields }
func (*AddressingConstraint) Descriptor
deprecated
added in
v0.3.1
func (*AddressingConstraint) Descriptor() ([]byte, []int)
Deprecated: Use AddressingConstraint.ProtoReflect.Descriptor instead.
func (*AddressingConstraint) GetOp ¶ added in v0.3.1
func (x *AddressingConstraint) GetOp() Operator
func (*AddressingConstraint) GetValue ¶ added in v0.3.1
func (x *AddressingConstraint) GetValue() Addressing
func (*AddressingConstraint) ProtoMessage ¶ added in v0.3.1
func (*AddressingConstraint) ProtoMessage()
func (*AddressingConstraint) ProtoReflect ¶ added in v0.3.1
func (x *AddressingConstraint) ProtoReflect() protoreflect.Message
func (*AddressingConstraint) Reset ¶ added in v0.3.1
func (x *AddressingConstraint) Reset()
func (*AddressingConstraint) Satisfies ¶ added in v0.3.1
func (c *AddressingConstraint) Satisfies(value Addressing) bool
func (*AddressingConstraint) String ¶ added in v0.3.1
func (x *AddressingConstraint) String() string
type AllocMode ¶
type AllocMode int32
const ( AllocMode_AllocMode_Undefined AllocMode = 0 AllocMode_NoAlloc AllocMode = 1 AllocMode_Net AllocMode = 2 AllocMode_NetEmu AllocMode = 3 AllocMode_Filesystem AllocMode = 4 AllocMode_BlockDevice AllocMode = 5 AllocMode_Physical AllocMode = 6 AllocMode_Virtual AllocMode = 7 AllocMode_Infrapod AllocMode = 8 AllocMode_Physim AllocMode = 9 )
func (AllocMode) Descriptor ¶
func (AllocMode) Descriptor() protoreflect.EnumDescriptor
func (AllocMode) EnumDescriptor
deprecated
func (AllocMode) Number ¶
func (x AllocMode) Number() protoreflect.EnumNumber
func (AllocMode) Type ¶
func (AllocMode) Type() protoreflect.EnumType
type BGPRouterConfig ¶
type BGPRouterConfig struct { Vrf string `protobuf:"bytes,1,opt,name=vrf,proto3" json:"vrf,omitempty"` ASN uint32 `protobuf:"varint,2,opt,name=ASN,proto3" json:"ASN,omitempty"` Interfaces []*InterfaceConfig `protobuf:"bytes,3,rep,name=Interfaces,proto3" json:"Interfaces,omitempty"` //XXX this is not really the way of things EVPN *EVPNConfig `protobuf:"bytes,4,opt,name=EVPN,proto3" json:"EVPN,omitempty"` // contains filtered or unexported fields }
func (*BGPRouterConfig) Descriptor
deprecated
func (*BGPRouterConfig) Descriptor() ([]byte, []int)
Deprecated: Use BGPRouterConfig.ProtoReflect.Descriptor instead.
func (*BGPRouterConfig) GetASN ¶
func (x *BGPRouterConfig) GetASN() uint32
func (*BGPRouterConfig) GetEVPN ¶
func (x *BGPRouterConfig) GetEVPN() *EVPNConfig
func (*BGPRouterConfig) GetInterfaces ¶
func (x *BGPRouterConfig) GetInterfaces() []*InterfaceConfig
func (*BGPRouterConfig) GetVrf ¶
func (x *BGPRouterConfig) GetVrf() string
func (*BGPRouterConfig) ProtoMessage ¶
func (*BGPRouterConfig) ProtoMessage()
func (*BGPRouterConfig) ProtoReflect ¶
func (x *BGPRouterConfig) ProtoReflect() protoreflect.Message
func (*BGPRouterConfig) Reset ¶
func (x *BGPRouterConfig) Reset()
func (*BGPRouterConfig) String ¶
func (x *BGPRouterConfig) String() string
type BMC ¶
type BMC struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Kind BMC_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=xir.BMC_Kind" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*BMC) Descriptor
deprecated
func (*BMC) ProtoMessage ¶
func (*BMC) ProtoMessage()
func (*BMC) ProtoReflect ¶
func (x *BMC) ProtoReflect() protoreflect.Message
type BMC_Kind ¶
type BMC_Kind int32
func (BMC_Kind) Descriptor ¶
func (BMC_Kind) Descriptor() protoreflect.EnumDescriptor
func (BMC_Kind) EnumDescriptor
deprecated
func (BMC_Kind) Number ¶
func (x BMC_Kind) Number() protoreflect.EnumNumber
func (BMC_Kind) Type ¶
func (BMC_Kind) Type() protoreflect.EnumType
type Bond ¶
type Bond struct {
// contains filtered or unexported fields
}
func (*Bond) Descriptor
deprecated
func (*Bond) ProtoMessage ¶
func (*Bond) ProtoMessage()
func (*Bond) ProtoReflect ¶
func (x *Bond) ProtoReflect() protoreflect.Message
type BoolConstraint ¶
type BoolConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BoolConstraint) Descriptor
deprecated
func (*BoolConstraint) Descriptor() ([]byte, []int)
Deprecated: Use BoolConstraint.ProtoReflect.Descriptor instead.
func (*BoolConstraint) GetOp ¶
func (x *BoolConstraint) GetOp() Operator
func (*BoolConstraint) GetValue ¶
func (x *BoolConstraint) GetValue() bool
func (*BoolConstraint) ProtoMessage ¶
func (*BoolConstraint) ProtoMessage()
func (*BoolConstraint) ProtoReflect ¶
func (x *BoolConstraint) ProtoReflect() protoreflect.Message
func (*BoolConstraint) Reset ¶
func (x *BoolConstraint) Reset()
func (*BoolConstraint) String ¶
func (x *BoolConstraint) String() string
type Breakout ¶ added in v0.3.1
type Breakout struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Radix uint32 `protobuf:"varint,2,opt,name=radix,proto3" json:"radix,omitempty"` // contains filtered or unexported fields }
func (*Breakout) Descriptor
deprecated
added in
v0.3.1
func (*Breakout) ProtoMessage ¶ added in v0.3.1
func (*Breakout) ProtoMessage()
func (*Breakout) ProtoReflect ¶ added in v0.3.1
func (x *Breakout) ProtoReflect() protoreflect.Message
type BridgeConfig ¶
type BridgeConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` VlanAware bool `protobuf:"varint,2,opt,name=vlan_aware,json=vlanAware,proto3" json:"vlan_aware,omitempty"` Addrs []string `protobuf:"bytes,3,rep,name=addrs,proto3" json:"addrs,omitempty"` Role LinkRole `protobuf:"varint,4,opt,name=role,proto3,enum=xir.LinkRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*BridgeConfig) Descriptor
deprecated
func (*BridgeConfig) Descriptor() ([]byte, []int)
Deprecated: Use BridgeConfig.ProtoReflect.Descriptor instead.
func (*BridgeConfig) GetAddrs ¶
func (x *BridgeConfig) GetAddrs() []string
func (*BridgeConfig) GetName ¶
func (x *BridgeConfig) GetName() string
func (*BridgeConfig) GetRole ¶
func (x *BridgeConfig) GetRole() LinkRole
func (*BridgeConfig) GetVlanAware ¶
func (x *BridgeConfig) GetVlanAware() bool
func (*BridgeConfig) ProtoMessage ¶
func (*BridgeConfig) ProtoMessage()
func (*BridgeConfig) ProtoReflect ¶
func (x *BridgeConfig) ProtoReflect() protoreflect.Message
func (*BridgeConfig) Reset ¶
func (x *BridgeConfig) Reset()
func (*BridgeConfig) String ¶
func (x *BridgeConfig) String() string
type Cable ¶
type Cable struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Facility string `protobuf:"bytes,2,opt,name=facility,proto3" json:"facility,omitempty"` Kind CableKind `protobuf:"varint,3,opt,name=kind,proto3,enum=xir.CableKind" json:"kind,omitempty"` Ends []*End `protobuf:"bytes,4,rep,name=ends,proto3" json:"ends,omitempty"` ProductInfo *ProductInfo `protobuf:"bytes,5,opt,name=product_info,json=productInfo,proto3" json:"product_info,omitempty"` // contains filtered or unexported fields }
func GenericCable ¶
func (*Cable) Descriptor
deprecated
func (*Cable) GetFacility ¶
func (*Cable) GetProductInfo ¶
func (x *Cable) GetProductInfo() *ProductInfo
func (*Cable) ProtoMessage ¶
func (*Cable) ProtoMessage()
func (*Cable) ProtoReflect ¶
func (x *Cable) ProtoReflect() protoreflect.Message
func (*Cable) SetConnector ¶
func (c *Cable) SetConnector(k ConnectorKind)
func (*Cable) SetProductInfo ¶
func (x *Cable) SetProductInfo(pi *ProductInfo)
type CableAllocation ¶
type CableAllocation struct { Cable string `protobuf:"bytes,1,opt,name=cable,proto3" json:"cable,omitempty"` Facility string `protobuf:"bytes,2,opt,name=facility,proto3" json:"facility,omitempty"` Mzid string `protobuf:"bytes,3,opt,name=mzid,proto3" json:"mzid,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` Capacity uint64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"` Revision int64 `protobuf:"varint,6,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func AggregateCableAllocations ¶
func AggregateCableAllocations(cs []*CableAllocation) *CableAllocation
func (*CableAllocation) Descriptor
deprecated
func (*CableAllocation) Descriptor() ([]byte, []int)
Deprecated: Use CableAllocation.ProtoReflect.Descriptor instead.
func (*CableAllocation) GetCable ¶
func (x *CableAllocation) GetCable() string
func (*CableAllocation) GetCapacity ¶
func (x *CableAllocation) GetCapacity() uint64
func (*CableAllocation) GetFacility ¶
func (x *CableAllocation) GetFacility() string
func (*CableAllocation) GetLink ¶
func (x *CableAllocation) GetLink() string
func (*CableAllocation) GetMzid ¶
func (x *CableAllocation) GetMzid() string
func (*CableAllocation) GetRevision ¶
func (x *CableAllocation) GetRevision() int64
func (*CableAllocation) ProtoMessage ¶
func (*CableAllocation) ProtoMessage()
func (*CableAllocation) ProtoReflect ¶
func (x *CableAllocation) ProtoReflect() protoreflect.Message
func (*CableAllocation) Reset ¶
func (x *CableAllocation) Reset()
func (*CableAllocation) Show ¶
func (ca *CableAllocation) Show() string
func (*CableAllocation) String ¶
func (x *CableAllocation) String() string
type CableKind ¶
type CableKind int32
const ( CableKind_CableKind_Undefined CableKind = 0 CableKind_Cat5 CableKind = 1 CableKind_Cat5e CableKind = 2 CableKind_Cat6 CableKind = 3 CableKind_DAC CableKind = 4 CableKind_DACBreakout CableKind = 5 CableKind_FiberLC CableKind = 6 CableKind_FiberMPOTrunk CableKind = 7 CableKind_FiberMPOBreakout CableKind = 8 CableKind_AOC CableKind = 9 )
func (CableKind) Descriptor ¶
func (CableKind) Descriptor() protoreflect.EnumDescriptor
func (CableKind) EnumDescriptor
deprecated
func (CableKind) Number ¶
func (x CableKind) Number() protoreflect.EnumNumber
func (CableKind) Type ¶
func (CableKind) Type() protoreflect.EnumType
type Connection ¶
type Connection struct { Edges []*Edge Data interface{} }
func (*Connection) Cable ¶
func (c *Connection) Cable() *Cable
func (*Connection) Label ¶
func (c *Connection) Label() string
func (*Connection) Link ¶
func (c *Connection) Link() *Link
type Connector ¶
type Connector struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Kind ConnectorKind `protobuf:"varint,3,opt,name=kind,proto3,enum=xir.ConnectorKind" json:"kind,omitempty"` Protocols []Layer1 `protobuf:"varint,4,rep,packed,name=protocols,proto3,enum=xir.Layer1" json:"protocols,omitempty"` Capacity uint64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"` Port *Ref `protobuf:"bytes,6,opt,name=Port,proto3" json:"Port,omitempty"` Breakout *Breakout `protobuf:"bytes,7,opt,name=breakout,proto3" json:"breakout,omitempty"` // contains filtered or unexported fields }
func GenericConnector ¶
func (*Connector) Descriptor
deprecated
func (*Connector) GetBreakout ¶ added in v0.3.1
func (*Connector) GetCapacity ¶
func (*Connector) GetKind ¶
func (x *Connector) GetKind() ConnectorKind
func (*Connector) GetProtocols ¶
func (*Connector) ProtoMessage ¶
func (*Connector) ProtoMessage()
func (*Connector) ProtoReflect ¶
func (x *Connector) ProtoReflect() protoreflect.Message
func (*Connector) SetConnector ¶
func (c *Connector) SetConnector(k ConnectorKind)
type ConnectorKind ¶
type ConnectorKind int32
const ( ConnectorKind_ConnectorKind_Undefined ConnectorKind = 0 ConnectorKind_RJ45 ConnectorKind = 1 ConnectorKind_SFP ConnectorKind = 2 ConnectorKind_QSFP ConnectorKind = 3 ConnectorKind_SFPP ConnectorKind = 4 ConnectorKind_QSFPP ConnectorKind = 5 ConnectorKind_SFP28 ConnectorKind = 6 ConnectorKind_QSFP28 ConnectorKind = 7 ConnectorKind_CXP ConnectorKind = 8 ConnectorKind_LC ConnectorKind = 9 ConnectorKind_MPO ConnectorKind = 10 ConnectorKind_SFP56 ConnectorKind = 11 ConnectorKind_QSFP56 ConnectorKind = 12 ConnectorKind_QSFPDD ConnectorKind = 13 )
func (ConnectorKind) Descriptor ¶
func (ConnectorKind) Descriptor() protoreflect.EnumDescriptor
func (ConnectorKind) Enum ¶
func (x ConnectorKind) Enum() *ConnectorKind
func (ConnectorKind) EnumDescriptor
deprecated
func (ConnectorKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectorKind.Descriptor instead.
func (ConnectorKind) Number ¶
func (x ConnectorKind) Number() protoreflect.EnumNumber
func (ConnectorKind) String ¶
func (x ConnectorKind) String() string
func (ConnectorKind) Type ¶
func (ConnectorKind) Type() protoreflect.EnumType
type ConnectorKindConstraint ¶
type ConnectorKindConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value ConnectorKind `protobuf:"varint,2,opt,name=value,proto3,enum=xir.ConnectorKind" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ConnectorKindConstraint) Descriptor
deprecated
func (*ConnectorKindConstraint) Descriptor() ([]byte, []int)
Deprecated: Use ConnectorKindConstraint.ProtoReflect.Descriptor instead.
func (*ConnectorKindConstraint) GetOp ¶
func (x *ConnectorKindConstraint) GetOp() Operator
func (*ConnectorKindConstraint) GetValue ¶
func (x *ConnectorKindConstraint) GetValue() ConnectorKind
func (*ConnectorKindConstraint) ProtoMessage ¶
func (*ConnectorKindConstraint) ProtoMessage()
func (*ConnectorKindConstraint) ProtoReflect ¶
func (x *ConnectorKindConstraint) ProtoReflect() protoreflect.Message
func (*ConnectorKindConstraint) Reset ¶
func (x *ConnectorKindConstraint) Reset()
func (*ConnectorKindConstraint) String ¶
func (x *ConnectorKindConstraint) String() string
type ConnectorSpec ¶
type ConnectorSpec struct { Kind *ConnectorKindConstraint `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Protocols []Layer1 `protobuf:"varint,2,rep,packed,name=protocols,proto3,enum=xir.Layer1" json:"protocols,omitempty"` Capacity uint64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` // contains filtered or unexported fields }
func (*ConnectorSpec) Descriptor
deprecated
func (*ConnectorSpec) Descriptor() ([]byte, []int)
Deprecated: Use ConnectorSpec.ProtoReflect.Descriptor instead.
func (*ConnectorSpec) GetCapacity ¶
func (x *ConnectorSpec) GetCapacity() uint64
func (*ConnectorSpec) GetKind ¶
func (x *ConnectorSpec) GetKind() *ConnectorKindConstraint
func (*ConnectorSpec) GetProtocols ¶
func (x *ConnectorSpec) GetProtocols() []Layer1
func (*ConnectorSpec) ProtoMessage ¶
func (*ConnectorSpec) ProtoMessage()
func (*ConnectorSpec) ProtoReflect ¶
func (x *ConnectorSpec) ProtoReflect() protoreflect.Message
func (*ConnectorSpec) Reset ¶
func (x *ConnectorSpec) Reset()
func (*ConnectorSpec) String ¶
func (x *ConnectorSpec) String() string
type Coupling ¶
type Coupling struct {
// contains filtered or unexported fields
}
func (*Coupling) Descriptor
deprecated
func (*Coupling) ProtoMessage ¶
func (*Coupling) ProtoMessage()
func (*Coupling) ProtoReflect ¶
func (x *Coupling) ProtoReflect() protoreflect.Message
type Dimm ¶
type Dimm struct { Type MemoryType `protobuf:"varint,1,opt,name=type,proto3,enum=xir.MemoryType" json:"type,omitempty"` Capacity uint64 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"` Frequency uint64 `protobuf:"varint,3,opt,name=frequency,proto3" json:"frequency,omitempty"` ProductInfo *ProductInfo `protobuf:"bytes,4,opt,name=product_info,json=productInfo,proto3" json:"product_info,omitempty"` // contains filtered or unexported fields }
func (*Dimm) Descriptor
deprecated
func (*Dimm) GetCapacity ¶
func (*Dimm) GetFrequency ¶
func (*Dimm) GetProductInfo ¶
func (x *Dimm) GetProductInfo() *ProductInfo
func (*Dimm) GetType ¶
func (x *Dimm) GetType() MemoryType
func (*Dimm) ProtoMessage ¶
func (*Dimm) ProtoMessage()
func (*Dimm) ProtoReflect ¶
func (x *Dimm) ProtoReflect() protoreflect.Message
func (*Dimm) SetCapacity ¶
func (*Dimm) SetProductInfo ¶
func (x *Dimm) SetProductInfo(pi *ProductInfo)
type DimmAllocation ¶
type DimmAllocation struct { Capacity uint64 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"` // contains filtered or unexported fields }
func (*DimmAllocation) Add ¶
func (a *DimmAllocation) Add(x *DimmAllocation)
func (*DimmAllocation) Descriptor
deprecated
func (*DimmAllocation) Descriptor() ([]byte, []int)
Deprecated: Use DimmAllocation.ProtoReflect.Descriptor instead.
func (*DimmAllocation) GetCapacity ¶
func (x *DimmAllocation) GetCapacity() uint64
func (*DimmAllocation) ProtoMessage ¶
func (*DimmAllocation) ProtoMessage()
func (*DimmAllocation) ProtoReflect ¶
func (x *DimmAllocation) ProtoReflect() protoreflect.Message
func (*DimmAllocation) Reset ¶
func (x *DimmAllocation) Reset()
func (*DimmAllocation) String ¶
func (x *DimmAllocation) String() string
type Disk ¶
type Disk struct { Capacity uint64 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"` FormFactor DiskFormFactor `protobuf:"varint,2,opt,name=form_factor,json=formFactor,proto3,enum=xir.DiskFormFactor" json:"form_factor,omitempty"` DiskInterface DiskInterface `protobuf:"varint,3,opt,name=disk_interface,json=diskInterface,proto3,enum=xir.DiskInterface" json:"disk_interface,omitempty"` ProductInfo *ProductInfo `protobuf:"bytes,4,opt,name=product_info,json=productInfo,proto3" json:"product_info,omitempty"` Roles []DiskRole `protobuf:"varint,5,rep,packed,name=roles,proto3,enum=xir.DiskRole" json:"roles,omitempty"` NVMEControllerIndex uint32 `protobuf:"varint,6,opt,name=NVME_controller_index,json=NVMEControllerIndex,proto3" json:"NVME_controller_index,omitempty"` // contains filtered or unexported fields }
func (*Disk) Descriptor
deprecated
func (*Disk) GetCapacity ¶
func (*Disk) GetDiskInterface ¶
func (x *Disk) GetDiskInterface() DiskInterface
func (*Disk) GetFormFactor ¶
func (x *Disk) GetFormFactor() DiskFormFactor
func (*Disk) GetNVMEControllerIndex ¶ added in v0.3.1
func (*Disk) GetProductInfo ¶
func (x *Disk) GetProductInfo() *ProductInfo
func (*Disk) ProtoMessage ¶
func (*Disk) ProtoMessage()
func (*Disk) ProtoReflect ¶
func (x *Disk) ProtoReflect() protoreflect.Message
func (*Disk) SetCapacity ¶
func (*Disk) SetProductInfo ¶
func (x *Disk) SetProductInfo(pi *ProductInfo)
type DiskAllocation ¶
type DiskAllocation struct { Capacity uint64 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"` // contains filtered or unexported fields }
func (*DiskAllocation) Add ¶
func (a *DiskAllocation) Add(x *DiskAllocation)
func (*DiskAllocation) Descriptor
deprecated
func (*DiskAllocation) Descriptor() ([]byte, []int)
Deprecated: Use DiskAllocation.ProtoReflect.Descriptor instead.
func (*DiskAllocation) GetCapacity ¶
func (x *DiskAllocation) GetCapacity() uint64
func (*DiskAllocation) ProtoMessage ¶
func (*DiskAllocation) ProtoMessage()
func (*DiskAllocation) ProtoReflect ¶
func (x *DiskAllocation) ProtoReflect() protoreflect.Message
func (*DiskAllocation) Reset ¶
func (x *DiskAllocation) Reset()
func (*DiskAllocation) String ¶
func (x *DiskAllocation) String() string
type DiskFormFactor ¶
type DiskFormFactor int32
const ( DiskFormFactor_DiskFormFactor_Undefined DiskFormFactor = 0 DiskFormFactor_HDD35 DiskFormFactor = 1 DiskFormFactor_HDD25 DiskFormFactor = 2 DiskFormFactor_SSD35 DiskFormFactor = 3 DiskFormFactor_SSD25 DiskFormFactor = 4 DiskFormFactor_MSATA DiskFormFactor = 5 DiskFormFactor_M2_2216 DiskFormFactor = 6 DiskFormFactor_M2_2226 DiskFormFactor = 7 DiskFormFactor_M2_2230 DiskFormFactor = 8 DiskFormFactor_M2_2238 DiskFormFactor = 9 DiskFormFactor_M2_2242 DiskFormFactor = 10 DiskFormFactor_M2_2260 DiskFormFactor = 11 DiskFormFactor_M2_2280 DiskFormFactor = 12 DiskFormFactor_M2_22110 DiskFormFactor = 13 DiskFormFactor_U2 DiskFormFactor = 14 DiskFormFactor_EMMC DiskFormFactor = 15 DiskFormFactor_EUSB DiskFormFactor = 16 )
func (DiskFormFactor) Descriptor ¶
func (DiskFormFactor) Descriptor() protoreflect.EnumDescriptor
func (DiskFormFactor) Enum ¶
func (x DiskFormFactor) Enum() *DiskFormFactor
func (DiskFormFactor) EnumDescriptor
deprecated
func (DiskFormFactor) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskFormFactor.Descriptor instead.
func (DiskFormFactor) Number ¶
func (x DiskFormFactor) Number() protoreflect.EnumNumber
func (DiskFormFactor) String ¶
func (x DiskFormFactor) String() string
func (DiskFormFactor) Type ¶
func (DiskFormFactor) Type() protoreflect.EnumType
type DiskFormFactorConstraint ¶
type DiskFormFactorConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value DiskFormFactor `protobuf:"varint,2,opt,name=value,proto3,enum=xir.DiskFormFactor" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DiskFormFactorConstraint) Descriptor
deprecated
func (*DiskFormFactorConstraint) Descriptor() ([]byte, []int)
Deprecated: Use DiskFormFactorConstraint.ProtoReflect.Descriptor instead.
func (*DiskFormFactorConstraint) GetOp ¶
func (x *DiskFormFactorConstraint) GetOp() Operator
func (*DiskFormFactorConstraint) GetValue ¶
func (x *DiskFormFactorConstraint) GetValue() DiskFormFactor
func (*DiskFormFactorConstraint) ProtoMessage ¶
func (*DiskFormFactorConstraint) ProtoMessage()
func (*DiskFormFactorConstraint) ProtoReflect ¶
func (x *DiskFormFactorConstraint) ProtoReflect() protoreflect.Message
func (*DiskFormFactorConstraint) Reset ¶
func (x *DiskFormFactorConstraint) Reset()
func (*DiskFormFactorConstraint) String ¶
func (x *DiskFormFactorConstraint) String() string
type DiskInterface ¶
type DiskInterface int32
const ( DiskInterface_DiskInterface_Undefined DiskInterface = 0 DiskInterface_SATA1 DiskInterface = 1 DiskInterface_SATA2 DiskInterface = 2 DiskInterface_SATA3 DiskInterface = 3 DiskInterface_NVMEx2 DiskInterface = 4 DiskInterface_NVMEx4 DiskInterface = 5 DiskInterface_MMC DiskInterface = 6 DiskInterface_SD DiskInterface = 7 DiskInterface_USB DiskInterface = 8 DiskInterface_SAS DiskInterface = 9 DiskInterface_VirtioBlock DiskInterface = 10 )
func (DiskInterface) Descriptor ¶
func (DiskInterface) Descriptor() protoreflect.EnumDescriptor
func (DiskInterface) Enum ¶
func (x DiskInterface) Enum() *DiskInterface
func (DiskInterface) EnumDescriptor
deprecated
func (DiskInterface) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskInterface.Descriptor instead.
func (DiskInterface) Number ¶
func (x DiskInterface) Number() protoreflect.EnumNumber
func (DiskInterface) String ¶
func (x DiskInterface) String() string
func (DiskInterface) Type ¶
func (DiskInterface) Type() protoreflect.EnumType
type DiskInterfaceConstraint ¶
type DiskInterfaceConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value DiskInterface `protobuf:"varint,2,opt,name=value,proto3,enum=xir.DiskInterface" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DiskInterfaceConstraint) Descriptor
deprecated
func (*DiskInterfaceConstraint) Descriptor() ([]byte, []int)
Deprecated: Use DiskInterfaceConstraint.ProtoReflect.Descriptor instead.
func (*DiskInterfaceConstraint) GetOp ¶
func (x *DiskInterfaceConstraint) GetOp() Operator
func (*DiskInterfaceConstraint) GetValue ¶
func (x *DiskInterfaceConstraint) GetValue() DiskInterface
func (*DiskInterfaceConstraint) ProtoMessage ¶
func (*DiskInterfaceConstraint) ProtoMessage()
func (*DiskInterfaceConstraint) ProtoReflect ¶
func (x *DiskInterfaceConstraint) ProtoReflect() protoreflect.Message
func (*DiskInterfaceConstraint) Reset ¶
func (x *DiskInterfaceConstraint) Reset()
func (*DiskInterfaceConstraint) String ¶
func (x *DiskInterfaceConstraint) String() string
type DiskRole ¶
type DiskRole int32
func (DiskRole) Descriptor ¶
func (DiskRole) Descriptor() protoreflect.EnumDescriptor
func (DiskRole) EnumDescriptor
deprecated
func (DiskRole) Number ¶
func (x DiskRole) Number() protoreflect.EnumNumber
func (DiskRole) Type ¶
func (DiskRole) Type() protoreflect.EnumType
type DiskSpec ¶
type DiskSpec struct { Capacity *Uint64Constraint `protobuf:"bytes,1,opt,name=capacity,proto3" json:"capacity,omitempty"` FormFactor *DiskFormFactorConstraint `protobuf:"bytes,2,opt,name=form_factor,json=formFactor,proto3" json:"form_factor,omitempty"` DiskInterface *DiskInterfaceConstraint `protobuf:"bytes,3,opt,name=disk_interface,json=diskInterface,proto3" json:"disk_interface,omitempty"` Disks *Uint64Constraint `protobuf:"bytes,4,opt,name=disks,proto3" json:"disks,omitempty"` // contains filtered or unexported fields }
func (*DiskSpec) Descriptor
deprecated
func (*DiskSpec) GetCapacity ¶
func (x *DiskSpec) GetCapacity() *Uint64Constraint
func (*DiskSpec) GetDiskInterface ¶
func (x *DiskSpec) GetDiskInterface() *DiskInterfaceConstraint
func (*DiskSpec) GetDisks ¶
func (x *DiskSpec) GetDisks() *Uint64Constraint
func (*DiskSpec) GetFormFactor ¶
func (x *DiskSpec) GetFormFactor() *DiskFormFactorConstraint
func (*DiskSpec) ProtoMessage ¶
func (*DiskSpec) ProtoMessage()
func (*DiskSpec) ProtoReflect ¶
func (x *DiskSpec) ProtoReflect() protoreflect.Message
type DisksAllocation ¶
type DisksAllocation struct { Alloc map[uint32]*DiskAllocation `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DisksAllocation) Allocate ¶
func (a *DisksAllocation) Allocate(index uint32, d *DiskAllocation)
func (*DisksAllocation) Descriptor
deprecated
func (*DisksAllocation) Descriptor() ([]byte, []int)
Deprecated: Use DisksAllocation.ProtoReflect.Descriptor instead.
func (*DisksAllocation) GetAlloc ¶
func (x *DisksAllocation) GetAlloc() map[uint32]*DiskAllocation
func (*DisksAllocation) ProtoMessage ¶
func (*DisksAllocation) ProtoMessage()
func (*DisksAllocation) ProtoReflect ¶
func (x *DisksAllocation) ProtoReflect() protoreflect.Message
func (*DisksAllocation) Reset ¶
func (x *DisksAllocation) Reset()
func (*DisksAllocation) Show ¶
func (d *DisksAllocation) Show() string
func (*DisksAllocation) String ¶
func (x *DisksAllocation) String() string
func (*DisksAllocation) TotalCapacity ¶
func (m *DisksAllocation) TotalCapacity() uint64
type EVPNConfig ¶
type EVPNConfig struct { TunnelEndpoints []*InterfaceConfig `protobuf:"bytes,1,rep,name=TunnelEndpoints,proto3" json:"TunnelEndpoints,omitempty"` // contains filtered or unexported fields }
func (*EVPNConfig) Descriptor
deprecated
func (*EVPNConfig) Descriptor() ([]byte, []int)
Deprecated: Use EVPNConfig.ProtoReflect.Descriptor instead.
func (*EVPNConfig) GetTunnelEndpoints ¶
func (x *EVPNConfig) GetTunnelEndpoints() []*InterfaceConfig
func (*EVPNConfig) ProtoMessage ¶
func (*EVPNConfig) ProtoMessage()
func (*EVPNConfig) ProtoReflect ¶
func (x *EVPNConfig) ProtoReflect() protoreflect.Message
func (*EVPNConfig) Reset ¶
func (x *EVPNConfig) Reset()
func (*EVPNConfig) String ¶
func (x *EVPNConfig) String() string
type Edge ¶
type Edge struct { Interface *Interface Connection *Connection Data interface{} }
type End ¶
type End struct { Connectors []*Connector `protobuf:"bytes,1,rep,name=connectors,proto3" json:"connectors,omitempty"` // contains filtered or unexported fields }
func (*End) Descriptor
deprecated
func (*End) GetConnectors ¶
func (*End) ProtoMessage ¶
func (*End) ProtoMessage()
func (*End) ProtoReflect ¶
func (x *End) ProtoReflect() protoreflect.Message
func (*End) SetConnector ¶
func (e *End) SetConnector(k ConnectorKind)
type Endpoint ¶
type Endpoint struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Socket *Ref `protobuf:"bytes,2,opt,name=socket,proto3" json:"socket,omitempty"` Connector *ConnectorSpec `protobuf:"bytes,3,opt,name=connector,proto3" json:"connector,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetConnector ¶
func (x *Endpoint) GetConnector() *ConnectorSpec
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type ExperimentParameters ¶
type ExperimentParameters struct { Routing *RoutingConstraint `protobuf:"bytes,1,opt,name=routing,proto3" json:"routing,omitempty"` Addressing *AddressingConstraint `protobuf:"bytes,2,opt,name=addressing,proto3" json:"addressing,omitempty"` Hypervisors []string `protobuf:"bytes,3,rep,name=hypervisors,proto3" json:"hypervisors,omitempty"` Simulators []string `protobuf:"bytes,4,rep,name=simulators,proto3" json:"simulators,omitempty"` Emulators []string `protobuf:"bytes,5,rep,name=emulators,proto3" json:"emulators,omitempty"` Experimentnetresolution bool `protobuf:"varint,6,opt,name=experimentnetresolution,proto3" json:"experimentnetresolution,omitempty"` // If true, resolve experiment names before infra names // contains filtered or unexported fields }
func (*ExperimentParameters) Descriptor
deprecated
func (*ExperimentParameters) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentParameters.ProtoReflect.Descriptor instead.
func (*ExperimentParameters) GetAddressing ¶
func (x *ExperimentParameters) GetAddressing() *AddressingConstraint
func (*ExperimentParameters) GetEmulators ¶
func (x *ExperimentParameters) GetEmulators() []string
func (*ExperimentParameters) GetExperimentnetresolution ¶ added in v0.3.9
func (x *ExperimentParameters) GetExperimentnetresolution() bool
func (*ExperimentParameters) GetHypervisors ¶
func (x *ExperimentParameters) GetHypervisors() []string
func (*ExperimentParameters) GetRouting ¶
func (x *ExperimentParameters) GetRouting() *RoutingConstraint
func (*ExperimentParameters) GetSimulators ¶
func (x *ExperimentParameters) GetSimulators() []string
func (*ExperimentParameters) ProtoMessage ¶
func (*ExperimentParameters) ProtoMessage()
func (*ExperimentParameters) ProtoReflect ¶
func (x *ExperimentParameters) ProtoReflect() protoreflect.Message
func (*ExperimentParameters) Reset ¶
func (x *ExperimentParameters) Reset()
func (*ExperimentParameters) String ¶
func (x *ExperimentParameters) String() string
type Facility ¶
type Facility struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fqdn string `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"` Resources []*Resource `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` Cables []*Cable `protobuf:"bytes,4,rep,name=cables,proto3" json:"cables,omitempty"` // contains filtered or unexported fields }
func FacilityFromB64String ¶
TODO all these serialization functions need to be guarded by XIR semvers to avoid subtle and very difficult to track bugs from creeping in due to protobuf spec skew or protoc versions.
func FacilityFromFile ¶
func FacilityFromRawString ¶
func (*Facility) Descriptor
deprecated
func (*Facility) GetResources ¶
func (*Facility) ProtoMessage ¶
func (*Facility) ProtoMessage()
func (*Facility) ProtoReflect ¶
func (x *Facility) ProtoReflect() protoreflect.Message
type Firmware ¶
type Firmware struct { Kind Firmware_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=xir.Firmware_Kind" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*Firmware) Descriptor
deprecated
func (*Firmware) GetKind ¶
func (x *Firmware) GetKind() Firmware_Kind
func (*Firmware) ProtoMessage ¶
func (*Firmware) ProtoMessage()
func (*Firmware) ProtoReflect ¶
func (x *Firmware) ProtoReflect() protoreflect.Message
type Firmware_Kind ¶
type Firmware_Kind int32
const ( Firmware_Undefined Firmware_Kind = 0 Firmware_UEFI Firmware_Kind = 1 Firmware_BIOS Firmware_Kind = 2 )
func (Firmware_Kind) Descriptor ¶
func (Firmware_Kind) Descriptor() protoreflect.EnumDescriptor
func (Firmware_Kind) Enum ¶
func (x Firmware_Kind) Enum() *Firmware_Kind
func (Firmware_Kind) EnumDescriptor
deprecated
func (Firmware_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Firmware_Kind.Descriptor instead.
func (Firmware_Kind) Number ¶
func (x Firmware_Kind) Number() protoreflect.EnumNumber
func (Firmware_Kind) String ¶
func (x Firmware_Kind) String() string
func (Firmware_Kind) Type ¶
func (Firmware_Kind) Type() protoreflect.EnumType
type FloatConstraint ¶ added in v0.3.1
type FloatConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*FloatConstraint) Descriptor
deprecated
added in
v0.3.1
func (*FloatConstraint) Descriptor() ([]byte, []int)
Deprecated: Use FloatConstraint.ProtoReflect.Descriptor instead.
func (*FloatConstraint) GetOp ¶ added in v0.3.1
func (x *FloatConstraint) GetOp() Operator
func (*FloatConstraint) GetValue ¶ added in v0.3.1
func (x *FloatConstraint) GetValue() float32
func (*FloatConstraint) ProtoMessage ¶ added in v0.3.1
func (*FloatConstraint) ProtoMessage()
func (*FloatConstraint) ProtoReflect ¶ added in v0.3.1
func (x *FloatConstraint) ProtoReflect() protoreflect.Message
func (*FloatConstraint) Reset ¶ added in v0.3.1
func (x *FloatConstraint) Reset()
func (*FloatConstraint) String ¶ added in v0.3.1
func (x *FloatConstraint) String() string
type ISA ¶
type ISA int32
const (
ISA_X86_64 ISA = 0
)
func (ISA) Descriptor ¶
func (ISA) Descriptor() protoreflect.EnumDescriptor
func (ISA) EnumDescriptor
deprecated
func (ISA) Number ¶
func (x ISA) Number() protoreflect.EnumNumber
func (ISA) Type ¶
func (ISA) Type() protoreflect.EnumType
type ISAConstraint ¶
type ISAConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value ISA `protobuf:"varint,2,opt,name=value,proto3,enum=xir.ISA" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ISAConstraint) Descriptor
deprecated
func (*ISAConstraint) Descriptor() ([]byte, []int)
Deprecated: Use ISAConstraint.ProtoReflect.Descriptor instead.
func (*ISAConstraint) GetOp ¶
func (x *ISAConstraint) GetOp() Operator
func (*ISAConstraint) GetValue ¶
func (x *ISAConstraint) GetValue() ISA
func (*ISAConstraint) ProtoMessage ¶
func (*ISAConstraint) ProtoMessage()
func (*ISAConstraint) ProtoReflect ¶
func (x *ISAConstraint) ProtoReflect() protoreflect.Message
func (*ISAConstraint) Reset ¶
func (x *ISAConstraint) Reset()
func (*ISAConstraint) String ¶
func (x *ISAConstraint) String() string
type InterfaceConfig ¶
type InterfaceConfig struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"` Role LinkRole `protobuf:"varint,3,opt,name=role,proto3,enum=xir.LinkRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*InterfaceConfig) Descriptor
deprecated
func (*InterfaceConfig) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceConfig.ProtoReflect.Descriptor instead.
func (*InterfaceConfig) GetAddress ¶
func (x *InterfaceConfig) GetAddress() string
func (*InterfaceConfig) GetInterface ¶
func (x *InterfaceConfig) GetInterface() string
func (*InterfaceConfig) GetRole ¶
func (x *InterfaceConfig) GetRole() LinkRole
func (*InterfaceConfig) ProtoMessage ¶
func (*InterfaceConfig) ProtoMessage()
func (*InterfaceConfig) ProtoReflect ¶
func (x *InterfaceConfig) ProtoReflect() protoreflect.Message
func (*InterfaceConfig) Reset ¶
func (x *InterfaceConfig) Reset()
func (*InterfaceConfig) String ¶
func (x *InterfaceConfig) String() string
type Layer1 ¶
type Layer1 int32
const ( Layer1_Layer1_Undefined Layer1 = 0 // 100 mbps Layer1_Base100T Layer1 = 1 // 1 gbps Layer1_Base1000T Layer1 = 2 Layer1_Base1000X Layer1 = 3 Layer1_Base1000CX Layer1 = 4 Layer1_Base1000SX Layer1 = 5 Layer1_Base1000LX Layer1 = 6 Layer1_Base1000LX10 Layer1 = 7 Layer1_Base1000EX Layer1 = 8 Layer1_Base1000BX10 Layer1 = 9 Layer1_Base1000ZX Layer1 = 10 // 10 gbps Layer1_GBase10T Layer1 = 11 Layer1_GBase10CR Layer1 = 12 Layer1_GBase10SR Layer1 = 13 Layer1_GBase10LR Layer1 = 14 Layer1_GBase10LRM Layer1 = 15 Layer1_GBase10ER Layer1 = 16 Layer1_GBase10ZR Layer1 = 17 Layer1_GBase10LX4 Layer1 = 18 Layer1_GBase10PR Layer1 = 19 // 25 gbps Layer1_GBase25CR Layer1 = 20 Layer1_GBase25SR Layer1 = 21 Layer1_GBase25LR Layer1 = 22 Layer1_GBase25ER Layer1 = 23 // 40 gbps Layer1_GBase40CR4 Layer1 = 24 Layer1_GBase40SR4 Layer1 = 25 Layer1_GBase40LR4 Layer1 = 26 Layer1_GBase40ER4 Layer1 = 27 // 100 gbps Layer1_GBase100CR4 Layer1 = 28 Layer1_GBase100SR4 Layer1 = 29 Layer1_GBase100SR10 Layer1 = 30 Layer1_GBase100LR4 Layer1 = 31 Layer1_GBase100ER4 Layer1 = 32 // Console Layer1_RS232 Layer1 = 33 Layer1_Uart Layer1 = 34 // 50 gbps Layer1_GBase50SR4 Layer1 = 35 Layer1_GBase50LR4 Layer1 = 36 Layer1_GBase50ER4 Layer1 = 37 Layer1_GBase50CR Layer1 = 38 Layer1_GBase50KR Layer1 = 39 Layer1_GBase50SR Layer1 = 40 Layer1_GBase50LR Layer1 = 41 Layer1_GBase50FR Layer1 = 42 Layer1_GBase50ER Layer1 = 43 Layer1_LAUI_2 Layer1 = 44 Layer1_GAUI50_1 Layer1 = 45 Layer1_GAUI50_2 Layer1 = 46 // 200 gbps Layer1_GBase200CR4 Layer1 = 47 Layer1_GBase200KR4 Layer1 = 48 Layer1_GBase200SR4 Layer1 = 49 Layer1_GBase200DR4 Layer1 = 50 Layer1_GBase200FR4 Layer1 = 51 Layer1_GBase200LR4 Layer1 = 52 Layer1_GBase200ER4 Layer1 = 53 Layer1_GAUI200_4 Layer1 = 54 Layer1_GAUI200_8 Layer1 = 55 // 400 gbps Layer1_GBase400SR16 Layer1 = 56 Layer1_GBase400SR8 Layer1 = 57 Layer1_GBase400SR4_2 Layer1 = 58 Layer1_GBase400DR4 Layer1 = 59 Layer1_GBase400FR8 Layer1 = 60 Layer1_GBase400ER8 Layer1 = 61 Layer1_GBase400ZR Layer1 = 62 Layer1_GAUI400_16 Layer1 = 63 Layer1_GAUI400_8 Layer1 = 64 Layer1_XBee Layer1 = 65 Layer1_ZWave Layer1 = 66 Layer1_Zigbee Layer1 = 67 Layer1_CXP100 Layer1 = 68 Layer1_CXP120 Layer1 = 69 )
func (Layer1) Descriptor ¶
func (Layer1) Descriptor() protoreflect.EnumDescriptor
func (Layer1) EnumDescriptor
deprecated
func (Layer1) Number ¶
func (x Layer1) Number() protoreflect.EnumNumber
func (Layer1) Type ¶
func (Layer1) Type() protoreflect.EnumType
type LeafConfig ¶
type LeafConfig struct { ServiceAddressBlocks *AddressList `protobuf:"bytes,1,opt,name=service_address_blocks,json=serviceAddressBlocks,proto3" json:"service_address_blocks,omitempty"` TenantAddressBlocks *AddressList `protobuf:"bytes,2,opt,name=tenant_address_blocks,json=tenantAddressBlocks,proto3" json:"tenant_address_blocks,omitempty"` // interface -> address block InfrapodAddressBlocks map[string]*AddressList `` /* 214-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LeafConfig) Descriptor
deprecated
func (*LeafConfig) Descriptor() ([]byte, []int)
Deprecated: Use LeafConfig.ProtoReflect.Descriptor instead.
func (*LeafConfig) GetInfrapodAddressBlocks ¶
func (x *LeafConfig) GetInfrapodAddressBlocks() map[string]*AddressList
func (*LeafConfig) GetServiceAddressBlocks ¶
func (x *LeafConfig) GetServiceAddressBlocks() *AddressList
func (*LeafConfig) GetTenantAddressBlocks ¶
func (x *LeafConfig) GetTenantAddressBlocks() *AddressList
func (*LeafConfig) ProtoMessage ¶
func (*LeafConfig) ProtoMessage()
func (*LeafConfig) ProtoReflect ¶
func (x *LeafConfig) ProtoReflect() protoreflect.Message
func (*LeafConfig) Reset ¶
func (x *LeafConfig) Reset()
func (*LeafConfig) String ¶
func (x *LeafConfig) String() string
type Limits ¶
type Limits struct { Lower float32 `protobuf:"fixed32,1,opt,name=lower,proto3" json:"lower,omitempty"` Upper float32 `protobuf:"fixed32,2,opt,name=upper,proto3" json:"upper,omitempty"` // contains filtered or unexported fields }
func (*Limits) Descriptor
deprecated
func (*Limits) ProtoMessage ¶
func (*Limits) ProtoMessage()
func (*Limits) ProtoReflect ¶
func (x *Limits) ProtoReflect() protoreflect.Message
type Link ¶
type Link struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Latency *Uint64Constraint `protobuf:"bytes,2,opt,name=latency,proto3" json:"latency,omitempty"` Capacity *Uint64Constraint `protobuf:"bytes,3,opt,name=capacity,proto3" json:"capacity,omitempty"` Loss *FloatConstraint `protobuf:"bytes,4,opt,name=loss,proto3" json:"loss,omitempty"` Endpoints []*Endpoint `protobuf:"bytes,5,rep,name=endpoints,proto3" json:"endpoints,omitempty"` Kind *LinkKindConstraint `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` Layer *Uint64Constraint `protobuf:"bytes,7,opt,name=layer,proto3" json:"layer,omitempty"` // Run time and post-publish properties Properties *Properties `protobuf:"bytes,8,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) GetCapacity ¶
func (x *Link) GetCapacity() *Uint64Constraint
func (*Link) GetEndpoints ¶
func (*Link) GetKind ¶
func (x *Link) GetKind() *LinkKindConstraint
func (*Link) GetLatency ¶
func (x *Link) GetLatency() *Uint64Constraint
func (*Link) GetLayer ¶ added in v0.3.1
func (x *Link) GetLayer() *Uint64Constraint
func (*Link) GetLoss ¶ added in v0.3.1
func (x *Link) GetLoss() *FloatConstraint
func (*Link) GetProperties ¶ added in v0.3.1
func (x *Link) GetProperties() *Properties
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type LinkKindConstraint ¶
type LinkKindConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value Link_Kind `protobuf:"varint,2,opt,name=value,proto3,enum=xir.Link_Kind" json:"value,omitempty"` // contains filtered or unexported fields }
func (*LinkKindConstraint) Descriptor
deprecated
func (*LinkKindConstraint) Descriptor() ([]byte, []int)
Deprecated: Use LinkKindConstraint.ProtoReflect.Descriptor instead.
func (*LinkKindConstraint) GetOp ¶
func (x *LinkKindConstraint) GetOp() Operator
func (*LinkKindConstraint) GetValue ¶
func (x *LinkKindConstraint) GetValue() Link_Kind
func (*LinkKindConstraint) ProtoMessage ¶
func (*LinkKindConstraint) ProtoMessage()
func (*LinkKindConstraint) ProtoReflect ¶
func (x *LinkKindConstraint) ProtoReflect() protoreflect.Message
func (*LinkKindConstraint) Reset ¶
func (x *LinkKindConstraint) Reset()
func (*LinkKindConstraint) String ¶
func (x *LinkKindConstraint) String() string
type LinkRole ¶
type LinkRole int32
const ( LinkRole_LinkRole_Unspecified LinkRole = 0 LinkRole_InfraLink LinkRole = 1 LinkRole_XpLink LinkRole = 2 LinkRole_Tor LinkRole = 3 LinkRole_EmuLink LinkRole = 4 LinkRole_MgmtLink LinkRole = 5 LinkRole_GatewayLink LinkRole = 6 LinkRole_SimLink LinkRole = 7 LinkRole_HarborEndpoint LinkRole = 8 )
func (LinkRole) Descriptor ¶
func (LinkRole) Descriptor() protoreflect.EnumDescriptor
func (LinkRole) EnumDescriptor
deprecated
func (LinkRole) Number ¶
func (x LinkRole) Number() protoreflect.EnumNumber
func (LinkRole) Type ¶
func (LinkRole) Type() protoreflect.EnumType
type Link_Kind ¶
type Link_Kind int32
func (Link_Kind) Descriptor ¶
func (Link_Kind) Descriptor() protoreflect.EnumDescriptor
func (Link_Kind) EnumDescriptor
deprecated
func (Link_Kind) Number ¶
func (x Link_Kind) Number() protoreflect.EnumNumber
func (Link_Kind) Type ¶
func (Link_Kind) Type() protoreflect.EnumType
type MemoryAllocation ¶
type MemoryAllocation struct { Alloc map[uint32]*DimmAllocation `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MemoryAllocation) Allocate ¶
func (a *MemoryAllocation) Allocate(index uint32, d *DimmAllocation)
func (*MemoryAllocation) Descriptor
deprecated
func (*MemoryAllocation) Descriptor() ([]byte, []int)
Deprecated: Use MemoryAllocation.ProtoReflect.Descriptor instead.
func (*MemoryAllocation) GetAlloc ¶
func (x *MemoryAllocation) GetAlloc() map[uint32]*DimmAllocation
func (*MemoryAllocation) ProtoMessage ¶
func (*MemoryAllocation) ProtoMessage()
func (*MemoryAllocation) ProtoReflect ¶
func (x *MemoryAllocation) ProtoReflect() protoreflect.Message
func (*MemoryAllocation) Reset ¶
func (x *MemoryAllocation) Reset()
func (*MemoryAllocation) Show ¶
func (m *MemoryAllocation) Show() string
func (*MemoryAllocation) String ¶
func (x *MemoryAllocation) String() string
func (*MemoryAllocation) TotalCapacity ¶
func (m *MemoryAllocation) TotalCapacity() uint64
type MemorySpec ¶
type MemorySpec struct { Type *MemoryTypeConstraint `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Capacity *Uint64Constraint `protobuf:"bytes,2,opt,name=capacity,proto3" json:"capacity,omitempty"` Frequency *Uint64Constraint `protobuf:"bytes,3,opt,name=frequency,proto3" json:"frequency,omitempty"` Modules *Uint64Constraint `protobuf:"bytes,4,opt,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*MemorySpec) Descriptor
deprecated
func (*MemorySpec) Descriptor() ([]byte, []int)
Deprecated: Use MemorySpec.ProtoReflect.Descriptor instead.
func (*MemorySpec) GetCapacity ¶
func (x *MemorySpec) GetCapacity() *Uint64Constraint
func (*MemorySpec) GetFrequency ¶
func (x *MemorySpec) GetFrequency() *Uint64Constraint
func (*MemorySpec) GetModules ¶
func (x *MemorySpec) GetModules() *Uint64Constraint
func (*MemorySpec) GetType ¶
func (x *MemorySpec) GetType() *MemoryTypeConstraint
func (*MemorySpec) ProtoMessage ¶
func (*MemorySpec) ProtoMessage()
func (*MemorySpec) ProtoReflect ¶
func (x *MemorySpec) ProtoReflect() protoreflect.Message
func (*MemorySpec) Reset ¶
func (x *MemorySpec) Reset()
func (*MemorySpec) String ¶
func (x *MemorySpec) String() string
type MemoryType ¶
type MemoryType int32
const ( MemoryType_DDR3 MemoryType = 0 MemoryType_DDR4 MemoryType = 1 )
func (MemoryType) Descriptor ¶
func (MemoryType) Descriptor() protoreflect.EnumDescriptor
func (MemoryType) Enum ¶
func (x MemoryType) Enum() *MemoryType
func (MemoryType) EnumDescriptor
deprecated
func (MemoryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MemoryType.Descriptor instead.
func (MemoryType) Number ¶
func (x MemoryType) Number() protoreflect.EnumNumber
func (MemoryType) String ¶
func (x MemoryType) String() string
func (MemoryType) Type ¶
func (MemoryType) Type() protoreflect.EnumType
type MemoryTypeConstraint ¶
type MemoryTypeConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value MemoryType `protobuf:"varint,2,opt,name=value,proto3,enum=xir.MemoryType" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MemoryTypeConstraint) Descriptor
deprecated
func (*MemoryTypeConstraint) Descriptor() ([]byte, []int)
Deprecated: Use MemoryTypeConstraint.ProtoReflect.Descriptor instead.
func (*MemoryTypeConstraint) GetOp ¶
func (x *MemoryTypeConstraint) GetOp() Operator
func (*MemoryTypeConstraint) GetValue ¶
func (x *MemoryTypeConstraint) GetValue() MemoryType
func (*MemoryTypeConstraint) ProtoMessage ¶
func (*MemoryTypeConstraint) ProtoMessage()
func (*MemoryTypeConstraint) ProtoReflect ¶
func (x *MemoryTypeConstraint) ProtoReflect() protoreflect.Message
func (*MemoryTypeConstraint) Reset ¶
func (x *MemoryTypeConstraint) Reset()
func (*MemoryTypeConstraint) String ¶
func (x *MemoryTypeConstraint) String() string
type NIC ¶
type NIC struct { Ports []*Port `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` StartingIndex uint32 `protobuf:"varint,2,opt,name=starting_index,json=startingIndex,proto3" json:"starting_index,omitempty"` Kind NICKind `protobuf:"varint,3,opt,name=kind,proto3,enum=xir.NICKind" json:"kind,omitempty"` ProductInfo *ProductInfo `protobuf:"bytes,4,opt,name=product_info,json=productInfo,proto3" json:"product_info,omitempty"` DPDK bool `protobuf:"varint,5,opt,name=DPDK,proto3" json:"DPDK,omitempty"` // contains filtered or unexported fields }
func GenericNIC ¶
func (*NIC) Descriptor
deprecated
func (*NIC) GetProductInfo ¶
func (x *NIC) GetProductInfo() *ProductInfo
func (*NIC) GetStartingIndex ¶
func (*NIC) ProtoMessage ¶
func (*NIC) ProtoMessage()
func (*NIC) ProtoReflect ¶
func (x *NIC) ProtoReflect() protoreflect.Message
func (*NIC) SetCapacity ¶
func (*NIC) SetConnector ¶
func (n *NIC) SetConnector(c ConnectorKind)
func (*NIC) SetProductInfo ¶
func (x *NIC) SetProductInfo(pi *ProductInfo)
type NICAllocation ¶
type NICAllocation struct { Alloc map[uint32]*PortAllocation `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NICAllocation) Descriptor
deprecated
func (*NICAllocation) Descriptor() ([]byte, []int)
Deprecated: Use NICAllocation.ProtoReflect.Descriptor instead.
func (*NICAllocation) GetAlloc ¶
func (x *NICAllocation) GetAlloc() map[uint32]*PortAllocation
func (*NICAllocation) ProtoMessage ¶
func (*NICAllocation) ProtoMessage()
func (*NICAllocation) ProtoReflect ¶
func (x *NICAllocation) ProtoReflect() protoreflect.Message
func (*NICAllocation) Reset ¶
func (x *NICAllocation) Reset()
func (*NICAllocation) String ¶
func (x *NICAllocation) String() string
type NICKind ¶
type NICKind int32
const ( // Ethernet NICKind_ETH NICKind = 0 // Ethernet peripheral NICKind_ENP NICKind = 1 // Ethernet onboard NICKind_ENO NICKind = 2 // Ethernet peripheral hotplog slot NICKind_ENS NICKind = 3 // WiFi peripheral NICKind_WLP NICKind = 4 // Switch port NICKind_SWP NICKind = 5 // IPMI/BMC NICKind_IPMI NICKind = 6 // IPMI/BMC + System Ethernet NICKind_Combo NICKind = 7 )
func (NICKind) Descriptor ¶
func (NICKind) Descriptor() protoreflect.EnumDescriptor
func (NICKind) EnumDescriptor
deprecated
func (NICKind) Number ¶
func (x NICKind) Number() protoreflect.EnumNumber
func (NICKind) Type ¶
func (NICKind) Type() protoreflect.EnumType
type NICModel ¶
type NICModel int32
const ( NICModel_Intel200 NICModel = 0 NICModel_Intel300 NICModel = 1 NICModel_Intel500 NICModel = 2 NICModel_Intel700 NICModel = 3 NICModel_Intel800 NICModel = 4 NICModel_Intel7000 NICModel = 50 NICModel_Intel8000 NICModel = 51 NICModel_Intel9000 NICModel = 52 NICModel_ConnectX4 NICModel = 101 NICModel_ConnectX5 NICModel = 102 NICModel_ConnectX6 NICModel = 103 NICModel_NetXtreme2 NICModel = 201 NICModel_QCA9000 NICModel = 301 NICModel_Virtio NICModel = 10001 NICModel_E1000 NICModel = 10002 NICModel_E1000E NICModel = 10003 NICModel_VF NICModel = 10004 )
func (NICModel) Descriptor ¶
func (NICModel) Descriptor() protoreflect.EnumDescriptor
func (NICModel) EnumDescriptor
deprecated
func (NICModel) Number ¶
func (x NICModel) Number() protoreflect.EnumNumber
func (NICModel) Type ¶
func (NICModel) Type() protoreflect.EnumType
type NICModelConstraint ¶
type NICModelConstraint struct { Op Operator `protobuf:"varint,1,opt,name=op,proto3,enum=xir.Operator" json:"op,omitempty"` Value NICModel `protobuf:"varint,2,opt,name=value,proto3,enum=xir.NICModel" json:"value,omitempty"` // contains filtered or unexported fields }
func (*NICModelConstraint) Descriptor
deprecated
func (*NICModelConstraint) Descriptor() ([]byte, []int)
Deprecated: Use NICModelConstraint.ProtoReflect.Descriptor instead.
func (*NICModelConstraint) GetOp ¶
func (x *NICModelConstraint) GetOp() Operator
func (*NICModelConstraint) GetValue ¶
func (x *NICModelConstraint) GetValue() NICModel
func (*NICModelConstraint) ProtoMessage ¶
func (*NICModelConstraint) ProtoMessage()
func (*NICModelConstraint) ProtoReflect ¶
func (x *NICModelConstraint) ProtoReflect() protoreflect.Message
func (*NICModelConstraint) Reset ¶
func (x *NICModelConstraint) Reset()
func (*NICModelConstraint) String ¶
func (x *NICModelConstraint) String() string
type NICSpec ¶
type NICSpec struct { Ports []*PortSpec `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` // contains filtered or unexported fields }
func (*NICSpec) Descriptor
deprecated
func (*NICSpec) ProtoMessage ¶
func (*NICSpec) ProtoMessage()
func (*NICSpec) ProtoReflect ¶
func (x *NICSpec) ProtoReflect() protoreflect.Message
type NICsAllocation ¶
type NICsAllocation struct { Alloc map[uint32]*NICAllocation `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NICsAllocation) Allocate ¶
func (a *NICsAllocation) Allocate(n, p uint32, pa *PortAllocation)
func (*NICsAllocation) Descriptor
deprecated
func (*NICsAllocation) Descriptor() ([]byte, []int)
Deprecated: Use NICsAllocation.ProtoReflect.Descriptor instead.
func (*NICsAllocation) GetAlloc ¶
func (x *NICsAllocation) GetAlloc() map[uint32]*NICAllocation
func (*NICsAllocation) ProtoMessage ¶
func (*NICsAllocation) ProtoMessage()
func (*NICsAllocation) ProtoReflect ¶
func (x *NICsAllocation) ProtoReflect() protoreflect.Message
func (*NICsAllocation) Reset ¶
func (x *NICsAllocation) Reset()
func (*NICsAllocation) Show ¶
func (n *NICsAllocation) Show() string
func (*NICsAllocation) String ¶
func (x *NICsAllocation) String() string
func (*NICsAllocation) TotalCapacity ¶
func (n *NICsAllocation) TotalCapacity() uint64
type Neighbor ¶
type Neighbor struct { Local *Interface Remote *Interface Connection *Connection }
type Network ¶
type Network struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` Links []*Link `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"` Parameters *ExperimentParameters `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
func NetworkFromB64String ¶
func NetworkFromFile ¶ added in v0.3.1
TODO all these serialization functions need to be guarded by XIR semvers to avoid subtle and very difficult to track bugs from creeping in due to protobuf spec skew or protoc versions.
func NetworkFromFileJSON ¶ added in v0.3.5
func NetworkFromRawString ¶
func (*Network) Descriptor
deprecated
func (*Network) GetParameters ¶
func (x *Network) GetParameters() *ExperimentParameters
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
func (*Network) ToNodeGraph ¶ added in v0.3.1
func (*Network) ToSocketGraph ¶ added in v0.3.1
func (n *Network) ToSocketGraph() (*SocketGraph, error)
type Node ¶
type Node struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sockets []*Socket `protobuf:"bytes,2,rep,name=sockets,proto3" json:"sockets,omitempty"` Proc *ProcSpec `protobuf:"bytes,3,opt,name=proc,proto3" json:"proc,omitempty"` Memory *MemorySpec `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"` NIC *NICSpec `protobuf:"bytes,5,opt,name=NIC,proto3" json:"NIC,omitempty"` Disks *DiskSpec `protobuf:"bytes,6,opt,name=disks,proto3" json:"disks,omitempty"` Metal *BoolConstraint `protobuf:"bytes,7,opt,name=metal,proto3" json:"metal,omitempty"` Virt *BoolConstraint `protobuf:"bytes,8,opt,name=virt,proto3" json:"virt,omitempty"` Image *StringConstraint `protobuf:"bytes,9,opt,name=image,proto3" json:"image,omitempty"` Platform *StringConstraint `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"` //TODO: should be enum? Viz *Visualization `protobuf:"bytes,11,opt,name=viz,proto3" json:"viz,omitempty"` Conf *NodeConfig `protobuf:"bytes,12,opt,name=conf,proto3" json:"conf,omitempty"` // Run time and post-publish properties Properties *Properties `protobuf:"bytes,13,opt,name=properties,proto3" json:"properties,omitempty"` Host *StringConstraint `protobuf:"bytes,14,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetConf ¶ added in v0.3.1
func (x *Node) GetConf() *NodeConfig
func (*Node) GetHost ¶ added in v0.3.7
func (x *Node) GetHost() *StringConstraint
func (*Node) GetImage ¶
func (x *Node) GetImage() *StringConstraint
func (*Node) GetMemory ¶
func (x *Node) GetMemory() *MemorySpec
func (*Node) GetMetal ¶
func (x *Node) GetMetal() *BoolConstraint
func (*Node) GetPlatform ¶
func (x *Node) GetPlatform() *StringConstraint
func (*Node) GetProperties ¶ added in v0.3.1
func (x *Node) GetProperties() *Properties
func (*Node) GetSockets ¶
func (*Node) GetVirt ¶
func (x *Node) GetVirt() *BoolConstraint
func (*Node) GetViz ¶
func (x *Node) GetViz() *Visualization
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeConfig ¶ added in v0.3.1
type NodeConfig struct { Routes []*RouteConfig `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*NodeConfig) Descriptor
deprecated
added in
v0.3.1
func (*NodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.
func (*NodeConfig) GetRoutes ¶ added in v0.3.1
func (x *NodeConfig) GetRoutes() []*RouteConfig
func (*NodeConfig) ProtoMessage ¶ added in v0.3.1
func (*NodeConfig) ProtoMessage()
func (*NodeConfig) ProtoReflect ¶ added in v0.3.1
func (x *NodeConfig) ProtoReflect() protoreflect.Message
func (*NodeConfig) Reset ¶ added in v0.3.1
func (x *NodeConfig) Reset()
func (*NodeConfig) String ¶ added in v0.3.1
func (x *NodeConfig) String() string
type NodeGraph ¶ added in v0.3.1
type NodeGraph struct { Network *Network *simple.UndirectedGraph // contains filtered or unexported fields }
NodeGraph builds a graph using the Nodes in a Network.
func NewNodeGraph ¶ added in v0.3.1
func ToNodeGraph ¶ added in v0.3.1
ToNodeGraph returns a graph with xir.Nodes as vertexes and xir.Endpoints as edges.
func (*NodeGraph) NodeByName ¶ added in v0.3.1
func (ng *NodeGraph) NodeByName(name string) *NodeGraphVertex
Get graph node given a xir.Node id (name)
type NodeGraphEdge ¶ added in v0.3.1
NodeGraphEdge has the endpoints and Link of the edge between the nodes.
func (NodeGraphEdge) FromPort ¶ added in v0.3.1
func (e NodeGraphEdge) FromPort() (string, string)
func (NodeGraphEdge) ToPort ¶ added in v0.3.1
func (e NodeGraphEdge) ToPort() (string, string)
type NodeGraphVertex ¶ added in v0.3.1
type NodeGraphVertex struct { Node *Node // contains filtered or unexported fields }
NodeGraphVertex is the Node itself.
func (NodeGraphVertex) Attributes ¶ added in v0.3.1
func (v NodeGraphVertex) Attributes() []encoding.Attribute
dot vertex attribute interface. We add a label divided into an area per interface. The edges use these areas to point to the correct place on the vertex. Format for this is "<n> name|<n1> name1|...|<nx> namex>". The Mrecord shape gives us rounded corners on the vertex.
func (NodeGraphVertex) DOTID ¶ added in v0.3.1
func (v NodeGraphVertex) DOTID() string
graphviz interfaces
func (NodeGraphVertex) ID ¶ added in v0.3.1
func (v NodeGraphVertex) ID() int64
implement simple.Graph interface
type OSConfig ¶
type OSConfig struct { BGP []*BGPRouterConfig `protobuf:"bytes,1,rep,name=BGP,proto3" json:"BGP,omitempty"` Bridge []*BridgeConfig `protobuf:"bytes,2,rep,name=bridge,proto3" json:"bridge,omitempty"` VLAN []*VLANConfig `protobuf:"bytes,3,rep,name=VLAN,proto3" json:"VLAN,omitempty"` ServiceEndpoints map[uint32]*ServiceEndpoint `` //map key is VxLAN VNI /* 198-byte string literal not displayed */ Append string `protobuf:"bytes,5,opt,name=append,proto3" json:"append,omitempty"` Rootdev string `protobuf:"bytes,6,opt,name=rootdev,proto3" json:"rootdev,omitempty"` DefaultImage string `protobuf:"bytes,7,opt,name=default_image,json=defaultImage,proto3" json:"default_image,omitempty"` // contains filtered or unexported fields }
func (*OSConfig) Descriptor
deprecated
func (*OSConfig) GetBGP ¶
func (x *OSConfig) GetBGP() []*BGPRouterConfig
func (*OSConfig) GetBridge ¶
func (x *OSConfig) GetBridge() []*BridgeConfig
func (*OSConfig) GetDefaultImage ¶
func (*OSConfig) GetRootdev ¶
func (*OSConfig) GetServiceEndpoints ¶
func (x *OSConfig) GetServiceEndpoints() map[uint32]*ServiceEndpoint
func (*OSConfig) GetVLAN ¶
func (x *OSConfig) GetVLAN() []*VLANConfig
func (*OSConfig) ProtoMessage ¶
func (*OSConfig) ProtoMessage()
func (*OSConfig) ProtoReflect ¶
func (x *OSConfig) ProtoReflect() protoreflect.Message
type Operator ¶
type Operator int32
func (Operator) Descriptor ¶
func (Operator) Descriptor() protoreflect.EnumDescriptor
func (Operator) EnumDescriptor
deprecated
func (Operator) Number ¶
func (x Operator) Number() protoreflect.EnumNumber
func (Operator) Type ¶
func (Operator) Type() protoreflect.EnumType
type Phyo ¶
type Phyo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Eqtns []string `protobuf:"bytes,2,rep,name=eqtns,proto3" json:"eqtns,omitempty"` // contains filtered or unexported fields }
func (*Phyo) Descriptor
deprecated
func (*Phyo) ProtoMessage ¶
func (*Phyo) ProtoMessage()
func (*Phyo) ProtoReflect ¶
func (x *Phyo) ProtoReflect() protoreflect.Message