Documentation
¶
Overview ¶
Package handler implements the UFM Facade API server.
It translates clean, resource-oriented REST requests into calls against UFM Enterprise's actual API via the ufmclient package. Key responsibilities include:
- Cursor-based pagination over UFM's unpaginated list endpoints
- Error normalization from UFM status codes to structured JSON errors
- Action fan-out (UFM's monolithic POST /actions becomes discrete sub-resources)
- Type mapping between the OpenAPI-generated types and ufmclient types
The generated files (server.gen.go, types.gen.go) define the ServerInterface and request/response types. Server in server.go implements that interface.
Package handler provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Package handler provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type AddPartitionHostsJSONRequestBody
- type AddPartitionMembersJSONRequestBody
- type AssignComputesJSONBody
- type AssignComputesJSONBodyMode
- type AssignComputesJSONRequestBody
- type CollectLinkDumpJSONBody
- type CollectLinkDumpJSONRequestBody
- type Compute
- type ComputeStatus
- type ConfigureDumpStorageJSONBody
- type ConfigureDumpStorageJSONRequestBody
- type CreateEnvironmentJSONRequestBody
- type CreateGlobalNetworkJSONRequestBody
- type CreateLocalNetworkJSONRequestBody
- type CreateLogicalServerJSONRequestBody
- type CreateMirroringTemplateJSONRequestBody
- type CreateMonitoringSessionJSONRequestBody
- type CreateMonitoringSnapshotJSONRequestBody
- type CreateMonitoringTemplateJSONRequestBody
- type CreatePartitionJSONRequestBody
- type CreateReportJSONRequestBody
- type CreateTemplateJSONRequestBody
- type Cursor
- type EchoRouter
- type Environment
- type EnvironmentCreate
- type EnvironmentList
- type Error
- type ExecuteMirroringActionJSONRequestBody
- type ExecuteTemplateJSONBody
- type ExecuteTemplateJSONRequestBody
- type GetHistoryTelemetryParams
- type GetInventorySummaryParams
- type GetJobParams
- type GetMonitoringSessionDataParams
- type GetPartitionParams
- type GetPerformanceCountersJSONBody
- type GetPerformanceCountersJSONRequestBody
- type GetSystemParams
- type GetTopTelemetryParams
- type Job
- type JobList
- type JobStatus
- type Limit
- type Link
- type LinkList
- type ListEnvironmentsParams
- type ListJobsParams
- type ListJobsParamsStatus
- type ListLinksParams
- type ListPartitionMembersParams
- type ListPartitionsParams
- type ListPortsParams
- type ListPortsParamsHighBerSeverity
- type ListSystemsParams
- type ListSystemsParamsComputeStatus
- type ListSystemsParamsRole
- type ListSystemsParamsType
- type ListTemplatesParams
- type ListVirtualPortsParams
- type LogicalServer
- type LogicalServerCreate
- type MirroringAction
- type MirroringActionAction
- type MirroringTemplate
- type MonitoringSession
- type MonitoringSessionCreate
- type MonitoringSnapshotCreate
- type MonitoringTemplate
- type Network
- type NetworkCreate
- type NotFound
- type PageInfo
- type Partition
- type PartitionCreate
- type PartitionHostsAdd
- type PartitionHostsAddMembership
- type PartitionList
- type PartitionMember
- type PartitionMemberInput
- type PartitionMemberInputMembership
- type PartitionMemberList
- type PartitionMemberMembership
- type PartitionMembersAdd
- type PartitionQoS
- type PartitionQoSMtuLimit
- type PartitionReplace
- type Pkey
- type Port
- type PortList
- type ProvisioningTemplate
- type ProvisioningTemplateCreate
- type RebootSystemJSONBody
- type RebootSystemJSONRequestBody
- type RemovePartitionHostsJSONBody
- type RemovePartitionHostsJSONRequestBody
- type RemovePartitionMembersJSONBody
- type RemovePartitionMembersJSONRequestBody
- type ReplacePartitionJSONRequestBody
- type ReportCreate
- type ReportCreateType
- type Server
- func (s *Server) AbortAllJobs(ctx echo.Context) error
- func (s *Server) AbortJob(ctx echo.Context, jobId string) error
- func (s *Server) AddPartitionHosts(ctx echo.Context, pkey Pkey) error
- func (s *Server) AddPartitionMembers(ctx echo.Context, pkey Pkey) error
- func (s *Server) AssignComputes(ctx echo.Context, envName string, serverName string) error
- func (s *Server) CollectLinkDump(ctx echo.Context) error
- func (s *Server) CollectSystemDump(ctx echo.Context, systemId string) error
- func (s *Server) ConfigureDumpStorage(ctx echo.Context) error
- func (s *Server) CreateEnvironment(ctx echo.Context) error
- func (s *Server) CreateGlobalNetwork(ctx echo.Context) error
- func (s *Server) CreateLocalNetwork(ctx echo.Context, envName string) error
- func (s *Server) CreateLogicalServer(ctx echo.Context, envName string) error
- func (s *Server) CreateMirroringTemplate(ctx echo.Context) error
- func (s *Server) CreateMonitoringSession(ctx echo.Context) error
- func (s *Server) CreateMonitoringSnapshot(ctx echo.Context) error
- func (s *Server) CreateMonitoringTemplate(ctx echo.Context) error
- func (s *Server) CreatePartition(ctx echo.Context) error
- func (s *Server) CreateReport(ctx echo.Context) error
- func (s *Server) CreateTemplate(ctx echo.Context) error
- func (s *Server) CreateToken(ctx echo.Context) error
- func (s *Server) DeleteCableImage(ctx echo.Context, imageName string) error
- func (s *Server) DeleteEnvironment(ctx echo.Context, envName string) error
- func (s *Server) DeleteGlobalNetwork(ctx echo.Context, networkName string) error
- func (s *Server) DeleteJob(ctx echo.Context, jobId string) error
- func (s *Server) DeleteLogicalServer(ctx echo.Context, envName string, serverName string) error
- func (s *Server) DeleteMirroringTemplate(ctx echo.Context, systemId string) error
- func (s *Server) DeleteMonitoringSession(ctx echo.Context, sessionId string) error
- func (s *Server) DeleteMonitoringTemplate(ctx echo.Context, templateName string) error
- func (s *Server) DeletePartition(ctx echo.Context, pkey Pkey) error
- func (s *Server) DeleteReport(ctx echo.Context, reportId string) error
- func (s *Server) DeleteTemplate(ctx echo.Context, templateName string) error
- func (s *Server) DisablePort(ctx echo.Context, portName string) error
- func (s *Server) EnablePort(ctx echo.Context, portName string) error
- func (s *Server) ExecuteMirroringAction(ctx echo.Context) error
- func (s *Server) ExecuteTemplate(ctx echo.Context, templateName string) error
- func (s *Server) FreeComputes(ctx echo.Context, envName string, serverName string) error
- func (s *Server) GetConfig(ctx echo.Context) error
- func (s *Server) GetCongestionMap(ctx echo.Context) error
- func (s *Server) GetEnvironment(ctx echo.Context, envName string) error
- func (s *Server) GetGlobalNetwork(ctx echo.Context, networkName string) error
- func (s *Server) GetHistoryTelemetry(ctx echo.Context, params GetHistoryTelemetryParams) error
- func (s *Server) GetInventoryCount(ctx echo.Context) error
- func (s *Server) GetInventorySummary(ctx echo.Context, params GetInventorySummaryParams) error
- func (s *Server) GetJob(ctx echo.Context, jobId string, params GetJobParams) error
- func (s *Server) GetLatestReport(ctx echo.Context, reportType string) error
- func (s *Server) GetLogicalServer(ctx echo.Context, envName string, serverName string) error
- func (s *Server) GetMirroringTemplate(ctx echo.Context, systemId string) error
- func (s *Server) GetMonitoringSession(ctx echo.Context, sessionId string) error
- func (s *Server) GetMonitoringSessionData(ctx echo.Context, sessionId string, params GetMonitoringSessionDataParams) error
- func (s *Server) GetMonitoringTemplate(ctx echo.Context, templateName string) error
- func (s *Server) GetPartition(ctx echo.Context, pkey Pkey, params GetPartitionParams) error
- func (s *Server) GetPartitionLastUpdated(ctx echo.Context, pkey Pkey) error
- func (s *Server) GetPerformanceCounters(ctx echo.Context) error
- func (s *Server) GetPort(ctx echo.Context, portName string) error
- func (s *Server) GetPortGroupMetrics(ctx echo.Context) error
- func (s *Server) GetReport(ctx echo.Context, reportId string) error
- func (s *Server) GetSystem(ctx echo.Context, systemId string, params GetSystemParams) error
- func (s *Server) GetTemplate(ctx echo.Context, templateName string) error
- func (s *Server) GetTopTelemetry(ctx echo.Context, params GetTopTelemetryParams) error
- func (s *Server) GetVersion(ctx echo.Context) error
- func (s *Server) ListCableImages(ctx echo.Context) error
- func (s *Server) ListComputes(ctx echo.Context, envName string, serverName string) error
- func (s *Server) ListEnvironments(ctx echo.Context, params ListEnvironmentsParams) error
- func (s *Server) ListFabricValidationTests(ctx echo.Context) error
- func (s *Server) ListGlobalNetworks(ctx echo.Context) error
- func (s *Server) ListJobs(ctx echo.Context, params ListJobsParams) error
- func (s *Server) ListLinks(ctx echo.Context, params ListLinksParams) error
- func (s *Server) ListLocalNetworks(ctx echo.Context, envName string) error
- func (s *Server) ListLogicalServers(ctx echo.Context, envName string) error
- func (s *Server) ListMonitoringAttributes(ctx echo.Context) error
- func (s *Server) ListMonitoringTemplates(ctx echo.Context) error
- func (s *Server) ListPartitionMembers(ctx echo.Context, pkey Pkey, params ListPartitionMembersParams) error
- func (s *Server) ListPartitions(ctx echo.Context, params ListPartitionsParams) error
- func (s *Server) ListPorts(ctx echo.Context, params ListPortsParams) error
- func (s *Server) ListSystems(ctx echo.Context, params ListSystemsParams) error
- func (s *Server) ListSystemsPower(ctx echo.Context) error
- func (s *Server) ListTemplates(ctx echo.Context, params ListTemplatesParams) error
- func (s *Server) ListVirtualPorts(ctx echo.Context, params ListVirtualPortsParams) error
- func (s *Server) RebootSystem(ctx echo.Context, systemId string) error
- func (s *Server) RefreshFabricDiscovery(ctx echo.Context) error
- func (s *Server) RefreshTemplates(ctx echo.Context) error
- func (s *Server) RemovePartitionHosts(ctx echo.Context, pkey Pkey) error
- func (s *Server) RemovePartitionMembers(ctx echo.Context, pkey Pkey) error
- func (s *Server) ReplacePartition(ctx echo.Context, pkey Pkey) error
- func (s *Server) ResetPort(ctx echo.Context, portName string) error
- func (s *Server) RunFabricValidationTest(ctx echo.Context, testName string) error
- func (s *Server) SetSystemHealth(ctx echo.Context, systemId string) error
- func (s *Server) UpdateConfig(ctx echo.Context) error
- func (s *Server) UpdateEnvironment(ctx echo.Context, envName string) error
- func (s *Server) UpdateGlobalNetwork(ctx echo.Context, networkName string) error
- func (s *Server) UpdateMirroringTemplate(ctx echo.Context, systemId string) error
- func (s *Server) UpdateMonitoringTemplate(ctx echo.Context, templateName string) error
- func (s *Server) UpdatePartitionQoS(ctx echo.Context, pkey Pkey) error
- func (s *Server) UpdatePartitionSHARP(ctx echo.Context, pkey Pkey) error
- func (s *Server) UpdateSystem(ctx echo.Context, systemId string) error
- func (s *Server) UpgradeSystemFirmware(ctx echo.Context, systemId string) error
- func (s *Server) UpgradeSystemSoftware(ctx echo.Context, systemId string) error
- func (s *Server) UploadCableImage(ctx echo.Context) error
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) AbortAllJobs(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AbortJob(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AddPartitionHosts(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AddPartitionMembers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AssignComputes(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CollectLinkDump(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CollectSystemDump(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConfigureDumpStorage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateEnvironment(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateGlobalNetwork(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateLocalNetwork(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateLogicalServer(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateMirroringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateMonitoringSession(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateMonitoringSnapshot(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateMonitoringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreatePartition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateReport(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateToken(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteCableImage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteEnvironment(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteGlobalNetwork(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteJob(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteLogicalServer(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteMirroringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteMonitoringSession(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteMonitoringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeletePartition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteReport(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DisablePort(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EnablePort(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ExecuteMirroringAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ExecuteTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) FreeComputes(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetConfig(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetCongestionMap(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetEnvironment(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetGlobalNetwork(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetHistoryTelemetry(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetInventoryCount(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetInventorySummary(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetJob(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLatestReport(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLogicalServer(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMirroringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMonitoringSession(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMonitoringSessionData(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMonitoringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetPartition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetPartitionLastUpdated(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetPerformanceCounters(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetPort(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetPortGroupMetrics(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetReport(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSystem(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetTopTelemetry(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetVersion(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListCableImages(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListComputes(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListEnvironments(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListFabricValidationTests(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListGlobalNetworks(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListJobs(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListLinks(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListLocalNetworks(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListLogicalServers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListMonitoringAttributes(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListMonitoringTemplates(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListPartitionMembers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListPartitions(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListPorts(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListSystems(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListSystemsPower(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListTemplates(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListVirtualPorts(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RebootSystem(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RefreshFabricDiscovery(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RefreshTemplates(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RemovePartitionHosts(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RemovePartitionMembers(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ReplacePartition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ResetPort(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RunFabricValidationTest(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) SetSystemHealth(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateConfig(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateEnvironment(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateGlobalNetwork(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateMirroringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateMonitoringTemplate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdatePartitionQoS(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdatePartitionSHARP(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateSystem(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpgradeSystemFirmware(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpgradeSystemSoftware(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UploadCableImage(ctx echo.Context) error
- type SetSystemHealthJSONBody
- type SetSystemHealthJSONRequestBody
- type System
- type SystemList
- type SystemPower
- type SystemRole
- type SystemType
- type SystemUpdate
- type UFMConfig
- type UFMVersion
- type UpdateConfigJSONBody
- type UpdateConfigJSONRequestBody
- type UpdateEnvironmentJSONRequestBody
- type UpdateGlobalNetworkJSONRequestBody
- type UpdateMirroringTemplateJSONRequestBody
- type UpdateMonitoringTemplateJSONRequestBody
- type UpdatePartitionQoSJSONRequestBody
- type UpdatePartitionSHARPJSONBody
- type UpdatePartitionSHARPJSONRequestBody
- type UpdateSystemJSONRequestBody
- type UpgradeSystemFirmwareJSONBody
- type UpgradeSystemFirmwareJSONRequestBody
- type UpgradeSystemSoftwareJSONBody
- type UpgradeSystemSoftwareJSONRequestBody
- type UploadCableImageMultipartBody
- type UploadCableImageMultipartRequestBody
- type VirtualPort
- type VirtualPortList
Constants ¶
const ( BasicAuthScopes = "basicAuth.Scopes" BearerAuthScopes = "bearerAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
Types ¶
type AddPartitionHostsJSONRequestBody ¶
type AddPartitionHostsJSONRequestBody = PartitionHostsAdd
AddPartitionHostsJSONRequestBody defines body for AddPartitionHosts for application/json ContentType.
type AddPartitionMembersJSONRequestBody ¶
type AddPartitionMembersJSONRequestBody = PartitionMembersAdd
AddPartitionMembersJSONRequestBody defines body for AddPartitionMembers for application/json ContentType.
type AssignComputesJSONBody ¶
type AssignComputesJSONBody struct {
// Computes Compute names (required for manual mode).
Computes *[]string `json:"computes,omitempty"`
Mode *AssignComputesJSONBodyMode `json:"mode,omitempty"`
}
AssignComputesJSONBody defines parameters for AssignComputes.
type AssignComputesJSONBodyMode ¶
type AssignComputesJSONBodyMode string
AssignComputesJSONBodyMode defines parameters for AssignComputes.
const ( Auto AssignComputesJSONBodyMode = "auto" Manual AssignComputesJSONBodyMode = "manual" )
Defines values for AssignComputesJSONBodyMode.
func (AssignComputesJSONBodyMode) Valid ¶
func (e AssignComputesJSONBodyMode) Valid() bool
Valid indicates whether the value is a known member of the AssignComputesJSONBodyMode enum.
type AssignComputesJSONRequestBody ¶
type AssignComputesJSONRequestBody AssignComputesJSONBody
AssignComputesJSONRequestBody defines body for AssignComputes for application/json ContentType.
type CollectLinkDumpJSONBody ¶
type CollectLinkDumpJSONBody struct {
LinkIds []string `json:"link_ids"`
}
CollectLinkDumpJSONBody defines parameters for CollectLinkDump.
type CollectLinkDumpJSONRequestBody ¶
type CollectLinkDumpJSONRequestBody CollectLinkDumpJSONBody
CollectLinkDumpJSONRequestBody defines body for CollectLinkDump for application/json ContentType.
type Compute ¶
type Compute struct {
Name *string `json:"name,omitempty"`
Status *ComputeStatus `json:"status,omitempty"`
}
Compute defines model for Compute.
type ComputeStatus ¶
type ComputeStatus string
ComputeStatus defines model for Compute.Status.
const ( ComputeStatusAllocated ComputeStatus = "allocated" ComputeStatusFree ComputeStatus = "free" )
Defines values for ComputeStatus.
func (ComputeStatus) Valid ¶
func (e ComputeStatus) Valid() bool
Valid indicates whether the value is a known member of the ComputeStatus enum.
type ConfigureDumpStorageJSONBody ¶
type ConfigureDumpStorageJSONBody struct {
StoragePath *string `json:"storage_path,omitempty"`
}
ConfigureDumpStorageJSONBody defines parameters for ConfigureDumpStorage.
type ConfigureDumpStorageJSONRequestBody ¶
type ConfigureDumpStorageJSONRequestBody ConfigureDumpStorageJSONBody
ConfigureDumpStorageJSONRequestBody defines body for ConfigureDumpStorage for application/json ContentType.
type CreateEnvironmentJSONRequestBody ¶
type CreateEnvironmentJSONRequestBody = EnvironmentCreate
CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType.
type CreateGlobalNetworkJSONRequestBody ¶
type CreateGlobalNetworkJSONRequestBody = NetworkCreate
CreateGlobalNetworkJSONRequestBody defines body for CreateGlobalNetwork for application/json ContentType.
type CreateLocalNetworkJSONRequestBody ¶
type CreateLocalNetworkJSONRequestBody = NetworkCreate
CreateLocalNetworkJSONRequestBody defines body for CreateLocalNetwork for application/json ContentType.
type CreateLogicalServerJSONRequestBody ¶
type CreateLogicalServerJSONRequestBody = LogicalServerCreate
CreateLogicalServerJSONRequestBody defines body for CreateLogicalServer for application/json ContentType.
type CreateMirroringTemplateJSONRequestBody ¶
type CreateMirroringTemplateJSONRequestBody = MirroringTemplate
CreateMirroringTemplateJSONRequestBody defines body for CreateMirroringTemplate for application/json ContentType.
type CreateMonitoringSessionJSONRequestBody ¶
type CreateMonitoringSessionJSONRequestBody = MonitoringSessionCreate
CreateMonitoringSessionJSONRequestBody defines body for CreateMonitoringSession for application/json ContentType.
type CreateMonitoringSnapshotJSONRequestBody ¶
type CreateMonitoringSnapshotJSONRequestBody = MonitoringSnapshotCreate
CreateMonitoringSnapshotJSONRequestBody defines body for CreateMonitoringSnapshot for application/json ContentType.
type CreateMonitoringTemplateJSONRequestBody ¶
type CreateMonitoringTemplateJSONRequestBody = MonitoringTemplate
CreateMonitoringTemplateJSONRequestBody defines body for CreateMonitoringTemplate for application/json ContentType.
type CreatePartitionJSONRequestBody ¶
type CreatePartitionJSONRequestBody = PartitionCreate
CreatePartitionJSONRequestBody defines body for CreatePartition for application/json ContentType.
type CreateReportJSONRequestBody ¶
type CreateReportJSONRequestBody = ReportCreate
CreateReportJSONRequestBody defines body for CreateReport for application/json ContentType.
type CreateTemplateJSONRequestBody ¶
type CreateTemplateJSONRequestBody = ProvisioningTemplateCreate
CreateTemplateJSONRequestBody defines body for CreateTemplate for application/json ContentType.
type EchoRouter ¶
type EchoRouter interface {
CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type Environment ¶
type Environment struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
Environment defines model for Environment.
type EnvironmentCreate ¶
type EnvironmentCreate struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
}
EnvironmentCreate defines model for EnvironmentCreate.
type EnvironmentList ¶
type EnvironmentList struct {
Items *[]Environment `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
EnvironmentList defines model for EnvironmentList.
type Error ¶
type Error struct {
Error struct {
// Code Machine-readable error code.
Code string `json:"code"`
Details *[]struct {
Field *string `json:"field,omitempty"`
Reason *string `json:"reason,omitempty"`
} `json:"details,omitempty"`
// Message Human-readable error description.
Message string `json:"message"`
} `json:"error"`
}
Error defines model for Error.
type ExecuteMirroringActionJSONRequestBody ¶
type ExecuteMirroringActionJSONRequestBody = MirroringAction
ExecuteMirroringActionJSONRequestBody defines body for ExecuteMirroringAction for application/json ContentType.
type ExecuteTemplateJSONBody ¶
type ExecuteTemplateJSONBody struct {
SystemIds []string `json:"system_ids"`
}
ExecuteTemplateJSONBody defines parameters for ExecuteTemplate.
type ExecuteTemplateJSONRequestBody ¶
type ExecuteTemplateJSONRequestBody ExecuteTemplateJSONBody
ExecuteTemplateJSONRequestBody defines body for ExecuteTemplate for application/json ContentType.
type GetHistoryTelemetryParams ¶
type GetHistoryTelemetryParams struct {
MembersType string `form:"members_type" json:"members_type"`
Attributes string `form:"attributes" json:"attributes"`
// Members Comma-separated list of member GUIDs.
Members string `form:"members" json:"members"`
// StartTime Relative or absolute start time (e.g. `-1h`).
StartTime string `form:"start_time" json:"start_time"`
// EndTime Relative or absolute end time (e.g. `-0min`).
EndTime string `form:"end_time" json:"end_time"`
}
GetHistoryTelemetryParams defines parameters for GetHistoryTelemetry.
type GetInventorySummaryParams ¶
type GetInventorySummaryParams struct {
IncludePorts *bool `form:"include_ports,omitempty" json:"include_ports,omitempty"`
}
GetInventorySummaryParams defines parameters for GetInventorySummary.
type GetJobParams ¶
type GetJobParams struct {
// Include Additional data: `sub_jobs`, `full`.
Include *string `form:"include,omitempty" json:"include,omitempty"`
}
GetJobParams defines parameters for GetJob.
type GetMonitoringSessionDataParams ¶
type GetMonitoringSessionDataParams struct {
// Partition Filter by PKEY.
Partition *string `form:"partition,omitempty" json:"partition,omitempty"`
}
GetMonitoringSessionDataParams defines parameters for GetMonitoringSessionData.
type GetPartitionParams ¶
type GetPartitionParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
}
GetPartitionParams defines parameters for GetPartition.
type GetPerformanceCountersJSONBody ¶
type GetPerformanceCountersJSONBody struct {
Hostnames []string `json:"hostnames"`
}
GetPerformanceCountersJSONBody defines parameters for GetPerformanceCounters.
type GetPerformanceCountersJSONRequestBody ¶
type GetPerformanceCountersJSONRequestBody GetPerformanceCountersJSONBody
GetPerformanceCountersJSONRequestBody defines body for GetPerformanceCounters for application/json ContentType.
type GetSystemParams ¶
type GetSystemParams struct {
Include *string `form:"include,omitempty" json:"include,omitempty"`
}
GetSystemParams defines parameters for GetSystem.
type GetTopTelemetryParams ¶
type GetTopTelemetryParams struct {
MembersType string `form:"members_type" json:"members_type"`
PickBy string `form:"pick_by" json:"pick_by"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Attributes Additional telemetry attributes to include.
Attributes *string `form:"attributes,omitempty" json:"attributes,omitempty"`
}
GetTopTelemetryParams defines parameters for GetTopTelemetry.
type Job ¶
type Job struct {
CompletedAt *time.Time `json:"completed_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
Operation *string `json:"operation,omitempty"`
Status *JobStatus `json:"status,omitempty"`
// SubJobs Present only when `include=sub_jobs`.
SubJobs *[]Job `json:"sub_jobs,omitempty"`
}
Job defines model for Job.
type JobList ¶
type JobList struct {
Items *[]Job `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
JobList defines model for JobList.
type JobStatus ¶
type JobStatus string
JobStatus defines model for Job.Status.
type Link ¶
type Link struct {
DestinationPort *string `json:"destination_port,omitempty"`
SourcePort *string `json:"source_port,omitempty"`
Speed *string `json:"speed,omitempty"`
Width *string `json:"width,omitempty"`
}
Link defines model for Link.
type LinkList ¶
type LinkList struct {
Items *[]Link `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
LinkList defines model for LinkList.
type ListEnvironmentsParams ¶
type ListEnvironmentsParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListEnvironmentsParams defines parameters for ListEnvironments.
type ListJobsParams ¶
type ListJobsParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Status Filter by job status.
Status *ListJobsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Operation Filter by operation type.
Operation *string `form:"operation,omitempty" json:"operation,omitempty"`
// ParentOnly Only return parent jobs (exclude sub-jobs).
ParentOnly *bool `form:"parent_only,omitempty" json:"parent_only,omitempty"`
// SystemIds Filter by associated system IDs (comma-separated).
SystemIds *string `form:"system_ids,omitempty" json:"system_ids,omitempty"`
}
ListJobsParams defines parameters for ListJobs.
type ListJobsParamsStatus ¶
type ListJobsParamsStatus string
ListJobsParamsStatus defines parameters for ListJobs.
const ( ListJobsParamsStatusAborted ListJobsParamsStatus = "aborted" ListJobsParamsStatusCompleted ListJobsParamsStatus = "completed" ListJobsParamsStatusFailed ListJobsParamsStatus = "failed" ListJobsParamsStatusRunning ListJobsParamsStatus = "running" )
Defines values for ListJobsParamsStatus.
func (ListJobsParamsStatus) Valid ¶
func (e ListJobsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListJobsParamsStatus enum.
type ListLinksParams ¶
type ListLinksParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListLinksParams defines parameters for ListLinks.
type ListPartitionMembersParams ¶
type ListPartitionMembersParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPartitionMembersParams defines parameters for ListPartitionMembers.
type ListPartitionsParams ¶
type ListPartitionsParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Include Comma-separated list of additional data to include.
// Supported values: `members`, `qos`, `port_info`, `sharp_state`.
Include *string `form:"include,omitempty" json:"include,omitempty"`
}
ListPartitionsParams defines parameters for ListPartitions.
type ListPortsParams ¶
type ListPortsParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// System Filter by system name.
System *string `form:"system,omitempty" json:"system,omitempty"`
// SystemType Filter by system type (e.g. Switch).
SystemType *string `form:"system_type,omitempty" json:"system_type,omitempty"`
// Active Only return active ports.
Active *bool `form:"active,omitempty" json:"active,omitempty"`
// External Only return external ports.
External *bool `form:"external,omitempty" json:"external,omitempty"`
// HighBer Only return high BER ports.
HighBer *bool `form:"high_ber,omitempty" json:"high_ber,omitempty"`
// HighBerSeverity Filter high BER ports by severity.
HighBerSeverity *ListPortsParamsHighBerSeverity `form:"high_ber_severity,omitempty" json:"high_ber_severity,omitempty"`
// Include Additional data: `cable_info`.
Include *string `form:"include,omitempty" json:"include,omitempty"`
}
ListPortsParams defines parameters for ListPorts.
type ListPortsParamsHighBerSeverity ¶
type ListPortsParamsHighBerSeverity string
ListPortsParamsHighBerSeverity defines parameters for ListPorts.
const ( ListPortsParamsHighBerSeverityError ListPortsParamsHighBerSeverity = "error" ListPortsParamsHighBerSeverityWarning ListPortsParamsHighBerSeverity = "warning" )
Defines values for ListPortsParamsHighBerSeverity.
func (ListPortsParamsHighBerSeverity) Valid ¶
func (e ListPortsParamsHighBerSeverity) Valid() bool
Valid indicates whether the value is a known member of the ListPortsParamsHighBerSeverity enum.
type ListSystemsParams ¶
type ListSystemsParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// Type Filter by system type.
Type *ListSystemsParamsType `form:"type,omitempty" json:"type,omitempty"`
// Model Filter by switch model.
Model *string `form:"model,omitempty" json:"model,omitempty"`
// Role Filter by topology role.
Role *ListSystemsParamsRole `form:"role,omitempty" json:"role,omitempty"`
// Ip Filter by system IP address.
Ip *string `form:"ip,omitempty" json:"ip,omitempty"`
// Rack Filter by rack membership.
Rack *string `form:"rack,omitempty" json:"rack,omitempty"`
// ComputeStatus Filter by compute allocation status.
ComputeStatus *ListSystemsParamsComputeStatus `form:"compute_status,omitempty" json:"compute_status,omitempty"`
// Include Comma-separated additional data: `ports`, `chassis`, `brief`.
Include *string `form:"include,omitempty" json:"include,omitempty"`
}
ListSystemsParams defines parameters for ListSystems.
type ListSystemsParamsComputeStatus ¶
type ListSystemsParamsComputeStatus string
ListSystemsParamsComputeStatus defines parameters for ListSystems.
const ( ListSystemsParamsComputeStatusAllocated ListSystemsParamsComputeStatus = "allocated" ListSystemsParamsComputeStatusFree ListSystemsParamsComputeStatus = "free" )
Defines values for ListSystemsParamsComputeStatus.
func (ListSystemsParamsComputeStatus) Valid ¶
func (e ListSystemsParamsComputeStatus) Valid() bool
Valid indicates whether the value is a known member of the ListSystemsParamsComputeStatus enum.
type ListSystemsParamsRole ¶
type ListSystemsParamsRole string
ListSystemsParamsRole defines parameters for ListSystems.
const ( ListSystemsParamsRoleCore ListSystemsParamsRole = "core" ListSystemsParamsRoleEndpoint ListSystemsParamsRole = "endpoint" ListSystemsParamsRoleTor ListSystemsParamsRole = "tor" )
Defines values for ListSystemsParamsRole.
func (ListSystemsParamsRole) Valid ¶
func (e ListSystemsParamsRole) Valid() bool
Valid indicates whether the value is a known member of the ListSystemsParamsRole enum.
type ListSystemsParamsType ¶
type ListSystemsParamsType string
ListSystemsParamsType defines parameters for ListSystems.
const ( ListSystemsParamsTypeGateway ListSystemsParamsType = "gateway" ListSystemsParamsTypeHost ListSystemsParamsType = "host" ListSystemsParamsTypeRouter ListSystemsParamsType = "router" ListSystemsParamsTypeSwitch ListSystemsParamsType = "switch" )
Defines values for ListSystemsParamsType.
func (ListSystemsParamsType) Valid ¶
func (e ListSystemsParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListSystemsParamsType enum.
type ListTemplatesParams ¶
type ListTemplatesParams struct {
Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
Profile *string `form:"profile,omitempty" json:"profile,omitempty"`
SystemType *string `form:"system_type,omitempty" json:"system_type,omitempty"`
}
ListTemplatesParams defines parameters for ListTemplates.
type ListVirtualPortsParams ¶
type ListVirtualPortsParams struct {
// Cursor Pagination cursor from a previous response.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (default 100, max 1000).
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
// System Filter by system GUID.
System *string `form:"system,omitempty" json:"system,omitempty"`
// Port Filter by physical port name.
Port *string `form:"port,omitempty" json:"port,omitempty"`
}
ListVirtualPortsParams defines parameters for ListVirtualPorts.
type LogicalServer ¶
type LogicalServer struct {
Computes *[]Compute `json:"computes,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
LogicalServer defines model for LogicalServer.
type LogicalServerCreate ¶
type LogicalServerCreate struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
}
LogicalServerCreate defines model for LogicalServerCreate.
type MirroringAction ¶
type MirroringAction struct {
Action MirroringActionAction `json:"action"`
PortId string `json:"port_id"`
Rx *bool `json:"rx,omitempty"`
Tx *bool `json:"tx,omitempty"`
}
MirroringAction defines model for MirroringAction.
type MirroringActionAction ¶
type MirroringActionAction string
MirroringActionAction defines model for MirroringAction.Action.
const ( Disable MirroringActionAction = "disable" Enable MirroringActionAction = "enable" )
Defines values for MirroringActionAction.
func (MirroringActionAction) Valid ¶
func (e MirroringActionAction) Valid() bool
Valid indicates whether the value is a known member of the MirroringActionAction enum.
type MirroringTemplate ¶
type MirroringTemplate struct {
PacketSize *int `json:"packet_size,omitempty"`
ServiceLevel *int `json:"service_level,omitempty"`
SystemId *string `json:"system_id,omitempty"`
TargetPort *string `json:"target_port,omitempty"`
}
MirroringTemplate defines model for MirroringTemplate.
type MonitoringSession ¶
type MonitoringSession struct {
Attributes *[]string `json:"attributes,omitempty"`
Id *string `json:"id,omitempty"`
Interval *int `json:"interval,omitempty"`
Status *string `json:"status,omitempty"`
}
MonitoringSession defines model for MonitoringSession.
type MonitoringSessionCreate ¶
type MonitoringSessionCreate struct {
Attributes *[]string `json:"attributes,omitempty"`
// Interval Collection interval in seconds.
Interval *int `json:"interval,omitempty"`
Members *[]string `json:"members,omitempty"`
}
MonitoringSessionCreate defines model for MonitoringSessionCreate.
type MonitoringSnapshotCreate ¶
type MonitoringSnapshotCreate struct {
Attributes *[]string `json:"attributes,omitempty"`
Members *[]string `json:"members,omitempty"`
}
MonitoringSnapshotCreate defines model for MonitoringSnapshotCreate.
type MonitoringTemplate ¶
type MonitoringTemplate struct {
Attributes *[]string `json:"attributes,omitempty"`
Interval *int `json:"interval,omitempty"`
Name *string `json:"name,omitempty"`
}
MonitoringTemplate defines model for MonitoringTemplate.
type Network ¶
type Network struct {
IpOverIb *bool `json:"ip_over_ib,omitempty"`
Name *string `json:"name,omitempty"`
Pkey *string `json:"pkey,omitempty"`
}
Network defines model for Network.
type NetworkCreate ¶
type NetworkCreate struct {
IpOverIb *bool `json:"ip_over_ib,omitempty"`
Name string `json:"name"`
Pkey *string `json:"pkey,omitempty"`
}
NetworkCreate defines model for NetworkCreate.
type PageInfo ¶
type PageInfo struct {
// NextCursor Cursor for next page, null if last page.
NextCursor *string `json:"next_cursor,omitempty"`
// Total Total number of items (if known).
Total *int `json:"total,omitempty"`
}
PageInfo defines model for PageInfo.
type Partition ¶
type Partition struct {
Index0 *bool `json:"index0,omitempty"`
IpOverIb *bool `json:"ip_over_ib,omitempty"`
// Members Present only when `include=members`.
Members *[]PartitionMember `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
// Pkey Partition key in hex (e.g. `0x8001`).
Pkey *string `json:"pkey,omitempty"`
Qos *PartitionQoS `json:"qos,omitempty"`
SharpEnabled *bool `json:"sharp_enabled,omitempty"`
}
Partition defines model for Partition.
type PartitionCreate ¶
type PartitionCreate struct {
Index0 *bool `json:"index0,omitempty"`
IpOverIb *bool `json:"ip_over_ib,omitempty"`
// Members Optional initial GUID members. If omitted, an empty
// partition is created.
Members *[]PartitionMemberInput `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
Pkey string `json:"pkey"`
Qos *PartitionQoS `json:"qos,omitempty"`
}
PartitionCreate defines model for PartitionCreate.
type PartitionHostsAdd ¶
type PartitionHostsAdd struct {
// Hosts Hostnames to add.
Hosts []string `json:"hosts"`
Index0 *bool `json:"index0,omitempty"`
IpOverIb *bool `json:"ip_over_ib,omitempty"`
Membership *PartitionHostsAddMembership `json:"membership,omitempty"`
}
PartitionHostsAdd defines model for PartitionHostsAdd.
type PartitionHostsAddMembership ¶
type PartitionHostsAddMembership string
PartitionHostsAddMembership defines model for PartitionHostsAdd.Membership.
const ( PartitionHostsAddMembershipFull PartitionHostsAddMembership = "full" PartitionHostsAddMembershipLimited PartitionHostsAddMembership = "limited" )
Defines values for PartitionHostsAddMembership.
func (PartitionHostsAddMembership) Valid ¶
func (e PartitionHostsAddMembership) Valid() bool
Valid indicates whether the value is a known member of the PartitionHostsAddMembership enum.
type PartitionList ¶
type PartitionList struct {
Items *[]Partition `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
PartitionList defines model for PartitionList.
type PartitionMember ¶
type PartitionMember struct {
Guid *string `json:"guid,omitempty"`
Index0 *bool `json:"index0,omitempty"`
Membership *PartitionMemberMembership `json:"membership,omitempty"`
}
PartitionMember defines model for PartitionMember.
type PartitionMemberInput ¶
type PartitionMemberInput struct {
Guid string `json:"guid"`
Membership *PartitionMemberInputMembership `json:"membership,omitempty"`
}
PartitionMemberInput defines model for PartitionMemberInput.
type PartitionMemberInputMembership ¶
type PartitionMemberInputMembership string
PartitionMemberInputMembership defines model for PartitionMemberInput.Membership.
const ( Full PartitionMemberInputMembership = "full" Limited PartitionMemberInputMembership = "limited" )
Defines values for PartitionMemberInputMembership.
func (PartitionMemberInputMembership) Valid ¶
func (e PartitionMemberInputMembership) Valid() bool
Valid indicates whether the value is a known member of the PartitionMemberInputMembership enum.
type PartitionMemberList ¶
type PartitionMemberList struct {
Items *[]PartitionMember `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
PartitionMemberList defines model for PartitionMemberList.
type PartitionMemberMembership ¶
type PartitionMemberMembership string
PartitionMemberMembership defines model for PartitionMember.Membership.
const ( PartitionMemberMembershipFull PartitionMemberMembership = "full" PartitionMemberMembershipLimited PartitionMemberMembership = "limited" )
Defines values for PartitionMemberMembership.
func (PartitionMemberMembership) Valid ¶
func (e PartitionMemberMembership) Valid() bool
Valid indicates whether the value is a known member of the PartitionMemberMembership enum.
type PartitionMembersAdd ¶
type PartitionMembersAdd struct {
Index0 *bool `json:"index0,omitempty"`
IpOverIb *bool `json:"ip_over_ib,omitempty"`
Members []PartitionMemberInput `json:"members"`
}
PartitionMembersAdd defines model for PartitionMembersAdd.
type PartitionQoS ¶
type PartitionQoS struct {
// MtuLimit MTU limit: 2 = 2048, 4 = 4096.
MtuLimit *PartitionQoSMtuLimit `json:"mtu_limit,omitempty"`
// RateLimit Rate limit (predefined values).
RateLimit *float32 `json:"rate_limit,omitempty"`
ServiceLevel *int `json:"service_level,omitempty"`
}
PartitionQoS defines model for PartitionQoS.
type PartitionQoSMtuLimit ¶
type PartitionQoSMtuLimit int
PartitionQoSMtuLimit MTU limit: 2 = 2048, 4 = 4096.
const ( N2 PartitionQoSMtuLimit = 2 N4 PartitionQoSMtuLimit = 4 )
Defines values for PartitionQoSMtuLimit.
func (PartitionQoSMtuLimit) Valid ¶
func (e PartitionQoSMtuLimit) Valid() bool
Valid indicates whether the value is a known member of the PartitionQoSMtuLimit enum.
type PartitionReplace ¶
type PartitionReplace struct {
Index0 *bool `json:"index0,omitempty"`
IpOverIb *bool `json:"ip_over_ib,omitempty"`
Members []PartitionMemberInput `json:"members"`
Name *string `json:"name,omitempty"`
Qos *PartitionQoS `json:"qos,omitempty"`
}
PartitionReplace defines model for PartitionReplace.
type Port ¶
type Port struct {
// CableInfo Present only when `include=cable_info`.
CableInfo *map[string]interface{} `json:"cable_info,omitempty"`
External *bool `json:"external,omitempty"`
Guid *string `json:"guid,omitempty"`
LogicalPortState *string `json:"logical_port_state,omitempty"`
Name *string `json:"name,omitempty"`
PhysicalPortNumber *int `json:"physical_port_number,omitempty"`
PhysicalPortState *string `json:"physical_port_state,omitempty"`
Speed *string `json:"speed,omitempty"`
SystemGuid *string `json:"system_guid,omitempty"`
SystemName *string `json:"system_name,omitempty"`
Width *string `json:"width,omitempty"`
}
Port defines model for Port.
type PortList ¶
type PortList struct {
Items *[]Port `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
PortList defines model for PortList.
type ProvisioningTemplate ¶
type ProvisioningTemplate struct {
// Content Template command sequence.
Content *[]map[string]interface{} `json:"content,omitempty"`
Description *string `json:"description,omitempty"`
Owner *string `json:"owner,omitempty"`
SystemType *string `json:"system_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Title *string `json:"title,omitempty"`
}
ProvisioningTemplate defines model for ProvisioningTemplate.
type ProvisioningTemplateCreate ¶
type ProvisioningTemplateCreate struct {
Content []map[string]interface{} `json:"content"`
Description *string `json:"description,omitempty"`
SystemType string `json:"system_type"`
Title string `json:"title"`
}
ProvisioningTemplateCreate defines model for ProvisioningTemplateCreate.
type RebootSystemJSONBody ¶
type RebootSystemJSONBody struct {
// InBand Use in-band reboot for unmanaged switches.
InBand *bool `json:"in_band,omitempty"`
}
RebootSystemJSONBody defines parameters for RebootSystem.
type RebootSystemJSONRequestBody ¶
type RebootSystemJSONRequestBody RebootSystemJSONBody
RebootSystemJSONRequestBody defines body for RebootSystem for application/json ContentType.
type RemovePartitionHostsJSONBody ¶
type RemovePartitionHostsJSONBody struct {
// Hosts Hostnames to remove.
Hosts []string `json:"hosts"`
}
RemovePartitionHostsJSONBody defines parameters for RemovePartitionHosts.
type RemovePartitionHostsJSONRequestBody ¶
type RemovePartitionHostsJSONRequestBody RemovePartitionHostsJSONBody
RemovePartitionHostsJSONRequestBody defines body for RemovePartitionHosts for application/json ContentType.
type RemovePartitionMembersJSONBody ¶
type RemovePartitionMembersJSONBody struct {
// Guids GUIDs to remove.
Guids []string `json:"guids"`
}
RemovePartitionMembersJSONBody defines parameters for RemovePartitionMembers.
type RemovePartitionMembersJSONRequestBody ¶
type RemovePartitionMembersJSONRequestBody RemovePartitionMembersJSONBody
RemovePartitionMembersJSONRequestBody defines body for RemovePartitionMembers for application/json ContentType.
type ReplacePartitionJSONRequestBody ¶
type ReplacePartitionJSONRequestBody = PartitionReplace
ReplacePartitionJSONRequestBody defines body for ReplacePartition for application/json ContentType.
type ReportCreate ¶
type ReportCreate struct {
// Parameters Report-specific configuration parameters.
Parameters *map[string]interface{} `json:"parameters,omitempty"`
Type ReportCreateType `json:"type"`
}
ReportCreate defines model for ReportCreate.
type ReportCreateType ¶
type ReportCreateType string
ReportCreateType defines model for ReportCreate.Type.
const ( FabricHealth ReportCreateType = "Fabric_Health" TopologyCompare ReportCreateType = "Topology_Compare" UFMHealth ReportCreateType = "UFM_Health" )
Defines values for ReportCreateType.
func (ReportCreateType) Valid ¶
func (e ReportCreateType) Valid() bool
Valid indicates whether the value is a known member of the ReportCreateType enum.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements ServerInterface by delegating to a raw UFM client.
func (*Server) AddPartitionHosts ¶
func (*Server) AddPartitionMembers ¶
func (*Server) AssignComputes ¶
func (*Server) CollectSystemDump ¶
func (*Server) CreateLocalNetwork ¶
func (*Server) CreateLogicalServer ¶
func (*Server) CreateMirroringTemplate ¶
func (*Server) CreateMonitoringSession ¶
func (*Server) CreateMonitoringSnapshot ¶
func (*Server) CreateMonitoringTemplate ¶
func (*Server) DeleteCableImage ¶
func (*Server) DeleteEnvironment ¶
func (*Server) DeleteGlobalNetwork ¶
func (*Server) DeleteLogicalServer ¶
func (*Server) DeleteMirroringTemplate ¶
func (*Server) DeleteMonitoringSession ¶
func (*Server) DeleteMonitoringTemplate ¶
func (*Server) DeletePartition ¶
func (*Server) DeleteReport ¶
func (*Server) DeleteTemplate ¶
func (*Server) ExecuteMirroringAction ¶
func (*Server) ExecuteTemplate ¶
func (*Server) FreeComputes ¶
func (*Server) GetEnvironment ¶
func (*Server) GetGlobalNetwork ¶
func (*Server) GetHistoryTelemetry ¶
func (s *Server) GetHistoryTelemetry(ctx echo.Context, params GetHistoryTelemetryParams) error
func (*Server) GetInventorySummary ¶
func (s *Server) GetInventorySummary(ctx echo.Context, params GetInventorySummaryParams) error
func (*Server) GetLatestReport ¶
func (*Server) GetLogicalServer ¶
func (*Server) GetMirroringTemplate ¶
func (*Server) GetMonitoringSession ¶
func (*Server) GetMonitoringSessionData ¶
func (*Server) GetMonitoringTemplate ¶
func (*Server) GetPartition ¶
func (*Server) GetPartitionLastUpdated ¶
func (*Server) GetPerformanceCounters ¶
func (*Server) GetTemplate ¶
func (*Server) GetTopTelemetry ¶
func (s *Server) GetTopTelemetry(ctx echo.Context, params GetTopTelemetryParams) error
func (*Server) ListComputes ¶
func (*Server) ListEnvironments ¶
func (s *Server) ListEnvironments(ctx echo.Context, params ListEnvironmentsParams) error
func (*Server) ListFabricValidationTests ¶
func (*Server) ListLinks ¶
func (s *Server) ListLinks(ctx echo.Context, params ListLinksParams) error
func (*Server) ListLocalNetworks ¶
func (*Server) ListLogicalServers ¶
func (*Server) ListMonitoringAttributes ¶
func (*Server) ListMonitoringTemplates ¶
func (*Server) ListPartitionMembers ¶
func (*Server) ListPartitions ¶
func (s *Server) ListPartitions(ctx echo.Context, params ListPartitionsParams) error
func (*Server) ListPorts ¶
func (s *Server) ListPorts(ctx echo.Context, params ListPortsParams) error
func (*Server) ListSystems ¶
func (s *Server) ListSystems(ctx echo.Context, params ListSystemsParams) error
func (*Server) ListTemplates ¶
func (s *Server) ListTemplates(ctx echo.Context, params ListTemplatesParams) error
func (*Server) ListVirtualPorts ¶
func (s *Server) ListVirtualPorts(ctx echo.Context, params ListVirtualPortsParams) error
func (*Server) RebootSystem ¶
func (*Server) RefreshFabricDiscovery ¶
func (*Server) RemovePartitionHosts ¶
func (*Server) RemovePartitionMembers ¶
func (*Server) ReplacePartition ¶
func (*Server) RunFabricValidationTest ¶
func (*Server) SetSystemHealth ¶
func (*Server) UpdateEnvironment ¶
func (*Server) UpdateGlobalNetwork ¶
func (*Server) UpdateMirroringTemplate ¶
func (*Server) UpdateMonitoringTemplate ¶
func (*Server) UpdatePartitionQoS ¶
func (*Server) UpdatePartitionSHARP ¶
func (*Server) UpdateSystem ¶
func (*Server) UpgradeSystemFirmware ¶
func (*Server) UpgradeSystemSoftware ¶
type ServerInterface ¶
type ServerInterface interface {
// List available cable transceiver images
// (GET /cable-images)
ListCableImages(ctx echo.Context) error
// Upload a cable transceiver image
// (POST /cable-images)
UploadCableImage(ctx echo.Context) error
// Delete a cable transceiver image
// (DELETE /cable-images/{image_name})
DeleteCableImage(ctx echo.Context, imageName string) error
// Get UFM configuration
// (GET /config)
GetConfig(ctx echo.Context) error
// Update UFM configuration
// (PATCH /config)
UpdateConfig(ctx echo.Context) error
// Configure external storage for system dumps
// (PUT /config/dump-storage)
ConfigureDumpStorage(ctx echo.Context) error
// Get fabric inventory summary
// (GET /discovery/inventory)
GetInventorySummary(ctx echo.Context, params GetInventorySummaryParams) error
// Get inventory component counts
// (GET /discovery/inventory/count)
GetInventoryCount(ctx echo.Context) error
// Trigger fabric discovery refresh
// (POST /discovery/refresh)
RefreshFabricDiscovery(ctx echo.Context) error
// List all environments
// (GET /environments)
ListEnvironments(ctx echo.Context, params ListEnvironmentsParams) error
// Create an environment
// (POST /environments)
CreateEnvironment(ctx echo.Context) error
// Delete an environment
// (DELETE /environments/{env_name})
DeleteEnvironment(ctx echo.Context, envName string) error
// Get an environment
// (GET /environments/{env_name})
GetEnvironment(ctx echo.Context, envName string) error
// Update an environment
// (PUT /environments/{env_name})
UpdateEnvironment(ctx echo.Context, envName string) error
// List local networks in an environment
// (GET /environments/{env_name}/networks)
ListLocalNetworks(ctx echo.Context, envName string) error
// Create a local network in an environment
// (POST /environments/{env_name}/networks)
CreateLocalNetwork(ctx echo.Context, envName string) error
// List logical servers in an environment
// (GET /environments/{env_name}/servers)
ListLogicalServers(ctx echo.Context, envName string) error
// Create a logical server
// (POST /environments/{env_name}/servers)
CreateLogicalServer(ctx echo.Context, envName string) error
// Delete a logical server
// (DELETE /environments/{env_name}/servers/{server_name})
DeleteLogicalServer(ctx echo.Context, envName string, serverName string) error
// Get a logical server
// (GET /environments/{env_name}/servers/{server_name})
GetLogicalServer(ctx echo.Context, envName string, serverName string) error
// Deallocate computes from a logical server
// (DELETE /environments/{env_name}/servers/{server_name}/computes)
FreeComputes(ctx echo.Context, envName string, serverName string) error
// List computes assigned to a logical server
// (GET /environments/{env_name}/servers/{server_name}/computes)
ListComputes(ctx echo.Context, envName string, serverName string) error
// Assign computes to a logical server
// (PUT /environments/{env_name}/servers/{server_name}/computes)
AssignComputes(ctx echo.Context, envName string, serverName string) error
// List available fabric validation tests
// (GET /fabric-validations)
ListFabricValidationTests(ctx echo.Context) error
// Run a fabric validation test
// (POST /fabric-validations/{test_name})
RunFabricValidationTest(ctx echo.Context, testName string) error
// Abort all active jobs
// (DELETE /jobs)
AbortAllJobs(ctx echo.Context) error
// List jobs
// (GET /jobs)
ListJobs(ctx echo.Context, params ListJobsParams) error
// Delete a job record
// (DELETE /jobs/{job_id})
DeleteJob(ctx echo.Context, jobId string) error
// Get a job
// (GET /jobs/{job_id})
GetJob(ctx echo.Context, jobId string, params GetJobParams) error
// Abort a running job
// (POST /jobs/{job_id}/abort)
AbortJob(ctx echo.Context, jobId string) error
// List fabric links
// (GET /links)
ListLinks(ctx echo.Context, params ListLinksParams) error
// Collect system dump from link endpoints
// (POST /links/dump)
CollectLinkDump(ctx echo.Context) error
// Create a mirroring template
// (POST /mirroring)
CreateMirroringTemplate(ctx echo.Context) error
// Enable or disable mirroring on a port
// (POST /mirroring/actions)
ExecuteMirroringAction(ctx echo.Context) error
// Delete a mirroring template
// (DELETE /mirroring/{system_id})
DeleteMirroringTemplate(ctx echo.Context, systemId string) error
// Get a mirroring template
// (GET /mirroring/{system_id})
GetMirroringTemplate(ctx echo.Context, systemId string) error
// Update a mirroring template
// (PUT /mirroring/{system_id})
UpdateMirroringTemplate(ctx echo.Context, systemId string) error
// List available counters, classes, and functions
// (GET /monitoring/attributes)
ListMonitoringAttributes(ctx echo.Context) error
// Get traffic and congestion information by tier
// (GET /monitoring/congestion)
GetCongestionMap(ctx echo.Context) error
// Extract performance counters for specified hosts
// (POST /monitoring/counters)
GetPerformanceCounters(ctx echo.Context) error
// Get port group traffic and congestion metrics
// (GET /monitoring/port-groups)
GetPortGroupMetrics(ctx echo.Context) error
// Create and start a monitoring session
// (POST /monitoring/sessions)
CreateMonitoringSession(ctx echo.Context) error
// Stop and remove a monitoring session
// (DELETE /monitoring/sessions/{session_id})
DeleteMonitoringSession(ctx echo.Context, sessionId string) error
// Get monitoring session configuration
// (GET /monitoring/sessions/{session_id})
GetMonitoringSession(ctx echo.Context, sessionId string) error
// Get monitoring session metrics
// (GET /monitoring/sessions/{session_id}/data)
GetMonitoringSessionData(ctx echo.Context, sessionId string, params GetMonitoringSessionDataParams) error
// Create a one-time monitoring snapshot
// (POST /monitoring/snapshots)
CreateMonitoringSnapshot(ctx echo.Context) error
// List monitoring templates
// (GET /monitoring/templates)
ListMonitoringTemplates(ctx echo.Context) error
// Create a monitoring template
// (POST /monitoring/templates)
CreateMonitoringTemplate(ctx echo.Context) error
// Delete a monitoring template
// (DELETE /monitoring/templates/{template_name})
DeleteMonitoringTemplate(ctx echo.Context, templateName string) error
// Get a monitoring template
// (GET /monitoring/templates/{template_name})
GetMonitoringTemplate(ctx echo.Context, templateName string) error
// Update a monitoring template
// (PUT /monitoring/templates/{template_name})
UpdateMonitoringTemplate(ctx echo.Context, templateName string) error
// List all global networks
// (GET /networks)
ListGlobalNetworks(ctx echo.Context) error
// Create a global network
// (POST /networks)
CreateGlobalNetwork(ctx echo.Context) error
// Delete a global network
// (DELETE /networks/{network_name})
DeleteGlobalNetwork(ctx echo.Context, networkName string) error
// Get a global network
// (GET /networks/{network_name})
GetGlobalNetwork(ctx echo.Context, networkName string) error
// Update a global network
// (PUT /networks/{network_name})
UpdateGlobalNetwork(ctx echo.Context, networkName string) error
// List all partitions
// (GET /partitions)
ListPartitions(ctx echo.Context, params ListPartitionsParams) error
// Create a partition
// (POST /partitions)
CreatePartition(ctx echo.Context) error
// Delete a partition
// (DELETE /partitions/{pkey})
DeletePartition(ctx echo.Context, pkey Pkey) error
// Get a partition
// (GET /partitions/{pkey})
GetPartition(ctx echo.Context, pkey Pkey, params GetPartitionParams) error
// Replace a partition's configuration
// (PUT /partitions/{pkey})
ReplacePartition(ctx echo.Context, pkey Pkey) error
// Remove hosts from a partition
// (DELETE /partitions/{pkey}/hosts)
RemovePartitionHosts(ctx echo.Context, pkey Pkey) error
// Add hosts to a partition
// (POST /partitions/{pkey}/hosts)
AddPartitionHosts(ctx echo.Context, pkey Pkey) error
// Get partition last-updated timestamp
// (GET /partitions/{pkey}/last-updated)
GetPartitionLastUpdated(ctx echo.Context, pkey Pkey) error
// Remove GUIDs from a partition
// (DELETE /partitions/{pkey}/members)
RemovePartitionMembers(ctx echo.Context, pkey Pkey) error
// List GUID members of a partition
// (GET /partitions/{pkey}/members)
ListPartitionMembers(ctx echo.Context, pkey Pkey, params ListPartitionMembersParams) error
// Add GUIDs to a partition
// (POST /partitions/{pkey}/members)
AddPartitionMembers(ctx echo.Context, pkey Pkey) error
// Update partition QoS settings
// (PUT /partitions/{pkey}/qos)
UpdatePartitionQoS(ctx echo.Context, pkey Pkey) error
// Enable or disable SHARP reservation
// (PUT /partitions/{pkey}/sharp)
UpdatePartitionSHARP(ctx echo.Context, pkey Pkey) error
// List fabric ports
// (GET /ports)
ListPorts(ctx echo.Context, params ListPortsParams) error
// Get a port
// (GET /ports/{port_name})
GetPort(ctx echo.Context, portName string) error
// Disable a port
// (POST /ports/{port_name}/disable)
DisablePort(ctx echo.Context, portName string) error
// Enable a port
// (POST /ports/{port_name}/enable)
EnablePort(ctx echo.Context, portName string) error
// Reset a port
// (POST /ports/{port_name}/reset)
ResetPort(ctx echo.Context, portName string) error
// Create a fabric or UFM health report
// (POST /reports)
CreateReport(ctx echo.Context) error
// Get the latest report of a given type
// (GET /reports/latest/{report_type})
GetLatestReport(ctx echo.Context, reportType string) error
// Delete a report
// (DELETE /reports/{report_id})
DeleteReport(ctx echo.Context, reportId string) error
// Get a report
// (GET /reports/{report_id})
GetReport(ctx echo.Context, reportId string) error
// List all fabric systems
// (GET /systems)
ListSystems(ctx echo.Context, params ListSystemsParams) error
// Get power consumption for all managed switches
// (GET /systems/power)
ListSystemsPower(ctx echo.Context) error
// Get a system
// (GET /systems/{system_id})
GetSystem(ctx echo.Context, systemId string, params GetSystemParams) error
// Update system properties
// (PATCH /systems/{system_id})
UpdateSystem(ctx echo.Context, systemId string) error
// Collect system dump
// (POST /systems/{system_id}/dump)
CollectSystemDump(ctx echo.Context, systemId string) error
// Upgrade system firmware
// (POST /systems/{system_id}/firmware)
UpgradeSystemFirmware(ctx echo.Context, systemId string) error
// Mark system healthy or unhealthy
// (PUT /systems/{system_id}/health)
SetSystemHealth(ctx echo.Context, systemId string) error
// Reboot a system
// (POST /systems/{system_id}/reboot)
RebootSystem(ctx echo.Context, systemId string) error
// Upgrade system software
// (POST /systems/{system_id}/software)
UpgradeSystemSoftware(ctx echo.Context, systemId string) error
// Get historical telemetry data
// (GET /telemetry/history)
GetHistoryTelemetry(ctx echo.Context, params GetHistoryTelemetryParams) error
// Get Top-X telemetry data
// (GET /telemetry/top)
GetTopTelemetry(ctx echo.Context, params GetTopTelemetryParams) error
// List provisioning templates
// (GET /templates)
ListTemplates(ctx echo.Context, params ListTemplatesParams) error
// Create a provisioning template
// (POST /templates)
CreateTemplate(ctx echo.Context) error
// Refresh the templates list
// (POST /templates/refresh)
RefreshTemplates(ctx echo.Context) error
// Delete a provisioning template
// (DELETE /templates/{template_name})
DeleteTemplate(ctx echo.Context, templateName string) error
// Get a provisioning template
// (GET /templates/{template_name})
GetTemplate(ctx echo.Context, templateName string) error
// Execute a provisioning template on systems
// (POST /templates/{template_name}/execute)
ExecuteTemplate(ctx echo.Context, templateName string) error
// Generate an API access token
// (POST /tokens)
CreateToken(ctx echo.Context) error
// Get UFM version information
// (GET /version)
GetVersion(ctx echo.Context) error
// List all virtual ports
// (GET /virtual-ports)
ListVirtualPorts(ctx echo.Context, params ListVirtualPortsParams) error
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) AbortAllJobs ¶
func (w *ServerInterfaceWrapper) AbortAllJobs(ctx echo.Context) error
AbortAllJobs converts echo context to params.
func (*ServerInterfaceWrapper) AbortJob ¶
func (w *ServerInterfaceWrapper) AbortJob(ctx echo.Context) error
AbortJob converts echo context to params.
func (*ServerInterfaceWrapper) AddPartitionHosts ¶
func (w *ServerInterfaceWrapper) AddPartitionHosts(ctx echo.Context) error
AddPartitionHosts converts echo context to params.
func (*ServerInterfaceWrapper) AddPartitionMembers ¶
func (w *ServerInterfaceWrapper) AddPartitionMembers(ctx echo.Context) error
AddPartitionMembers converts echo context to params.
func (*ServerInterfaceWrapper) AssignComputes ¶
func (w *ServerInterfaceWrapper) AssignComputes(ctx echo.Context) error
AssignComputes converts echo context to params.
func (*ServerInterfaceWrapper) CollectLinkDump ¶
func (w *ServerInterfaceWrapper) CollectLinkDump(ctx echo.Context) error
CollectLinkDump converts echo context to params.
func (*ServerInterfaceWrapper) CollectSystemDump ¶
func (w *ServerInterfaceWrapper) CollectSystemDump(ctx echo.Context) error
CollectSystemDump converts echo context to params.
func (*ServerInterfaceWrapper) ConfigureDumpStorage ¶
func (w *ServerInterfaceWrapper) ConfigureDumpStorage(ctx echo.Context) error
ConfigureDumpStorage converts echo context to params.
func (*ServerInterfaceWrapper) CreateEnvironment ¶
func (w *ServerInterfaceWrapper) CreateEnvironment(ctx echo.Context) error
CreateEnvironment converts echo context to params.
func (*ServerInterfaceWrapper) CreateGlobalNetwork ¶
func (w *ServerInterfaceWrapper) CreateGlobalNetwork(ctx echo.Context) error
CreateGlobalNetwork converts echo context to params.
func (*ServerInterfaceWrapper) CreateLocalNetwork ¶
func (w *ServerInterfaceWrapper) CreateLocalNetwork(ctx echo.Context) error
CreateLocalNetwork converts echo context to params.
func (*ServerInterfaceWrapper) CreateLogicalServer ¶
func (w *ServerInterfaceWrapper) CreateLogicalServer(ctx echo.Context) error
CreateLogicalServer converts echo context to params.
func (*ServerInterfaceWrapper) CreateMirroringTemplate ¶
func (w *ServerInterfaceWrapper) CreateMirroringTemplate(ctx echo.Context) error
CreateMirroringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) CreateMonitoringSession ¶
func (w *ServerInterfaceWrapper) CreateMonitoringSession(ctx echo.Context) error
CreateMonitoringSession converts echo context to params.
func (*ServerInterfaceWrapper) CreateMonitoringSnapshot ¶
func (w *ServerInterfaceWrapper) CreateMonitoringSnapshot(ctx echo.Context) error
CreateMonitoringSnapshot converts echo context to params.
func (*ServerInterfaceWrapper) CreateMonitoringTemplate ¶
func (w *ServerInterfaceWrapper) CreateMonitoringTemplate(ctx echo.Context) error
CreateMonitoringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) CreatePartition ¶
func (w *ServerInterfaceWrapper) CreatePartition(ctx echo.Context) error
CreatePartition converts echo context to params.
func (*ServerInterfaceWrapper) CreateReport ¶
func (w *ServerInterfaceWrapper) CreateReport(ctx echo.Context) error
CreateReport converts echo context to params.
func (*ServerInterfaceWrapper) CreateTemplate ¶
func (w *ServerInterfaceWrapper) CreateTemplate(ctx echo.Context) error
CreateTemplate converts echo context to params.
func (*ServerInterfaceWrapper) CreateToken ¶
func (w *ServerInterfaceWrapper) CreateToken(ctx echo.Context) error
CreateToken converts echo context to params.
func (*ServerInterfaceWrapper) DeleteCableImage ¶
func (w *ServerInterfaceWrapper) DeleteCableImage(ctx echo.Context) error
DeleteCableImage converts echo context to params.
func (*ServerInterfaceWrapper) DeleteEnvironment ¶
func (w *ServerInterfaceWrapper) DeleteEnvironment(ctx echo.Context) error
DeleteEnvironment converts echo context to params.
func (*ServerInterfaceWrapper) DeleteGlobalNetwork ¶
func (w *ServerInterfaceWrapper) DeleteGlobalNetwork(ctx echo.Context) error
DeleteGlobalNetwork converts echo context to params.
func (*ServerInterfaceWrapper) DeleteJob ¶
func (w *ServerInterfaceWrapper) DeleteJob(ctx echo.Context) error
DeleteJob converts echo context to params.
func (*ServerInterfaceWrapper) DeleteLogicalServer ¶
func (w *ServerInterfaceWrapper) DeleteLogicalServer(ctx echo.Context) error
DeleteLogicalServer converts echo context to params.
func (*ServerInterfaceWrapper) DeleteMirroringTemplate ¶
func (w *ServerInterfaceWrapper) DeleteMirroringTemplate(ctx echo.Context) error
DeleteMirroringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) DeleteMonitoringSession ¶
func (w *ServerInterfaceWrapper) DeleteMonitoringSession(ctx echo.Context) error
DeleteMonitoringSession converts echo context to params.
func (*ServerInterfaceWrapper) DeleteMonitoringTemplate ¶
func (w *ServerInterfaceWrapper) DeleteMonitoringTemplate(ctx echo.Context) error
DeleteMonitoringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) DeletePartition ¶
func (w *ServerInterfaceWrapper) DeletePartition(ctx echo.Context) error
DeletePartition converts echo context to params.
func (*ServerInterfaceWrapper) DeleteReport ¶
func (w *ServerInterfaceWrapper) DeleteReport(ctx echo.Context) error
DeleteReport converts echo context to params.
func (*ServerInterfaceWrapper) DeleteTemplate ¶
func (w *ServerInterfaceWrapper) DeleteTemplate(ctx echo.Context) error
DeleteTemplate converts echo context to params.
func (*ServerInterfaceWrapper) DisablePort ¶
func (w *ServerInterfaceWrapper) DisablePort(ctx echo.Context) error
DisablePort converts echo context to params.
func (*ServerInterfaceWrapper) EnablePort ¶
func (w *ServerInterfaceWrapper) EnablePort(ctx echo.Context) error
EnablePort converts echo context to params.
func (*ServerInterfaceWrapper) ExecuteMirroringAction ¶
func (w *ServerInterfaceWrapper) ExecuteMirroringAction(ctx echo.Context) error
ExecuteMirroringAction converts echo context to params.
func (*ServerInterfaceWrapper) ExecuteTemplate ¶
func (w *ServerInterfaceWrapper) ExecuteTemplate(ctx echo.Context) error
ExecuteTemplate converts echo context to params.
func (*ServerInterfaceWrapper) FreeComputes ¶
func (w *ServerInterfaceWrapper) FreeComputes(ctx echo.Context) error
FreeComputes converts echo context to params.
func (*ServerInterfaceWrapper) GetConfig ¶
func (w *ServerInterfaceWrapper) GetConfig(ctx echo.Context) error
GetConfig converts echo context to params.
func (*ServerInterfaceWrapper) GetCongestionMap ¶
func (w *ServerInterfaceWrapper) GetCongestionMap(ctx echo.Context) error
GetCongestionMap converts echo context to params.
func (*ServerInterfaceWrapper) GetEnvironment ¶
func (w *ServerInterfaceWrapper) GetEnvironment(ctx echo.Context) error
GetEnvironment converts echo context to params.
func (*ServerInterfaceWrapper) GetGlobalNetwork ¶
func (w *ServerInterfaceWrapper) GetGlobalNetwork(ctx echo.Context) error
GetGlobalNetwork converts echo context to params.
func (*ServerInterfaceWrapper) GetHistoryTelemetry ¶
func (w *ServerInterfaceWrapper) GetHistoryTelemetry(ctx echo.Context) error
GetHistoryTelemetry converts echo context to params.
func (*ServerInterfaceWrapper) GetInventoryCount ¶
func (w *ServerInterfaceWrapper) GetInventoryCount(ctx echo.Context) error
GetInventoryCount converts echo context to params.
func (*ServerInterfaceWrapper) GetInventorySummary ¶
func (w *ServerInterfaceWrapper) GetInventorySummary(ctx echo.Context) error
GetInventorySummary converts echo context to params.
func (*ServerInterfaceWrapper) GetJob ¶
func (w *ServerInterfaceWrapper) GetJob(ctx echo.Context) error
GetJob converts echo context to params.
func (*ServerInterfaceWrapper) GetLatestReport ¶
func (w *ServerInterfaceWrapper) GetLatestReport(ctx echo.Context) error
GetLatestReport converts echo context to params.
func (*ServerInterfaceWrapper) GetLogicalServer ¶
func (w *ServerInterfaceWrapper) GetLogicalServer(ctx echo.Context) error
GetLogicalServer converts echo context to params.
func (*ServerInterfaceWrapper) GetMirroringTemplate ¶
func (w *ServerInterfaceWrapper) GetMirroringTemplate(ctx echo.Context) error
GetMirroringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) GetMonitoringSession ¶
func (w *ServerInterfaceWrapper) GetMonitoringSession(ctx echo.Context) error
GetMonitoringSession converts echo context to params.
func (*ServerInterfaceWrapper) GetMonitoringSessionData ¶
func (w *ServerInterfaceWrapper) GetMonitoringSessionData(ctx echo.Context) error
GetMonitoringSessionData converts echo context to params.
func (*ServerInterfaceWrapper) GetMonitoringTemplate ¶
func (w *ServerInterfaceWrapper) GetMonitoringTemplate(ctx echo.Context) error
GetMonitoringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) GetPartition ¶
func (w *ServerInterfaceWrapper) GetPartition(ctx echo.Context) error
GetPartition converts echo context to params.
func (*ServerInterfaceWrapper) GetPartitionLastUpdated ¶
func (w *ServerInterfaceWrapper) GetPartitionLastUpdated(ctx echo.Context) error
GetPartitionLastUpdated converts echo context to params.
func (*ServerInterfaceWrapper) GetPerformanceCounters ¶
func (w *ServerInterfaceWrapper) GetPerformanceCounters(ctx echo.Context) error
GetPerformanceCounters converts echo context to params.
func (*ServerInterfaceWrapper) GetPort ¶
func (w *ServerInterfaceWrapper) GetPort(ctx echo.Context) error
GetPort converts echo context to params.
func (*ServerInterfaceWrapper) GetPortGroupMetrics ¶
func (w *ServerInterfaceWrapper) GetPortGroupMetrics(ctx echo.Context) error
GetPortGroupMetrics converts echo context to params.
func (*ServerInterfaceWrapper) GetReport ¶
func (w *ServerInterfaceWrapper) GetReport(ctx echo.Context) error
GetReport converts echo context to params.
func (*ServerInterfaceWrapper) GetSystem ¶
func (w *ServerInterfaceWrapper) GetSystem(ctx echo.Context) error
GetSystem converts echo context to params.
func (*ServerInterfaceWrapper) GetTemplate ¶
func (w *ServerInterfaceWrapper) GetTemplate(ctx echo.Context) error
GetTemplate converts echo context to params.
func (*ServerInterfaceWrapper) GetTopTelemetry ¶
func (w *ServerInterfaceWrapper) GetTopTelemetry(ctx echo.Context) error
GetTopTelemetry converts echo context to params.
func (*ServerInterfaceWrapper) GetVersion ¶
func (w *ServerInterfaceWrapper) GetVersion(ctx echo.Context) error
GetVersion converts echo context to params.
func (*ServerInterfaceWrapper) ListCableImages ¶
func (w *ServerInterfaceWrapper) ListCableImages(ctx echo.Context) error
ListCableImages converts echo context to params.
func (*ServerInterfaceWrapper) ListComputes ¶
func (w *ServerInterfaceWrapper) ListComputes(ctx echo.Context) error
ListComputes converts echo context to params.
func (*ServerInterfaceWrapper) ListEnvironments ¶
func (w *ServerInterfaceWrapper) ListEnvironments(ctx echo.Context) error
ListEnvironments converts echo context to params.
func (*ServerInterfaceWrapper) ListFabricValidationTests ¶
func (w *ServerInterfaceWrapper) ListFabricValidationTests(ctx echo.Context) error
ListFabricValidationTests converts echo context to params.
func (*ServerInterfaceWrapper) ListGlobalNetworks ¶
func (w *ServerInterfaceWrapper) ListGlobalNetworks(ctx echo.Context) error
ListGlobalNetworks converts echo context to params.
func (*ServerInterfaceWrapper) ListJobs ¶
func (w *ServerInterfaceWrapper) ListJobs(ctx echo.Context) error
ListJobs converts echo context to params.
func (*ServerInterfaceWrapper) ListLinks ¶
func (w *ServerInterfaceWrapper) ListLinks(ctx echo.Context) error
ListLinks converts echo context to params.
func (*ServerInterfaceWrapper) ListLocalNetworks ¶
func (w *ServerInterfaceWrapper) ListLocalNetworks(ctx echo.Context) error
ListLocalNetworks converts echo context to params.
func (*ServerInterfaceWrapper) ListLogicalServers ¶
func (w *ServerInterfaceWrapper) ListLogicalServers(ctx echo.Context) error
ListLogicalServers converts echo context to params.
func (*ServerInterfaceWrapper) ListMonitoringAttributes ¶
func (w *ServerInterfaceWrapper) ListMonitoringAttributes(ctx echo.Context) error
ListMonitoringAttributes converts echo context to params.
func (*ServerInterfaceWrapper) ListMonitoringTemplates ¶
func (w *ServerInterfaceWrapper) ListMonitoringTemplates(ctx echo.Context) error
ListMonitoringTemplates converts echo context to params.
func (*ServerInterfaceWrapper) ListPartitionMembers ¶
func (w *ServerInterfaceWrapper) ListPartitionMembers(ctx echo.Context) error
ListPartitionMembers converts echo context to params.
func (*ServerInterfaceWrapper) ListPartitions ¶
func (w *ServerInterfaceWrapper) ListPartitions(ctx echo.Context) error
ListPartitions converts echo context to params.
func (*ServerInterfaceWrapper) ListPorts ¶
func (w *ServerInterfaceWrapper) ListPorts(ctx echo.Context) error
ListPorts converts echo context to params.
func (*ServerInterfaceWrapper) ListSystems ¶
func (w *ServerInterfaceWrapper) ListSystems(ctx echo.Context) error
ListSystems converts echo context to params.
func (*ServerInterfaceWrapper) ListSystemsPower ¶
func (w *ServerInterfaceWrapper) ListSystemsPower(ctx echo.Context) error
ListSystemsPower converts echo context to params.
func (*ServerInterfaceWrapper) ListTemplates ¶
func (w *ServerInterfaceWrapper) ListTemplates(ctx echo.Context) error
ListTemplates converts echo context to params.
func (*ServerInterfaceWrapper) ListVirtualPorts ¶
func (w *ServerInterfaceWrapper) ListVirtualPorts(ctx echo.Context) error
ListVirtualPorts converts echo context to params.
func (*ServerInterfaceWrapper) RebootSystem ¶
func (w *ServerInterfaceWrapper) RebootSystem(ctx echo.Context) error
RebootSystem converts echo context to params.
func (*ServerInterfaceWrapper) RefreshFabricDiscovery ¶
func (w *ServerInterfaceWrapper) RefreshFabricDiscovery(ctx echo.Context) error
RefreshFabricDiscovery converts echo context to params.
func (*ServerInterfaceWrapper) RefreshTemplates ¶
func (w *ServerInterfaceWrapper) RefreshTemplates(ctx echo.Context) error
RefreshTemplates converts echo context to params.
func (*ServerInterfaceWrapper) RemovePartitionHosts ¶
func (w *ServerInterfaceWrapper) RemovePartitionHosts(ctx echo.Context) error
RemovePartitionHosts converts echo context to params.
func (*ServerInterfaceWrapper) RemovePartitionMembers ¶
func (w *ServerInterfaceWrapper) RemovePartitionMembers(ctx echo.Context) error
RemovePartitionMembers converts echo context to params.
func (*ServerInterfaceWrapper) ReplacePartition ¶
func (w *ServerInterfaceWrapper) ReplacePartition(ctx echo.Context) error
ReplacePartition converts echo context to params.
func (*ServerInterfaceWrapper) ResetPort ¶
func (w *ServerInterfaceWrapper) ResetPort(ctx echo.Context) error
ResetPort converts echo context to params.
func (*ServerInterfaceWrapper) RunFabricValidationTest ¶
func (w *ServerInterfaceWrapper) RunFabricValidationTest(ctx echo.Context) error
RunFabricValidationTest converts echo context to params.
func (*ServerInterfaceWrapper) SetSystemHealth ¶
func (w *ServerInterfaceWrapper) SetSystemHealth(ctx echo.Context) error
SetSystemHealth converts echo context to params.
func (*ServerInterfaceWrapper) UpdateConfig ¶
func (w *ServerInterfaceWrapper) UpdateConfig(ctx echo.Context) error
UpdateConfig converts echo context to params.
func (*ServerInterfaceWrapper) UpdateEnvironment ¶
func (w *ServerInterfaceWrapper) UpdateEnvironment(ctx echo.Context) error
UpdateEnvironment converts echo context to params.
func (*ServerInterfaceWrapper) UpdateGlobalNetwork ¶
func (w *ServerInterfaceWrapper) UpdateGlobalNetwork(ctx echo.Context) error
UpdateGlobalNetwork converts echo context to params.
func (*ServerInterfaceWrapper) UpdateMirroringTemplate ¶
func (w *ServerInterfaceWrapper) UpdateMirroringTemplate(ctx echo.Context) error
UpdateMirroringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) UpdateMonitoringTemplate ¶
func (w *ServerInterfaceWrapper) UpdateMonitoringTemplate(ctx echo.Context) error
UpdateMonitoringTemplate converts echo context to params.
func (*ServerInterfaceWrapper) UpdatePartitionQoS ¶
func (w *ServerInterfaceWrapper) UpdatePartitionQoS(ctx echo.Context) error
UpdatePartitionQoS converts echo context to params.
func (*ServerInterfaceWrapper) UpdatePartitionSHARP ¶
func (w *ServerInterfaceWrapper) UpdatePartitionSHARP(ctx echo.Context) error
UpdatePartitionSHARP converts echo context to params.
func (*ServerInterfaceWrapper) UpdateSystem ¶
func (w *ServerInterfaceWrapper) UpdateSystem(ctx echo.Context) error
UpdateSystem converts echo context to params.
func (*ServerInterfaceWrapper) UpgradeSystemFirmware ¶
func (w *ServerInterfaceWrapper) UpgradeSystemFirmware(ctx echo.Context) error
UpgradeSystemFirmware converts echo context to params.
func (*ServerInterfaceWrapper) UpgradeSystemSoftware ¶
func (w *ServerInterfaceWrapper) UpgradeSystemSoftware(ctx echo.Context) error
UpgradeSystemSoftware converts echo context to params.
func (*ServerInterfaceWrapper) UploadCableImage ¶
func (w *ServerInterfaceWrapper) UploadCableImage(ctx echo.Context) error
UploadCableImage converts echo context to params.
type SetSystemHealthJSONBody ¶
type SetSystemHealthJSONBody struct {
Healthy bool `json:"healthy"`
// IsolationPolicy Isolation policy when marking unhealthy.
IsolationPolicy *string `json:"isolation_policy,omitempty"`
}
SetSystemHealthJSONBody defines parameters for SetSystemHealth.
type SetSystemHealthJSONRequestBody ¶
type SetSystemHealthJSONRequestBody SetSystemHealthJSONBody
SetSystemHealthJSONRequestBody defines body for SetSystemHealth for application/json ContentType.
type System ¶
type System struct {
Description *string `json:"description,omitempty"`
FirmwareVersion *string `json:"firmware_version,omitempty"`
Guid *string `json:"guid,omitempty"`
Ip *string `json:"ip,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
// Ports Present only when `include=ports`.
Ports *[]Port `json:"ports,omitempty"`
Role *SystemRole `json:"role,omitempty"`
Type *SystemType `json:"type,omitempty"`
Vendor *string `json:"vendor,omitempty"`
}
System defines model for System.
type SystemList ¶
type SystemList struct {
Items *[]System `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
SystemList defines model for SystemList.
type SystemPower ¶
type SystemPower struct {
PowerWatts *float32 `json:"power_watts,omitempty"`
SystemId *string `json:"system_id,omitempty"`
}
SystemPower defines model for SystemPower.
type SystemRole ¶
type SystemRole string
SystemRole defines model for System.Role.
const ( SystemRoleCore SystemRole = "core" SystemRoleEndpoint SystemRole = "endpoint" SystemRoleTor SystemRole = "tor" )
Defines values for SystemRole.
func (SystemRole) Valid ¶
func (e SystemRole) Valid() bool
Valid indicates whether the value is a known member of the SystemRole enum.
type SystemType ¶
type SystemType string
SystemType defines model for System.Type.
const ( SystemTypeGateway SystemType = "gateway" SystemTypeHost SystemType = "host" SystemTypeRouter SystemType = "router" SystemTypeSwitch SystemType = "switch" )
Defines values for SystemType.
func (SystemType) Valid ¶
func (e SystemType) Valid() bool
Valid indicates whether the value is a known member of the SystemType enum.
type SystemUpdate ¶
type SystemUpdate struct {
Ip *string `json:"ip,omitempty"`
Name *string `json:"name,omitempty"`
Script *string `json:"script,omitempty"`
Url *string `json:"url,omitempty"`
}
SystemUpdate defines model for SystemUpdate.
type UFMConfig ¶
type UFMConfig struct {
DefaultSessionInterval *int `json:"default_session_interval,omitempty"`
DisabledFeatures *[]string `json:"disabled_features,omitempty"`
HaMode *string `json:"ha_mode,omitempty"`
IsLocalUser *bool `json:"is_local_user,omitempty"`
SiteName *string `json:"site_name,omitempty"`
}
UFMConfig defines model for UFMConfig.
type UFMVersion ¶
type UFMVersion struct {
IbdiagnetVersion *string `json:"ibdiagnet_version,omitempty"`
MftVersion *string `json:"mft_version,omitempty"`
OpensmVersion *string `json:"opensm_version,omitempty"`
Plugins *map[string]string `json:"plugins,omitempty"`
SharpVersion *string `json:"sharp_version,omitempty"`
TelemetryVersion *string `json:"telemetry_version,omitempty"`
UfmReleaseVersion *string `json:"ufm_release_version,omitempty"`
WebuiVersion *string `json:"webui_version,omitempty"`
}
UFMVersion defines model for UFMVersion.
type UpdateConfigJSONBody ¶
type UpdateConfigJSONBody map[string]interface{}
UpdateConfigJSONBody defines parameters for UpdateConfig.
type UpdateConfigJSONRequestBody ¶
type UpdateConfigJSONRequestBody UpdateConfigJSONBody
UpdateConfigJSONRequestBody defines body for UpdateConfig for application/json ContentType.
type UpdateEnvironmentJSONRequestBody ¶
type UpdateEnvironmentJSONRequestBody = EnvironmentCreate
UpdateEnvironmentJSONRequestBody defines body for UpdateEnvironment for application/json ContentType.
type UpdateGlobalNetworkJSONRequestBody ¶
type UpdateGlobalNetworkJSONRequestBody = NetworkCreate
UpdateGlobalNetworkJSONRequestBody defines body for UpdateGlobalNetwork for application/json ContentType.
type UpdateMirroringTemplateJSONRequestBody ¶
type UpdateMirroringTemplateJSONRequestBody = MirroringTemplate
UpdateMirroringTemplateJSONRequestBody defines body for UpdateMirroringTemplate for application/json ContentType.
type UpdateMonitoringTemplateJSONRequestBody ¶
type UpdateMonitoringTemplateJSONRequestBody = MonitoringTemplate
UpdateMonitoringTemplateJSONRequestBody defines body for UpdateMonitoringTemplate for application/json ContentType.
type UpdatePartitionQoSJSONRequestBody ¶
type UpdatePartitionQoSJSONRequestBody = PartitionQoS
UpdatePartitionQoSJSONRequestBody defines body for UpdatePartitionQoS for application/json ContentType.
type UpdatePartitionSHARPJSONBody ¶
type UpdatePartitionSHARPJSONBody struct {
// Enabled Enable or disable SHARP reservation for this partition.
Enabled bool `json:"enabled"`
}
UpdatePartitionSHARPJSONBody defines parameters for UpdatePartitionSHARP.
type UpdatePartitionSHARPJSONRequestBody ¶
type UpdatePartitionSHARPJSONRequestBody UpdatePartitionSHARPJSONBody
UpdatePartitionSHARPJSONRequestBody defines body for UpdatePartitionSHARP for application/json ContentType.
type UpdateSystemJSONRequestBody ¶
type UpdateSystemJSONRequestBody = SystemUpdate
UpdateSystemJSONRequestBody defines body for UpdateSystem for application/json ContentType.
type UpgradeSystemFirmwareJSONBody ¶
type UpgradeSystemFirmwareJSONBody struct {
// Image Firmware image name.
Image *string `json:"image,omitempty"`
InBand *bool `json:"in_band,omitempty"`
}
UpgradeSystemFirmwareJSONBody defines parameters for UpgradeSystemFirmware.
type UpgradeSystemFirmwareJSONRequestBody ¶
type UpgradeSystemFirmwareJSONRequestBody UpgradeSystemFirmwareJSONBody
UpgradeSystemFirmwareJSONRequestBody defines body for UpgradeSystemFirmware for application/json ContentType.
type UpgradeSystemSoftwareJSONBody ¶
type UpgradeSystemSoftwareJSONBody struct {
// Image Software image name.
Image *string `json:"image,omitempty"`
}
UpgradeSystemSoftwareJSONBody defines parameters for UpgradeSystemSoftware.
type UpgradeSystemSoftwareJSONRequestBody ¶
type UpgradeSystemSoftwareJSONRequestBody UpgradeSystemSoftwareJSONBody
UpgradeSystemSoftwareJSONRequestBody defines body for UpgradeSystemSoftware for application/json ContentType.
type UploadCableImageMultipartBody ¶
type UploadCableImageMultipartBody struct {
File *openapi_types.File `json:"file,omitempty"`
}
UploadCableImageMultipartBody defines parameters for UploadCableImage.
type UploadCableImageMultipartRequestBody ¶
type UploadCableImageMultipartRequestBody UploadCableImageMultipartBody
UploadCableImageMultipartRequestBody defines body for UploadCableImage for multipart/form-data ContentType.
type VirtualPort ¶
type VirtualPort struct {
PhysicalPortNumber *int `json:"physical_port_number,omitempty"`
PortGuid *string `json:"port_guid,omitempty"`
PortName *string `json:"port_name,omitempty"`
SystemGuid *string `json:"system_guid,omitempty"`
SystemIp *string `json:"system_ip,omitempty"`
SystemName *string `json:"system_name,omitempty"`
VirtualPortGuid *string `json:"virtual_port_guid,omitempty"`
VirtualPortLid *int `json:"virtual_port_lid,omitempty"`
VirtualPortState *string `json:"virtual_port_state,omitempty"`
}
VirtualPort defines model for VirtualPort.
type VirtualPortList ¶
type VirtualPortList struct {
Items *[]VirtualPort `json:"items,omitempty"`
PageInfo *PageInfo `json:"page_info,omitempty"`
}
VirtualPortList defines model for VirtualPortList.