Documentation ¶
Index ¶
- type AddressBindingEntry
- type AdvertiseRule
- type AdvertiseRuleList
- type AdvertisementConfig
- type AggregatedDataCounter
- type AggregatedDataCounterEx
- type AggregatedLogicalRouterPortCounters
- type AlgTypeNsService
- type AlgTypeNsServiceEntry
- type AllocationIpAddress
- type AllocationIpAddressListResult
- type AttachmentContext
- type BaseFirewallSection
- type BaseHostSwitchProfile
- type BaseSwitchingProfile
- type BfdConfig
- type BfdConfigParameters
- type BfdDiagnosticCount
- type BfdProperties
- type BfdStatusCount
- type BgpConfig
- type BgpNeighbor
- type BgpNeighborAddressFamily
- type BgpNeighborListResult
- type BgpNeighborStatus
- type BgpNeighborsStatusListResult
- type BgpRouteAggregation
- type BpduFilter
- type BridgeCluster
- type BridgeClusterListResult
- type BridgeClusterNode
- type BridgeClusterStatus
- type BridgeEndpoint
- type BridgeEndpointListResult
- type BridgeEndpointStatistics
- type BridgeEndpointStatus
- type ClasslessStaticRoute
- type ClusterProfile
- type ClusterProfileListResult
- type ClusterProfileTypeIdEntry
- type ClusterRoleConfig
- type ComputeCollection
- type ComputeCollectionFabricTemplate
- type ComputeCollectionFabricTemplateListResult
- type ComputeCollectionListResult
- type ComputeCollectionTransportNodeTemplate
- type ComputeCollectionTransportNodeTemplateState
- type ComputeCollectionTransportNodeTemplateStateList
- type ComputeManager
- type ComputeManagerListResult
- type ComputeManagerStatus
- type ConfigurationState
- type ConfigurationStateElement
- type ControlConnStatus
- type DataCounter
- type DhcpFilter
- type DhcpIpPool
- type DhcpIpPoolListResult
- type DhcpIpPoolUsage
- type DhcpLeasePerIp
- type DhcpLeases
- type DhcpOption121
- type DhcpOptions
- type DhcpProfile
- type DhcpProfileListResult
- type DhcpRelayProfile
- type DhcpRelayProfileListResult
- type DhcpRelayService
- type DhcpRelayServiceListResult
- type DhcpServerStatus
- type DhcpStaticBinding
- type DhcpStaticBindingListResult
- type DhcpStatistics
- type DiscoveredNode
- type DiscoveredNodeListResult
- type DneGlobalConfig
- type DneKeyManager
- type DneKeyManagerListResult
- type DneKeyPolicy
- type DneKeyPolicyListResult
- type DneKeyPolicyStats
- type DneRule
- type DneRuleList
- type DneRuleListResult
- type DneRuleState
- type DneRuleStats
- type DneSection
- type DneSectionListResult
- type DneSectionRuleList
- type DneSectionState
- type DneService
- type Dscp
- type EdgeCluster
- type EdgeClusterListResult
- type EdgeClusterMember
- type EdgeClusterMemberListResult
- type EdgeClusterMemberTransportNode
- type EffectiveIpAddressMemberListResult
- type EffectiveMemberResourceListResult
- type EffectiveMemberTypeListResult
- type Endpoint
- type ErrorInfo
- type EtherTypeNsService
- type EtherTypeNsServiceEntry
- type ExcludeList
- type ExtraConfig
- type Filter
- type FireWallServiceAssociationListResult
- type FirewallRule
- type FirewallRuleList
- type FirewallRuleListResult
- type FirewallSection
- type FirewallSectionListResult
- type FirewallSectionRuleList
- type FirewallSectionState
- type FirewallService
- type FirewallStats
- type FirewallStatus
- type FirewallStatusListResult
- type GenericDhcpOption
- type HaVipConfig
- type HostSwitch
- type HostSwitchProfileTypeIdEntry
- type HostSwitchProfilesListResult
- type HostSwitchSpec
- type HostSwitchState
- type IPv4AddressProperties
- type IPv4DhcpServer
- type IcmpTypeNsService
- type IcmpTypeNsServiceEntry
- type IgmpTypeNsService
- type IgmpTypeNsServiceEntry
- type InterfaceNeighborProperties
- type InterfaceNeighborPropertyListResult
- type IpAddressInfo
- type IpAllocationBase
- type IpAssignmentSpec
- type IpBlock
- type IpBlockListResult
- type IpBlockSubnet
- type IpBlockSubnetListResult
- type IpDiscoverySwitchingProfile
- type IpPool
- type IpPoolListResult
- type IpPoolRange
- type IpPoolSubnet
- type IpPrefixList
- type IpPrefixListListResult
- type IpProtocolNsService
- type IpProtocolNsServiceEntry
- type IpSet
- type IpSetListResult
- type IpSubnet
- type L4PortSetNsService
- type L4PortSetNsServiceEntry
- type Lag
- type LogicalDhcpServer
- type LogicalDhcpServerListResult
- type LogicalPort
- type LogicalPortAttachment
- type LogicalPortListResult
- type LogicalPortMacAddressCsvListResult
- type LogicalPortMacAddressListResult
- type LogicalPortMacTableCsvEntry
- type LogicalPortMacTableEntry
- type LogicalPortMirrorDestination
- type LogicalPortMirrorSource
- type LogicalPortOperationalStatus
- type LogicalPortState
- type LogicalPortStatistics
- type LogicalPortStatusSummary
- type LogicalRouter
- type LogicalRouterCentralizedServicePort
- type LogicalRouterConfig
- type LogicalRouterDownLinkPort
- type LogicalRouterLinkPortOnTier0
- type LogicalRouterLinkPortOnTier1
- type LogicalRouterListResult
- type LogicalRouterLoopbackPort
- type LogicalRouterPort
- type LogicalRouterPortArpCsvRecord
- type LogicalRouterPortArpEntry
- type LogicalRouterPortArpTable
- type LogicalRouterPortArpTableInCsvFormat
- type LogicalRouterPortCounters
- type LogicalRouterPortListResult
- type LogicalRouterPortStatistics
- type LogicalRouterPortStatisticsPerNode
- type LogicalRouterPortStatisticsSummary
- type LogicalRouterRouteCsvRecord
- type LogicalRouterRouteEntry
- type LogicalRouterRouteTable
- type LogicalRouterRouteTableInCsvFormat
- type LogicalRouterStatus
- type LogicalRouterStatusPerNode
- type LogicalRouterUpLinkPort
- type LogicalService
- type LogicalServiceListResult
- type LogicalSwitch
- type LogicalSwitchListResult
- type LogicalSwitchState
- type LogicalSwitchStateListResult
- type LogicalSwitchStatistics
- type LogicalSwitchStatus
- type LogicalSwitchStatusListResult
- type LogicalSwitchStatusSummary
- type LoginCredential
- type MacAddressCsvListResult
- type MacAddressElement
- type MacAddressElementListResult
- type MacAddressListResult
- type MacLearningCounters
- type MacLearningSpec
- type MacManagementSwitchingProfile
- type MacPool
- type MacPoolListResult
- type MacRange
- type MacSet
- type MacSetListResult
- type MacTableCsvRecord
- type MacTableEntry
- type ManagementConfig
- type MetadataProxy
- type MetadataProxyListResult
- type MetadataProxyStatistics
- type MetadataProxyStatisticsPerLogicalSwitch
- type MetadataProxyStatus
- type MirrorDestination
- type MirrorSource
- type MsgClientInfo
- type NatCounters
- type NatRule
- type NatRuleListResult
- type NatStatisticsPerLogicalRouter
- type NatStatisticsPerRule
- type NatStatisticsPerTransportNode
- type NeighborProperties
- type NetworkEncryptionStatus
- type Node
- type NodeCapabilitiesResult
- type NodeCapability
- type NodeFileSystemProperties
- type NodeInterfaceAlias
- type NodeInterfaceProperties
- type NodeInterfacePropertiesListResult
- type NodeInterfaceStatisticsProperties
- type NodeListResult
- type NodeNetworkInterfaceProperties
- type NodeNetworkInterfacePropertiesListResult
- type NodeProperties
- type NodeStatus
- type NodeStatusListResult
- type NodeStatusProperties
- type NodeUserProperties
- type NodeUserPropertiesListResult
- type NodeUserSettings
- type NsGroup
- type NsGroupComplexExpression
- type NsGroupExpression
- type NsGroupExpressionList
- type NsGroupListResult
- type NsGroupSimpleExpression
- type NsGroupSimpleExpressionList
- type NsGroupTagExpression
- type NsGroupTagExpressionList
- type NsService
- type NsServiceElement
- type NsServiceGroup
- type NsServiceGroupListResult
- type NsServiceListResult
- type PacketAddressClassifier
- type PacketTypeAndCounter
- type PacketsDroppedBySecurity
- type Pnic
- type PoolUsage
- type PortConnectionContainersEntities
- type PortConnectionEdgeNodeGroup
- type PortConnectionEntities
- type PortConnectionEntity
- type PortConnectionError
- type PortConnectionHypervisor
- type PortConnectionLogicalSwitch
- type PortConnectionRouter
- type PortConnectionTunnel
- type PortMirroringSession
- type PortMirroringSessionListResult
- type PortMirroringSwitchingProfile
- type PortStatus
- type PreconfiguredEndpoint
- type PreconfiguredHostSwitch
- type PreconfiguredHostSwitchSpec
- type PrefixConfig
- type QosBaseRateShaper
- type QosSwitchingProfile
- type RateLimits
- type ReadNodesStatusRequestParameters
- type RedistributionConfig
- type RedistributionRule
- type RedistributionRuleList
- type RouteMap
- type RouteMapListResult
- type RouteMapSequence
- type RouteMapSequenceMatch
- type RouteMapSequenceSet
- type RoutingConfig
- type RuleState
- type ServiceAssociationListResult
- type ServiceBinding
- type ServiceProfile
- type ServiceProfileListResult
- type SoftwareModule
- type SoftwareModuleResult
- type SpoofGuardSwitchingProfile
- type StandardHostSwitch
- type StandardHostSwitchSpec
- type StaticHopBfdPeer
- type StaticHopBfdPeerListResult
- type StaticRoute
- type StaticRouteListResult
- type StaticRouteNextHop
- type StatusCount
- type SwitchSecuritySwitchingProfile
- type SwitchingProfileStatus
- type SwitchingProfileSupplementaryInfo
- type SwitchingProfileTypeIdEntry
- type SwitchingProfilesListResult
- type TeamingPolicy
- type TransportNode
- type TransportNodeListResult
- type TransportNodeState
- type TransportNodeStateListResult
- type TransportNodeStatus
- type TransportNodeStatusListResult
- type TransportNodeTemplateListResult
- type TransportNodeTemplateState
- type TransportZone
- type TransportZoneEndPoint
- type TransportZoneListResult
- type TransportZoneProfile
- type TransportZoneProfileListResult
- type TransportZoneProfileTypeIdEntry
- type TransportZoneStatus
- type TransportZoneStatusListResult
- type TunnelList
- type TunnelProperties
- type TunnelStatusCount
- type UnassociatedVmListResult
- type UnboundedKeyValuePair
- type Uplink
- type UplinkHostSwitchProfile
- type VipSubnet
- type VirtualMachine
- type VirtualMachineListResult
- type VirtualMachineTagUpdate
- type VirtualNetworkInterface
- type VirtualNetworkInterfaceListResult
- type VniPool
- type VniPoolListResult
- type VniRange
- type VsphereDeploymentConfig
- type VtepCsvListResult
- type VtepLabelPool
- type VtepLabelPoolListResult
- type VtepLabelPoolUsage
- type VtepLabelRange
- type VtepListResult
- type VtepTableCsvRecord
- type VtepTableEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressBindingEntry ¶
type AddressBindingEntry struct { // Combination of IP-MAC-VLAN binding Binding *PacketAddressClassifier `json:"binding,omitempty"` // Timestamp of binding BindingTimestamp int64 `json:"binding_timestamp,omitempty"` // Address binding source Source string `json:"source,omitempty"` }
An address binding entry is a combination of the IP-MAC-VLAN binding for a logical port. The address bindings can be obtained via various methods like ARP snooping, DHCP snooping etc. or by user configuration.
type AdvertiseRule ¶
type AdvertiseRuleList ¶
type AdvertiseRuleList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // List of advertisement rules Rules []AdvertiseRule `json:"rules,omitempty"` }
type AdvertisementConfig ¶
type AdvertisementConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Flag to advertise all routes of nat AdvertiseNatRoutes bool `json:"advertise_nat_routes,omitempty"` // Flag to advertise all connected routes AdvertiseNsxConnectedRoutes bool `json:"advertise_nsx_connected_routes,omitempty"` // Flag to advertise all static routes AdvertiseStaticRoutes bool `json:"advertise_static_routes,omitempty"` // Flag to advertise all lb SNAT ips AdvertiseLbSnatIp bool `json:"advertise_lb_snat_ip,omitempty"` // Flag to advertise lb vip AdvertiseLbVip bool `json:"advertise_lb_vip,omitempty"` // Flag to enable this configuration Enabled bool `json:"enabled,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` }
type AggregatedDataCounter ¶
type AggregatedDataCounter struct { RxBytes *DataCounter `json:"rx_bytes,omitempty"` RxPackets *DataCounter `json:"rx_packets,omitempty"` TxBytes *DataCounter `json:"tx_bytes,omitempty"` TxPackets *DataCounter `json:"tx_packets,omitempty"` }
type AggregatedDataCounterEx ¶
type AggregatedDataCounterEx struct { RxBytes *DataCounter `json:"rx_bytes,omitempty"` RxPackets *DataCounter `json:"rx_packets,omitempty"` TxBytes *DataCounter `json:"tx_bytes,omitempty"` TxPackets *DataCounter `json:"tx_packets,omitempty"` DroppedBySecurityPackets *PacketsDroppedBySecurity `json:"dropped_by_security_packets,omitempty"` MacLearning *MacLearningCounters `json:"mac_learning,omitempty"` }
type AggregatedLogicalRouterPortCounters ¶
type AggregatedLogicalRouterPortCounters struct { // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Rx *LogicalRouterPortCounters `json:"rx,omitempty"` Tx *LogicalRouterPortCounters `json:"tx,omitempty"` }
type AlgTypeNsService ¶
type AlgTypeNsService struct { NsService NsserviceElement AlgTypeNsServiceEntry `json:"nsservice_element"` }
type AlgTypeNsServiceEntry ¶
type AllocationIpAddress ¶
type AllocationIpAddress struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Address that is allocated from pool AllocationId string `json:"allocation_id,omitempty"` }
type AllocationIpAddressListResult ¶
type AllocationIpAddressListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Pool allocation list results Results []AllocationIpAddress `json:"results"` }
type AttachmentContext ¶
type AttachmentContext struct { // A flag to indicate whether to allocate addresses from allocation pools bound to the parent logical switch. AllocateAddresses string `json:"allocate_addresses,omitempty"` // Used to identify which concrete class it is ResourceType string `json:"resource_type"` // Used to indicate what the port is created for VifType string `json:"vif_type,omitempty"` }
type BaseFirewallSection ¶
type BaseFirewallSection interface {
GetFirewallSection() *FirewallSection
}
type BaseHostSwitchProfile ¶
type BaseHostSwitchProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // Supported HostSwitch profiles. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` }
type BaseSwitchingProfile ¶
type BaseSwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` }
type BfdConfig ¶
type BfdConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Number of times a packet is missed before BFD declares the neighbor down. DeclareDeadMultiple int64 `json:"declare_dead_multiple,omitempty"` // Flag to enable BFD for this LogicalRouter Enabled bool `json:"enabled,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // the time interval (in milliseconds) between heartbeat packets for BFD when receiving heartbeats. ReceiveInterval int64 `json:"receive_interval,omitempty"` // the time interval (in milliseconds) between heartbeat packets for BFD when sending heartbeats. TransmitInterval int64 `json:"transmit_interval,omitempty"` }
type BfdConfigParameters ¶
type BfdConfigParameters struct { // Number of times a packet is missed before BFD declares the neighbor down. DeclareDeadMultiple int64 `json:"declare_dead_multiple,omitempty"` // the time interval (in milliseconds) between heartbeat packets for BFD when receiving heartbeats. ReceiveInterval int64 `json:"receive_interval,omitempty"` // the time interval (in milliseconds) between heartbeat packets for BFD when sending heartbeats. TransmitInterval int64 `json:"transmit_interval,omitempty"` }
BFD configuration for the given Peer.
type BfdDiagnosticCount ¶
type BfdDiagnosticCount struct { // Number of tunnels with administratively down diagnostic message AdministrativelyDownCount int64 `json:"administratively_down_count,omitempty"` // Number of tunnels with concatenated path down diagnostic message ConcatenatedPathDownCount int64 `json:"concatenated_path_down_count,omitempty"` // Number of tunnels with control detection time expired diagnostic message ControlDetectionTimeExpiredCount int64 `json:"control_detection_time_expired_count,omitempty"` // Number of tunnels with echo function failed diagnostic message EchoFunctionFailedCount int64 `json:"echo_function_failed_count,omitempty"` // Number of tunnels with forwarding plane reset diagnostic message ForwardingPlaneResetCount int64 `json:"forwarding_plane_reset_count,omitempty"` // Number of tunnels neighbor signaled session down NeighborSignaledSessionDownCount int64 `json:"neighbor_signaled_session_down_count,omitempty"` // Number of tunnels with no diagnostic NoDiagnosticCount int64 `json:"no_diagnostic_count,omitempty"` // Number of tunnels with path down diagnostic message PathDownCount int64 `json:"path_down_count,omitempty"` // Number of tunnels with reverse concatenated path down diagnostic message ReverseConcatenatedPathDownCount int64 `json:"reverse_concatenated_path_down_count,omitempty"` }
type BfdProperties ¶
type BfdProperties struct { // True if tunnel is active in a gateway HA setup Active bool `json:"active,omitempty"` // A short message indicating what the BFD session thinks is wrong in case of a problem Diagnostic string `json:"diagnostic,omitempty"` // True if the BFD session believes this interface may be used to forward traffic Forwarding bool `json:"forwarding,omitempty"` // A short message indicating what the remote interface's BFD session thinks is wrong in case of a problem RemoteDiagnostic string `json:"remote_diagnostic,omitempty"` // State of the remote interface's BFD session RemoteState string `json:"remote_state,omitempty"` // State of the BFD session State string `json:"state,omitempty"` }
BFD information
type BfdStatusCount ¶
type BfdStatusCount struct { // Number of tunnels in BFD admin down state BfdAdminDownCount int32 `json:"bfd_admin_down_count,omitempty"` // Number of tunnels in BFD down state BfdDownCount int32 `json:"bfd_down_count,omitempty"` // Number of tunnels in BFD init state BfdInitCount int32 `json:"bfd_init_count,omitempty"` // Number of tunnels in BFD up state BfdUpCount int32 `json:"bfd_up_count,omitempty"` }
type BgpConfig ¶
type BgpConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // 4 Byte ASN in ASPLAIN/ASDOT Format AsNum string `json:"as_num,omitempty"` // This is a deprecated property, Please use 'as_num' instead. AsNumber int64 `json:"as_number,omitempty"` // Flag to enable ECMP Ecmp bool `json:"ecmp,omitempty"` // Flag to enable this configuration Enabled bool `json:"enabled,omitempty"` // Flag to enable graceful restart GracefulRestart bool `json:"graceful_restart,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // List of routes to be aggregated RouteAggregation []BgpRouteAggregation `json:"route_aggregation,omitempty"` }
type BgpNeighbor ¶
type BgpNeighbor struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // User can enable the neighbor for the specific address families and also define filters per address family. When the neighbor is created, it is default enabled for IPV4_UNICAST address family for backward compatibility reasons. User can change that if required, by defining the address family configuration. AddressFamilies []BgpNeighborAddressFamily `json:"address_families,omitempty"` // By specifying these paramaters BFD config for this given peer can be overriden | (the globally configured values will not apply for this peer) BfdConfig *BfdConfigParameters `json:"bfd_config,omitempty"` // Flag to enable BFD for this BGP Neighbor. Enable this if the neighbor supports BFD as this will lead to faster convergence. EnableBfd bool `json:"enable_bfd,omitempty"` // Flag to enable this BGP Neighbor Enabled bool `json:"enabled,omitempty"` // This is a deprecated property, Please use 'address_family' instead. FilterInIpprefixlistId string `json:"filter_in_ipprefixlist_id,omitempty"` // This is a deprecated property, Please use 'address_family' instead. FilterInRoutemapId string `json:"filter_in_routemap_id,omitempty"` // This is a deprecated property, Please use 'address_family' instead. FilterOutIpprefixlistId string `json:"filter_out_ipprefixlist_id,omitempty"` // This is a deprecated property, Please use 'address_family' instead. FilterOutRoutemapId string `json:"filter_out_routemap_id,omitempty"` // Wait period (seconds) before declaring peer dead HoldDownTimer int64 `json:"hold_down_timer,omitempty"` // Frequency (seconds) with which keep alive messages are sent to peers KeepAliveTimer int64 `json:"keep_alive_timer,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // This value is set on TTL(time to live) of BGP header. When router receives the BGP packet, it decrements the TTL. The default value of TTL is one when BPG request is initiated.So in the case of a BGP peer multiple hops away and and value of TTL is one, then next router in the path will decrement the TTL to 0, realize it cant forward the packet and will drop it. If the hop count value to reach neighbor is equal to or less than the maximum_hop_limit value then intermediate router decrements the TTL count by one and forwards the request to BGP neighour. If the hop count value is greater than the maximum_hop_limit value then intermediate router discards the request when TTL becomes 0. MaximumHopLimit int32 `json:"maximum_hop_limit,omitempty"` // Neighbor IP Address NeighborAddress string `json:"neighbor_address"` // User can create (POST) the neighbor with or without the password. The view (GET) on the neighbor, would never reveal if the password is set or not. The password can be set later using edit neighbor workFlow (PUT) On the edit neighbor (PUT), if the user does not specify the password property, the older value is retained. Password string `json:"password,omitempty"` // This is a deprecated property, Please use 'remote_as_num' instead. RemoteAs int64 `json:"remote_as,omitempty"` // 4 Byte ASN of the neighbor in ASPLAIN/ASDOT Format RemoteAsNum string `json:"remote_as_num,omitempty"` // Deprecated - do not provide a value for this field. Use source_addresses instead. SourceAddress string `json:"source_address,omitempty"` // BGP neighborship will be formed from all these source addresses to this neighbour. SourceAddresses []string `json:"source_addresses,omitempty"` }
type BgpNeighborAddressFamily ¶
type BgpNeighborAddressFamily struct { // Enable this address family Enabled bool `json:"enabled,omitempty"` // Id of the IPPrefix List to be used for IN direction filter InFilterIpprefixlistId string `json:"in_filter_ipprefixlist_id,omitempty"` // Id of the RouteMap to be used for IN direction filter InFilterRoutemapId string `json:"in_filter_routemap_id,omitempty"` // Id of the IPPrefixList to be used for OUT direction filter OutFilterIpprefixlistId string `json:"out_filter_ipprefixlist_id,omitempty"` // Id of the RouteMap to be used for OUT direction filter OutFilterRoutemapId string `json:"out_filter_routemap_id,omitempty"` // Address family type Type_ string `json:"type"` }
type BgpNeighborListResult ¶
type BgpNeighborListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paginated list of bgp neighbors Results []BgpNeighbor `json:"results"` }
type BgpNeighborStatus ¶
type BgpNeighborStatus struct { // BGP capabilities sent to BGP neighbor. AnnouncedCapabilities []string `json:"announced_capabilities,omitempty"` // Count of connection drop ConnectionDropCount int64 `json:"connection_drop_count,omitempty"` // Current state of the BGP session. ConnectionState string `json:"connection_state,omitempty"` // Count of connections established EstablishedConnectionCount int64 `json:"established_connection_count,omitempty"` // Indicate current state of graceful restart where graceful_restart = true indicate graceful restart is enabled and graceful_restart = false indicate graceful restart is disabled. GracefulRestart bool `json:"graceful_restart,omitempty"` // Time in ms to wait for HELLO from BGP peer. If a HELLO packet is not seen from BGP Peer withing hold_time then BGP neighbor will be marked as down. HoldTime int64 `json:"hold_time,omitempty"` // Time in ms to wait for HELLO packet from BGP peer KeepAliveInterval int64 `json:"keep_alive_interval,omitempty"` // TCP port number of Local BGP connection LocalPort int64 `json:"local_port,omitempty"` // Logical router component(Service Router/Distributed Router) id LrComponentId string `json:"lr_component_id,omitempty"` // Count of messages received from the neighbor MessagesReceived int64 `json:"messages_received,omitempty"` // Count of messages sent to the neighbor MessagesSent int64 `json:"messages_sent,omitempty"` // BGP capabilities negotiated with BGP neighbor. NegotiatedCapability []string `json:"negotiated_capability,omitempty"` // The IP of the BGP neighbor NeighborAddress string `json:"neighbor_address,omitempty"` // Router ID of the BGP neighbor. NeighborRouterId string `json:"neighbor_router_id,omitempty"` // AS number of the BGP neighbor RemoteAsNumber string `json:"remote_as_number,omitempty"` // TCP port number of remote BGP Connection RemotePort int64 `json:"remote_port,omitempty"` // The Ip address of logical port SourceAddress string `json:"source_address,omitempty"` // Time(in milliseconds) since connection was established. TimeSinceEstablished int64 `json:"time_since_established,omitempty"` // Count of in prefixes TotalInPrefixCount int64 `json:"total_in_prefix_count,omitempty"` // Count of out prefixes TotalOutPrefixCount int64 `json:"total_out_prefix_count,omitempty"` // Transport node id and name TransportNode *common.ResourceReference `json:"transport_node,omitempty"` }
type BgpNeighborsStatusListResult ¶
type BgpNeighborsStatusListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp when the data was last updated, unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // Name of the logical router LogicalRouterName string `json:"logical_router_name,omitempty"` // Status of BGP neighbors of the logical router Results []BgpNeighborStatus `json:"results,omitempty"` }
type BgpRouteAggregation ¶
type BpduFilter ¶
type BpduFilter struct { // Indicates whether BPDU filter is enabled Enabled bool `json:"enabled"` // Pre-defined list of allowed MAC addresses to be excluded from BPDU filtering WhiteList []string `json:"white_list,omitempty"` }
BPDU filter configuration
type BridgeCluster ¶
type BridgeCluster struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Nodes used in bridging BridgeNodes []BridgeClusterNode `json:"bridge_nodes"` // Bridge cluster profile bindings ClusterProfileBindings []ClusterProfileTypeIdEntry `json:"cluster_profile_bindings,omitempty"` }
type BridgeClusterListResult ¶
type BridgeClusterListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // BridgeCluster Results Results []BridgeCluster `json:"results,omitempty"` }
type BridgeClusterNode ¶
type BridgeClusterNode struct { // MAC address used for HA protocol HaMac string `json:"ha_mac,omitempty"` // UUID of the transport node TransportNodeId string `json:"transport_node_id"` }
Bridge transport node
type BridgeClusterStatus ¶
type BridgeClusterStatus struct { // The id of the cluster ClusterId string `json:"cluster_id,omitempty"` // The health status of the cluster Health string `json:"health,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` }
type BridgeEndpoint ¶
type BridgeEndpoint struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // UUID of the bridge cluster for this bridge endpoint BridgeClusterId string `json:"bridge_cluster_id"` // Controls the enabling of HA on the VLAN for this endpoint HaEnable bool `json:"ha_enable,omitempty"` Vlan int64 `json:"vlan"` }
type BridgeEndpointListResult ¶
type BridgeEndpointListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // BridgeEndpoint Results Results []BridgeEndpoint `json:"results,omitempty"` }
type BridgeEndpointStatistics ¶
type BridgeEndpointStatistics struct { RxBytes *DataCounter `json:"rx_bytes,omitempty"` RxPackets *DataCounter `json:"rx_packets,omitempty"` TxBytes *DataCounter `json:"tx_bytes,omitempty"` TxPackets *DataCounter `json:"tx_packets,omitempty"` // The id of the bridge endpoint EndpointId string `json:"endpoint_id,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` }
type BridgeEndpointStatus ¶
type BridgeEndpointStatus struct { // The Ids of the transport nodes which actively serve the endpoint. ActiveNodes []string `json:"active_nodes,omitempty"` // The id of the bridge endpoint EndpointId string `json:"endpoint_id,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` }
type ClasslessStaticRoute ¶
type ClusterProfile ¶
type ClusterProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // Supported cluster profiles. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` }
type ClusterProfileListResult ¶
type ClusterProfileListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Cluster Profile Results Results []ClusterProfile `json:"results,omitempty"` }
type ClusterRoleConfig ¶
type ClusterRoleConfig struct { // Type of this role configuration Type_ string `json:"type,omitempty"` }
type ComputeCollection ¶
type ComputeCollection struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Timestamp of last modification LastSyncTime int64 `json:"_last_sync_time,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Local Id of the compute collection in the Compute Manager CmLocalId string `json:"cm_local_id,omitempty"` // External ID of the ComputeCollection in the source Compute manager, e.g. mo-ref in VC ExternalId string `json:"external_id,omitempty"` // Id of the compute manager from where this Compute Collection was discovered OriginId string `json:"origin_id,omitempty"` // Key-Value map of additional specific properties of compute collection in the Compute Manager OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"` // ComputeCollection type like VC_Cluster. Here the Compute Manager type prefix would help in differentiating similar named Compute Collection types from different Compute Managers OriginType string `json:"origin_type,omitempty"` }
type ComputeCollectionFabricTemplate ¶
type ComputeCollectionFabricTemplate struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Indicates whether NSX components should be automcatically installed. When 'true' NSX components will be automatically installed on the new host added to compute collection. AutoInstallNsx bool `json:"auto_install_nsx"` // Associated compute collection id ComputeCollectionId string `json:"compute_collection_id"` }
type ComputeCollectionFabricTemplateListResult ¶
type ComputeCollectionFabricTemplateListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of compute collection fabric template Results []ComputeCollectionFabricTemplate `json:"results,omitempty"` }
type ComputeCollectionListResult ¶
type ComputeCollectionListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Compute Collection list results Results []ComputeCollection `json:"results"` }
type ComputeCollectionTransportNodeTemplate ¶
type ComputeCollectionTransportNodeTemplate struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Associated compute collection ids ComputeCollectionIds []string `json:"compute_collection_ids"` // Property 'host_switch_spec' can be used to create either standard host switch or preconfigured host switch. HostSwitchSpec *HostSwitchSpec `json:"host_switch_spec,omitempty"` // Transport zone endpoints TransportZoneEndpoints []TransportZoneEndPoint `json:"transport_zone_endpoints,omitempty"` }
type ComputeCollectionTransportNodeTemplateState ¶
type ComputeCollectionTransportNodeTemplateState struct { // Associated compute collection id ComputeCollectionId string `json:"compute_collection_id,omitempty"` // Transport node template states in compute collection TemplateStates []TransportNodeTemplateState `json:"template_states,omitempty"` }
Transport node state per compute collection
type ComputeCollectionTransportNodeTemplateStateList ¶
type ComputeCollectionTransportNodeTemplateStateList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // State list per compute collection Results []ComputeCollectionTransportNodeTemplateState `json:"results,omitempty"` }
type ComputeManager ¶
type ComputeManager struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Login credentials for the compute manager Credential *LoginCredential `json:"credential,omitempty"` // Key-Value map of additional specific properties of compute manager OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"` // Compute manager type like vCenter OriginType string `json:"origin_type"` // IP address or hostname of compute manager Server string `json:"server"` }
type ComputeManagerListResult ¶
type ComputeManagerListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of compute managers Results []ComputeManager `json:"results"` }
type ComputeManagerStatus ¶
type ComputeManagerStatus struct { // Errors when connecting with compute manager ConnectionErrors []ErrorInfo `json:"connection_errors,omitempty"` // Status of connection with the compute manager ConnectionStatus string `json:"connection_status,omitempty"` // Details about connection status ConnectionStatusDetails string `json:"connection_status_details,omitempty"` // Timestamp of the last successful update of Inventory, in epoch milliseconds. LastSyncTime int64 `json:"last_sync_time,omitempty"` // Errors when registering with compute manager RegistrationErrors []ErrorInfo `json:"registration_errors,omitempty"` // Registration status of compute manager RegistrationStatus string `json:"registration_status,omitempty"` // Version of the compute manager Version string `json:"version,omitempty"` }
Runtime status information of the compute manager
type ConfigurationState ¶
type ConfigurationState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` }
type ConfigurationStateElement ¶
type ConfigurationStateElement struct { // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // State of configuration on this sub system State string `json:"state,omitempty"` // URI of backing resource on sub system SubSystemAddress string `json:"sub_system_address,omitempty"` // Identifier of backing resource on sub system SubSystemId string `json:"sub_system_id,omitempty"` // Type of backing resource on sub system SubSystemType string `json:"sub_system_type,omitempty"` }
type ControlConnStatus ¶
type ControlConnStatus struct { // IP address of the control Node. ControlNodeIp string `json:"control_node_ip,omitempty"` // Failure status of the control Node for e.g CONNECTION_REFUSED,INCOMPLETE_HOST_CERT. FailureStatus string `json:"failure_status,omitempty"` // Status of the control Node for e.g UP, DOWN. Status string `json:"status,omitempty"` }
type DataCounter ¶
type DhcpFilter ¶
type DhcpFilter struct { // Indicates whether DHCP client blocking is enabled ClientBlockEnabled bool `json:"client_block_enabled"` // Indicates whether DHCP server blocking is enabled ServerBlockEnabled bool `json:"server_block_enabled"` }
DHCP filtering configuration
type DhcpIpPool ¶
type DhcpIpPool struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // gateway ip GatewayIp string `json:"gateway_ip,omitempty"` // lease time, in seconds, [60-(2^32-1)], default 86400 LeaseTime int64 `json:"lease_time,omitempty"` // If an option is defined at server level and not configred at ip-pool/static-binding level, the option will be inherited to ip-pool/static-binding. If both define a same-code option, the option defined at ip-pool/static-binding level take precedence over that defined at server level. Options *DhcpOptions `json:"options,omitempty"` // ip-ranges AllocationRanges []IpPoolRange `json:"allocation_ranges"` // error threshold, valid [80-100], default 100 ErrorThreshold int64 `json:"error_threshold,omitempty"` // warning threshold, valid [50-80], default 80 WarningThreshold int64 `json:"warning_threshold,omitempty"` }
type DhcpIpPoolListResult ¶
type DhcpIpPoolListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // paginated list of dhcp ip pools Results []DhcpIpPool `json:"results"` }
type DhcpIpPoolUsage ¶
type DhcpIpPoolUsage struct { // allocated number. COULD BE INACCURATE, REFERENCE ONLY. AllocatedNumber int64 `json:"allocated_number"` // allocated percentage. COULD BE INACCURATE, REFERENCE ONLY. AllocatedPercentage int64 `json:"allocated_percentage"` // uuid of dhcp ip pool DhcpIpPoolId string `json:"dhcp_ip_pool_id"` // pool size PoolSize int64 `json:"pool_size"` }
type DhcpLeasePerIp ¶
type DhcpLeasePerIp struct { // expire time of the lease ExpireTime string `json:"expire_time,omitempty"` // ip address of client IpAddress string `json:"ip_address"` // lease time of the ip address, in seconds LeaseTime string `json:"lease_time,omitempty"` // mac address of client MacAddress string `json:"mac_address"` // start time of lease StartTime string `json:"start_time,omitempty"` // subnet of client network Subnet string `json:"subnet"` }
type DhcpLeases ¶
type DhcpLeases struct { // dhcp server uuid DhcpServerId string `json:"dhcp_server_id"` // The lease info list of the server Leases []DhcpLeasePerIp `json:"leases,omitempty"` // timestamp of the lease info Timestamp int64 `json:"timestamp"` }
type DhcpOption121 ¶
type DhcpOption121 struct { // dhcp classless static routes StaticRoutes []ClasslessStaticRoute `json:"static_routes"` }
type DhcpOptions ¶
type DhcpOptions struct { // option 121 Option121 *DhcpOption121 `json:"option121,omitempty"` Others []GenericDhcpOption `json:"others,omitempty"` }
type DhcpProfile ¶
type DhcpProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // edge cluster uuid EdgeClusterId string `json:"edge_cluster_id"` // If none is provided, the NSX will auto-select two edge-nodes from the given edge cluster. If user provides only one edge node, there will be no HA support. EdgeClusterMemberIndexes []int64 `json:"edge_cluster_member_indexes,omitempty"` }
type DhcpProfileListResult ¶
type DhcpProfileListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // paginated list of dhcp profiles Results []DhcpProfile `json:"results"` }
type DhcpRelayProfile ¶
type DhcpRelayProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` ServerAddresses []string `json:"server_addresses"` }
type DhcpRelayProfileListResult ¶
type DhcpRelayProfileListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Dhcp relay profile list results Results []DhcpRelayProfile `json:"results"` }
type DhcpRelayService ¶
type DhcpRelayService struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // dhcp relay profile referenced by the dhcp relay service DhcpRelayProfileId string `json:"dhcp_relay_profile_id"` }
type DhcpRelayServiceListResult ¶
type DhcpRelayServiceListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Dhcp relay service list results Results []DhcpRelayService `json:"results"` }
type DhcpServerStatus ¶
type DhcpServerStatus struct { // uuid of active transport node ActiveNode string `json:"active_node"` // Error message, if available ErrorMessage string `json:"error_message,omitempty"` // UP means the dhcp service is working fine on both active transport-node and stand-by transport-node (if have), hence fail-over can work at this time if there is failure happens on one of the transport-node; DOWN means the dhcp service is down on both active transport-node and stand-by node (if have), hence the dhcp-service will not repsonse any dhcp request; Error means error happens on transport-node(s) or no status is reported from transport-node(s). The dhcp service may be working (or not working); NO_STANDBY means dhcp service is working in one of the transport node while not in the other transport-node (if have). Hence if the dhcp service in the working transport-node is down, fail-over will not happen and the dhcp service will go down. ServiceStatus string `json:"service_status"` // uuid of stand_by transport node. null if non-HA mode StandByNode string `json:"stand_by_node,omitempty"` }
type DhcpStaticBinding ¶
type DhcpStaticBinding struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // gateway ip GatewayIp string `json:"gateway_ip,omitempty"` // lease time, in seconds, [60-(2^32-1)], default 86400 LeaseTime int64 `json:"lease_time,omitempty"` // If an option is defined at server level and not configred at ip-pool/static-binding level, the option will be inherited to ip-pool/static-binding. If both define a same-code option, the option defined at ip-pool/static-binding level take precedence over that defined at server level. Options *DhcpOptions `json:"options,omitempty"` // host name HostName string `json:"host_name,omitempty"` // ip addres IpAddress string `json:"ip_address"` // mac address MacAddress string `json:"mac_address"` }
type DhcpStaticBindingListResult ¶
type DhcpStaticBindingListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // paginated list of dhcp static bindings Results []DhcpStaticBinding `json:"results"` }
type DhcpStatistics ¶
type DhcpStatistics struct { // The total number of DHCP ACK packets Acks int64 `json:"acks"` // The total number of DHCP DECLINE packets Declines int64 `json:"declines"` // dhcp server uuid DhcpServerId string `json:"dhcp_server_id"` // The total number of DHCP DISCOVER packets Discovers int64 `json:"discovers"` // The total number of DHCP errors Errors int64 `json:"errors"` // The total number of DHCP INFORM packets Informs int64 `json:"informs"` // The DHCP ip pool usage statistics IpPoolStats []DhcpIpPoolUsage `json:"ip_pool_stats,omitempty"` // The total number of DHCP NACK packets Nacks int64 `json:"nacks"` // The total number of DHCP OFFER packets Offers int64 `json:"offers"` // The total number of DHCP RELEASE packets Releases int64 `json:"releases"` // The total number of DHCP REQUEST packets Requests int64 `json:"requests"` // timestamp of the statistics Timestamp int64 `json:"timestamp"` }
type DiscoveredNode ¶
type DiscoveredNode struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Timestamp of last modification LastSyncTime int64 `json:"_last_sync_time,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Display name of discovered node DisplayName string `json:"display_name,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Certificate of the discovered node Certificate string `json:"certificate,omitempty"` // Local Id of the discovered node in the Compute Manager CmLocalId string `json:"cm_local_id,omitempty"` // External id of the discovered node, ex. a mo-ref from VC ExternalId string `json:"external_id,omitempty"` // IP Addresses of the the discovered node. IpAddresses []string `json:"ip_addresses,omitempty"` // Discovered Node type like Host NodeType string `json:"node_type,omitempty"` // Id of the compute manager from where this node was discovered OriginId string `json:"origin_id,omitempty"` // Key-Value map of additional specific properties of discovered node in the Compute Manager OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"` // OS type of the discovered node OsType string `json:"os_type,omitempty"` // OS version of the discovered node OsVersion string `json:"os_version,omitempty"` // External id of the compute collection to which this node belongs ParentComputeCollection string `json:"parent_compute_collection,omitempty"` }
type DiscoveredNodeListResult ¶
type DiscoveredNodeListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Discovered Node list results Results []DiscoveredNode `json:"results"` }
type DneGlobalConfig ¶
type DneGlobalConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // It is a boolean flag which reflects whether DNE protected EastWest traffic will be dropped at mirroring stage. AllowMirrored bool `json:"allow_mirrored"` // Time period during which both old and new keys are valid, to accommodate key distribution delay. Default 1 mins, minimum 1 mins and maximum 4 mins. RekeyMarginTime int64 `json:"rekey_margin_time,omitempty"` }
type DneKeyManager ¶
type DneKeyManager struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // The certificate of key manager appliance. Certificate string `json:"certificate"` // Host server of key manager appliance. The value could be an IP address or a server name. Host string `json:"host"` // A port number of key manager instance. Port int64 `json:"port"` // Health status check for the key manager server. The value is updated and displayed everytime an API call(GET/POST/PUT) is made on the key manager entity. Status string `json:"status,omitempty"` }
type DneKeyManagerListResult ¶
type DneKeyManagerListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of DNE key managers. Results []DneKeyManager `json:"results,omitempty"` }
type DneKeyPolicy ¶
type DneKeyPolicy struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // DNE key encryption algorithm EncryptAlgorithm string `json:"encrypt_algorithm"` // Key policy encryption type EncryptType string `json:"encrypt_type"` // It is a boolean flag which reflects whether a DNE key policy is default or not. IsDefault bool `json:"is_default,omitempty"` // It is a boolean flag which reflects whether a DNE key policy is system default or not. System default key policies are created while dne system is booting up. User can't change the value of the system default flag. User created key policy always has system default flag set to false, however a user can change default flag (not the system default) value from false to true of any key policy, but not from true to false (when setting a key policy as default, the current default key policy is automatically unset). IsSysDefault bool `json:"is_sys_default,omitempty"` // MAC algorithm type MacAlgorithm string `json:"mac_algorithm"` // User notes specific to the key policy. Notes string `json:"notes,omitempty"` // Frequency of key policy rekey (in seconds). Default 30 days, minimum 1 day, maximum 10000 days. RekeyFrequency int64 `json:"rekey_frequency,omitempty"` // key policy type Type_ string `json:"type,omitempty"` }
type DneKeyPolicyListResult ¶
type DneKeyPolicyListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of DNE key policies. The list has to be homogenous. Results []DneKeyPolicy `json:"results,omitempty"` }
type DneKeyPolicyStats ¶
type DneKeyPolicyStats struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The number of bytes decrypted by the key policy. If key policy action is integrity only, it indicates the number of bytes which passed integrity check. BytesDecrypted int64 `json:"bytes_decrypted,omitempty"` // The number of bytes dropped for the key policy. BytesDropped int64 `json:"bytes_dropped,omitempty"` // The number of bytes encrypted by the key policy. If key policy action is integrity only, it indicates the number of bytes with the addition of integrity check. BytesEncrypted int64 `json:"bytes_encrypted,omitempty"` // Key policy identifier of the DNE key policy. This is a globally unique number. KeyPolicyIdentifier string `json:"key_policy_identifier,omitempty"` // The number of packets decrypted by the key policy. If key policy action is integrity only, it indicates the number of packets which passed integrity check. PacketsDecrypted int64 `json:"packets_decrypted,omitempty"` // The number of dropped packets for the key policy. PacketsDropped int64 `json:"packets_dropped,omitempty"` // The number of packets encrypted by the key policy. If key policy action is integrity only, it indicates the number of packets with the addition of integrity check. PacketsEncrypted int64 `json:"packets_encrypted,omitempty"` }
type DneRule ¶
type DneRule struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` Owner *common.OwnerResourceLink `json:"_owner,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Identifier of the resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // This is a read-only field that for UI display purpose only. It is to show what type of protection the rule's key policy provides. Action string `json:"action,omitempty"` // List of object where rule will be enforced. The section level field overrides this one. Null will be treated as any. AppliedTos []common.ResourceReference `json:"applied_tos,omitempty"` // User notes specific to the rule. Comments string `json:"comments,omitempty"` // List of the destinations. Null will be treated as any. Destinations []common.ResourceReference `json:"destinations,omitempty"` // Flag to disable rule. Disabled rule will only be persisted but never provisioned/realized. Disabled bool `json:"disabled,omitempty"` // Type of IP packet that should be matched while enforcing the rule. IpProtocol string `json:"ip_protocol,omitempty"` // Identifier of key policy. Section's key policy, if exists, overrides Rule's key policy. KeyPolicyIdentifier string `json:"key_policy_identifier,omitempty"` // A display name of rule's key policy. This is a read-only field for UI display purpose only. If not set by user, this name will be key policy's UUID. KeyPolicyName string `json:"key_policy_name,omitempty"` // Flag to enable packet logging. Default is disabled. Logged bool `json:"logged,omitempty"` // User level field which will be printed in CLI and packet logs. RuleTag string `json:"rule_tag,omitempty"` // List of the services. Null will be treated as any. Services []DneService `json:"services,omitempty"` // List of sources. Null will be treated as any. Sources []common.ResourceReference `json:"sources,omitempty"` }
type DneRuleList ¶
type DneRuleList struct { // List of DNE rules in the section. Only homogenous rules are supported. Rules []DneRule `json:"rules"` }
type DneRuleListResult ¶
type DneRuleListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // DNE rule list result with pagination support. Results []DneRule `json:"results,omitempty"` }
type DneRuleState ¶
type DneRuleState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` // revision number of the desired state RevisionDesired int64 `json:"revision_desired,omitempty"` }
type DneRuleStats ¶
type DneRuleStats struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Aggregated number of incoming bytes processed by the rule. BytesIn int64 `json:"bytes_in,omitempty"` // Aggregated number of outgoing bytes processed by the rule. BytesOut int64 `json:"bytes_out,omitempty"` // Aggregated number of incoming packets processed by the rule. PacketsIn int64 `json:"packets_in,omitempty"` // Aggregated number of outgoing packets processed by the rule. PacketsOut int64 `json:"packets_out,omitempty"` // Rule Identifier of the DNE rule. This is a globally unique number. RuleId string `json:"rule_id,omitempty"` }
type DneSection ¶
type DneSection struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // It is a boolean flag which reflects whether a DNE section is default section or not. Each Layer 2 and Layer 3 section. has one and only one default section. IsDefault bool `json:"is_default,omitempty"` // Number of rules in this section. RuleCount int64 `json:"rule_count,omitempty"` // Type of the rules which a section can contain. Only homogeneous sections are supported. SectionType string `json:"section_type,omitempty"` }
type DneSectionListResult ¶
type DneSectionListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of DNE sections returned. Results []DneSection `json:"results,omitempty"` }
type DneSectionRuleList ¶
type DneSectionRuleList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // It is a boolean flag which reflects whether a DNE section is default section or not. Each Layer 2 and Layer 3 section. has one and only one default section. IsDefault bool `json:"is_default,omitempty"` // Number of rules in this section. RuleCount int64 `json:"rule_count,omitempty"` // Type of the rules which a section can contain. Only homogeneous sections are supported. SectionType string `json:"section_type,omitempty"` // List of DNE rules in the section. Only homogenous rules are supported. Rules []DneRule `json:"rules"` }
type DneSectionState ¶
type DneSectionState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` // revision number of the desired state RevisionDesired int64 `json:"revision_desired,omitempty"` }
type DneService ¶
type DneService struct { // Will be set to false if the referenced NSX resource has been deleted. IsValid bool `json:"is_valid,omitempty"` // Display name of the NSX resource. TargetDisplayName string `json:"target_display_name,omitempty"` // Identifier of the NSX resource. TargetId string `json:"target_id,omitempty"` // Type of the NSX resource. TargetType string `json:"target_type,omitempty"` // Dne API accepts raw protocol and ports as part of NS service element in Dne Rule that describes traffic corresponding to an NSService. Service *NsServiceElement `json:"service,omitempty"` }
type Dscp ¶
type Dscp struct { // Trust settings Mode string `json:"mode,omitempty"` // Internal Forwarding Priority Priority int32 `json:"priority,omitempty"` }
Dscp value is ignored in case of 'TRUSTED' DscpMode.
type EdgeCluster ¶
type EdgeCluster struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Edge cluster profile bindings ClusterProfileBindings []ClusterProfileTypeIdEntry `json:"cluster_profile_bindings,omitempty"` // This field is a readonly field which could show deployment_type of members. It would return UNKNOWN if there is no members, and return VIRTUAL_MACHINE| PHYSICAL_MACHINE if all edge members are VIRTUAL_MACHINE|PHYSICAL_MACHINE. DeploymentType string `json:"deployment_type,omitempty"` // Edge cluster is homogenous collection of transport nodes. Hence all transport nodes of the cluster must be of same type. This readonly field shows the type of transport nodes. MemberNodeType string `json:"member_node_type,omitempty"` // EdgeCluster only supports homogeneous members. These member should be backed by either EdgeNode or PublicCloudGatewayNode. DeploymentType and TransportNode type of these nodes should be the same. Members []EdgeClusterMember `json:"members,omitempty"` }
type EdgeClusterListResult ¶
type EdgeClusterListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Edge cluster list results Results []EdgeCluster `json:"results"` }
type EdgeClusterMember ¶
type EdgeClusterMember struct { // description of edge cluster member Description string `json:"description,omitempty"` // display name of edge cluster member DisplayName string `json:"display_name,omitempty"` // System generated index for cluster member MemberIndex int32 `json:"member_index,omitempty"` // Identifier of the transport node backed by an Edge node TransportNodeId string `json:"transport_node_id"` }
type EdgeClusterMemberListResult ¶
type EdgeClusterMemberListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // edge cluster member list results Results []EdgeClusterMember `json:"results"` }
type EffectiveIpAddressMemberListResult ¶
type EffectiveIpAddressMemberListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paged Collection of effective ip addresses for the given NSGroup Results []string `json:"results"` }
type EffectiveMemberResourceListResult ¶
type EffectiveMemberResourceListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paged Collection of resources which are the effective members of an NSGroup. Results []common.ResourceReference `json:"results"` }
type Endpoint ¶
type Endpoint struct { // Gateway IP DefaultGateway string `json:"default_gateway,omitempty"` // Name of the virtual tunnel endpoint DeviceName string `json:"device_name,omitempty"` // Depending upon the EndpointIpConfig used in HostSwitch, IP could be allocated either from DHCP (default) or from Static IP Pool. Ip string `json:"ip,omitempty"` // Unique label for this Endpoint Label int32 `json:"label,omitempty"` // Subnet mask SubnetMask string `json:"subnet_mask,omitempty"` }
An Endpoint object is part of HostSwitch configuration in TransportNode
type ErrorInfo ¶
type ErrorInfo struct { // Error message ErrorMessage string `json:"error_message,omitempty"` // Timestamp when the error occurred Timestamp int64 `json:"timestamp,omitempty"` }
Error information
type EtherTypeNsService ¶
type EtherTypeNsService struct { NsService NsserviceElement EtherTypeNsServiceEntry `json:"nsservice_element"` }
type ExcludeList ¶
type ExcludeList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // List of the members in the exclude list Members []common.ResourceReference `json:"members"` }
type ExtraConfig ¶
type ExtraConfig struct { // Key value pair in string for the configuration ConfigPair *UnboundedKeyValuePair `json:"config_pair"` }
Extra config is intended for supporting vendor specific configuration on the data path, it can be set as key value string pairs on either logical switch or logical port. If it was set on logical switch, it will be inherited automatically by logical ports in it. Also logical port setting will override logical switch setting if specific key was dual set on both logical switch and logical port.
type FireWallServiceAssociationListResult ¶
type FireWallServiceAssociationListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` ServiceType string `json:"service_type"` // Firewall rule list result with pagination support. Results []FirewallRule `json:"results,omitempty"` }
type FirewallRule ¶
type FirewallRule struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` Owner *common.OwnerResourceLink `json:"_owner,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Identifier of the resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Action enforced on the packets which matches the firewall rule. Action string `json:"action"` // List of object where rule will be enforced. The section level field overrides this one. Null will be treated as any. AppliedTos []common.ResourceReference `json:"applied_tos,omitempty"` // List of the destinations. Null will be treated as any. Destinations []common.ResourceReference `json:"destinations,omitempty"` // Negation of the destination. DestinationsExcluded bool `json:"destinations_excluded,omitempty"` // Rule direction in case of stateless firewall rules. This will only considered if section level parameter is set to stateless. Default to IN_OUT if not specified. Direction string `json:"direction,omitempty"` // Flag to disable rule. Disabled will only be persisted but never provisioned/realized. Disabled bool `json:"disabled,omitempty"` // Type of IP packet that should be matched while enforcing the rule. IpProtocol string `json:"ip_protocol,omitempty"` // Flag to indicate whether rule is default. IsDefault bool `json:"is_default,omitempty"` // Flag to enable packet logging. Default is disabled. Logged bool `json:"logged,omitempty"` // User notes specific to the rule. Notes string `json:"notes,omitempty"` // User level field which will be printed in CLI and packet logs. RuleTag string `json:"rule_tag,omitempty"` // List of the services. Null will be treated as any. Services []FirewallService `json:"services,omitempty"` // List of sources. Null will be treated as any. Sources []common.ResourceReference `json:"sources,omitempty"` // Negation of the source. SourcesExcluded bool `json:"sources_excluded,omitempty"` }
type FirewallRuleList ¶
type FirewallRuleList struct { // List of firewall rules in the section. Only homogenous rules are supported. Rules []FirewallRule `json:"rules"` }
type FirewallRuleListResult ¶
type FirewallRuleListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Firewall rule list result with pagination support. Results []FirewallRule `json:"results,omitempty"` }
type FirewallSection ¶
type FirewallSection struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // List of objects where the rules in this section will be enforced. This will take precedence over rule level appliedTo. AppliedTos []common.ResourceReference `json:"applied_tos,omitempty"` // It is a boolean flag which reflects whether a firewall section is default section or not. Each Layer 3 and Layer 2 section will have at least and at most one default section. IsDefault bool `json:"is_default,omitempty"` // Number of rules in this section. RuleCount int64 `json:"rule_count,omitempty"` // Type of the rules which a section can contain. Only homogeneous sections are supported. SectionType string `json:"section_type"` // Stateful or Stateless nature of firewall section is enforced on all rules inside the section. Layer3 sections can be stateful or stateless. Layer2 sections can only be stateless. Stateful bool `json:"stateful"` }
func (*FirewallSection) GetFirewallSection ¶
func (b *FirewallSection) GetFirewallSection() *FirewallSection
type FirewallSectionListResult ¶
type FirewallSectionListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of the firewall sections. The list has to be homogenous. Results []FirewallSection `json:"results,omitempty"` }
type FirewallSectionRuleList ¶
type FirewallSectionRuleList struct { FirewallSection // List of firewall rules in the section. Only homogenous rules are supported. Rules []FirewallRule `json:"rules"` }
type FirewallSectionState ¶
type FirewallSectionState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` // revision number of the desired state RevisionDesired int64 `json:"revision_desired,omitempty"` }
type FirewallService ¶
type FirewallService struct { // Will be set to false if the referenced NSX resource has been deleted. IsValid bool `json:"is_valid,omitempty"` // Display name of the NSX resource. TargetDisplayName string `json:"target_display_name,omitempty"` // Identifier of the NSX resource. TargetId string `json:"target_id,omitempty"` // Type of the NSX resource. TargetType string `json:"target_type,omitempty"` // Firewall API accepts raw protocol and ports as part of NS service element in Firewall Rule that describes traffic corresponding to an NSService. Service *NsServiceElement `json:"service,omitempty"` }
type FirewallStats ¶
type FirewallStats struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Aggregated number of bytes processed by the rule. ByteCount int64 `json:"byte_count,omitempty"` // Aggregated number of packets processed by the rule. PacketCount int64 `json:"packet_count,omitempty"` // Rule Identifier of the Firewall rule. This is a globally unique number. RuleId string `json:"rule_id,omitempty"` // Aggregated number of sessions processed by the rule SessionCount int64 `json:"session_count,omitempty"` }
type FirewallStatus ¶
type FirewallStatus struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Types of firewall contexts. Context string `json:"context"` // Firewall status for a fabric entity or in global context where firewall is supported. GlobalStatus string `json:"global_status"` }
type FirewallStatusListResult ¶
type FirewallStatusListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` Results []FirewallStatus `json:"results,omitempty"` }
type GenericDhcpOption ¶
type HaVipConfig ¶
type HaVipConfig struct { // Flag to enable this ha vip config. Enabled bool `json:"enabled,omitempty"` // Array of IP address subnets which will be used as floating IP addresses. | Note - this configuration is applicable only for Active-Standby LogicalRouter. | For Active-Active LogicalRouter this configuration will be rejected. HaVipSubnets []VipSubnet `json:"ha_vip_subnets"` // Identifiers of logical router uplink ports which are to be paired to provide | redundancy. Floating IP will be owned by one of these uplink ports (depending upon | which node is Active). RedundantUplinkPortIds []string `json:"redundant_uplink_port_ids"` }
type HostSwitch ¶
type HostSwitch struct { // If this name is unset or empty then the default host switch name will be used. The name must be unique among all host switches specified in a given Transport Node; unset name, empty name and the default host switch name are considered the same in terms of uniqueness. HostSwitchName string `json:"host_switch_name,omitempty"` // HostSwitch profiles bound to this HostSwitch. If a profile ID is not provided for any HostSwitchProfileType that is supported by the Transport Node, the corresponding default profile will be bound to the HostSwitch. HostSwitchProfileIds []HostSwitchProfileTypeIdEntry `json:"host_switch_profile_ids,omitempty"` // Physical NICs connected to the host switch Pnics []Pnic `json:"pnics,omitempty"` // ID of configured Static IP Pool. If specified allocate IP for Endpoints from Pool. Else assume IP will be assigned for Endpoints from DHCP. This field is deprecated, use ip_assignment_spec field instead. StaticIpPoolId string `json:"static_ip_pool_id,omitempty"` }
Host Switch specification
type HostSwitchProfilesListResult ¶
type HostSwitchProfilesListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // HostSwitch Profile Results Results []BaseHostSwitchProfile `json:"results,omitempty"` }
type HostSwitchSpec ¶
type HostSwitchSpec struct {
ResourceType string `json:"resource_type"`
}
Abstract base type for transport node host switch specification
type HostSwitchState ¶
type HostSwitchState struct { // List of virtual tunnel endpoints which are configured on this switch Endpoints []Endpoint `json:"endpoints,omitempty"` // External ID of the HostSwitch HostSwitchId string `json:"host_switch_id,omitempty"` // The name must be unique among all host switches specified in a given Transport Node. HostSwitchName string `json:"host_switch_name,omitempty"` // List of Ids of TransportZones this HostSwitch belongs to TransportZoneIds []string `json:"transport_zone_ids,omitempty"` }
Host Switch State
type IPv4AddressProperties ¶
type IPv4AddressProperties struct { // Interface IPv4 address IpAddress string `json:"ip_address,omitempty"` // Interface netmask Netmask string `json:"netmask,omitempty"` }
IPv4 address properties
type IPv4DhcpServer ¶
type IPv4DhcpServer struct { // dhcp server ip in cidr format DhcpServerIp string `json:"dhcp_server_ip"` // dns ips DnsNameservers []string `json:"dns_nameservers,omitempty"` // domain name DomainName string `json:"domain_name,omitempty"` // gateway ip GatewayIp string `json:"gateway_ip,omitempty"` // Defines the default options for all ip-pools and static-bindings of this server. These options will be ignored if options are defined for ip-pools or static-bindings. Options *DhcpOptions `json:"options,omitempty"` }
type IcmpTypeNsService ¶
type IcmpTypeNsService struct { NsService NsserviceElement IcmpTypeNsServiceEntry `json:"nsservice_element"` }
type IcmpTypeNsServiceEntry ¶
type IgmpTypeNsService ¶
type IgmpTypeNsService struct { NsService NsserviceElement IgmpTypeNsServiceEntry `json:"nsservice_element"` }
type IgmpTypeNsServiceEntry ¶
type IgmpTypeNsServiceEntry struct {
ResourceType string `json:"resource_type"`
}
type InterfaceNeighborProperties ¶
type InterfaceNeighborProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Interface index Ifindex int64 `json:"ifindex,omitempty"` // Interface MAC address Mac string `json:"mac,omitempty"` // Interface Name Name string `json:"name,omitempty"` // Neighbor properties Neighbors []NeighborProperties `json:"neighbors,omitempty"` }
type InterfaceNeighborPropertyListResult ¶
type InterfaceNeighborPropertyListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Interface neighbor property results Results []InterfaceNeighborProperties `json:"results,omitempty"` }
type IpAddressInfo ¶
type IpAddressInfo struct { // IP Addresses of the the virtual network interface, as discovered in the source. IpAddresses []string `json:"ip_addresses,omitempty"` // Source of the ipaddress information. Source string `json:"source,omitempty"` }
Ipaddress information of the fabric node.
type IpAllocationBase ¶
type IpAllocationBase struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // gateway ip GatewayIp string `json:"gateway_ip,omitempty"` // lease time, in seconds, [60-(2^32-1)], default 86400 LeaseTime int64 `json:"lease_time,omitempty"` // If an option is defined at server level and not configred at ip-pool/static-binding level, the option will be inherited to ip-pool/static-binding. If both define a same-code option, the option defined at ip-pool/static-binding level take precedence over that defined at server level. Options *DhcpOptions `json:"options,omitempty"` }
type IpAssignmentSpec ¶
type IpAssignmentSpec struct {
ResourceType string `json:"resource_type"`
}
Abstract base type for specification of IPs to be used with host switch virtual tunnel endpoints
type IpBlock ¶
type IpBlock struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Represents network address and the prefix length which will be associated with a layer-2 broadcast domain Cidr string `json:"cidr"` }
type IpBlockListResult ¶
type IpBlockListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // IP block list results Results []IpBlock `json:"results"` }
type IpBlockSubnet ¶
type IpBlockSubnet struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // A collection of IPv4 IP ranges used for IP allocation. AllocationRanges []IpPoolRange `json:"allocation_ranges,omitempty"` // Block id for which the subnet is created. BlockId string `json:"block_id"` // Represents network address and the prefix length which will be associated with a layer-2 broadcast domain Cidr string `json:"cidr,omitempty"` // Represents the size or number of ip addresses in the subnet Size int64 `json:"size"` }
type IpBlockSubnetListResult ¶
type IpBlockSubnetListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // IP block subnet list results Results []IpBlockSubnet `json:"results"` }
type IpDiscoverySwitchingProfile ¶
type IpDiscoverySwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // Indicates whether ARP snooping is enabled ArpSnoopingEnabled bool `json:"arp_snooping_enabled"` // Indicates whether DHCP snooping is enabled DhcpSnoopingEnabled bool `json:"dhcp_snooping_enabled"` // This option is only supported on ESX where vm-tools is installed. VmToolsEnabled bool `json:"vm_tools_enabled"` // Limit the number of ARPs bindings. ArpBindingsLimit int `json:"arp_bindings_limit,omitempty"` }
type IpPool ¶
type IpPool struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Pool usage statistics PoolUsage *PoolUsage `json:"pool_usage,omitempty"` // Subnets can be IPv4 or IPv6 and they should not overlap. The maximum number will not exceed 5 subnets. Subnets []IpPoolSubnet `json:"subnets,omitempty"` }
type IpPoolListResult ¶
type IpPoolListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // IP pool list results Results []IpPool `json:"results"` }
type IpPoolRange ¶
type IpPoolRange struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The end IP Address of the IP Range. End string `json:"end"` // The start IP Address of the IP Range. Start string `json:"start"` }
type IpPoolSubnet ¶
type IpPoolSubnet struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // A collection of IPv4 or IPv6 IP Pool Ranges. AllocationRanges []IpPoolRange `json:"allocation_ranges"` // Represents network address and the prefix length which will be associated with a layer-2 broadcast domain Cidr string `json:"cidr"` // The collection of upto 3 DNS servers for the subnet. DnsNameservers []string `json:"dns_nameservers,omitempty"` // The DNS suffix for the DNS server. DnsSuffix string `json:"dns_suffix,omitempty"` // The default gateway address on a layer-3 router. GatewayIp string `json:"gateway_ip,omitempty"` }
type IpPrefixList ¶
type IpPrefixList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // Ordered list of PrefixConfig Prefixes []PrefixConfig `json:"prefixes"` }
type IpPrefixListListResult ¶
type IpPrefixListListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paginated list of IPPrefixLists Results []IpPrefixList `json:"results"` }
type IpProtocolNsService ¶
type IpProtocolNsService struct { NsService NsserviceElement IpProtocolNsServiceEntry `json:"nsservice_element"` }
type IpSet ¶
type IpSet struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // IP addresses IpAddresses []string `json:"ip_addresses,omitempty"` }
type IpSetListResult ¶
type IpSetListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // IPSet list results Results []IpSet `json:"results"` }
type L4PortSetNsService ¶
type L4PortSetNsService struct { NsService NsserviceElement L4PortSetNsServiceEntry `json:"nsservice_element"` }
type Lag ¶
type Lag struct { // unique id Id string `json:"id,omitempty"` // LACP load balance Algorithm LoadBalanceAlgorithm string `json:"load_balance_algorithm"` // LACP group mode Mode string `json:"mode"` // Lag name Name string `json:"name"` // number of uplinks NumberOfUplinks int32 `json:"number_of_uplinks"` // LACP timeout type TimeoutType string `json:"timeout_type,omitempty"` // uplink names Uplinks []Uplink `json:"uplinks,omitempty"` }
LACP group
type LogicalDhcpServer ¶
type LogicalDhcpServer struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // id of attached logical port AttachedLogicalPortId string `json:"attached_logical_port_id,omitempty"` // dhcp profile uuid DhcpProfileId string `json:"dhcp_profile_id"` // dhcp server for ipv4 addresses Ipv4DhcpServer *IPv4DhcpServer `json:"ipv4_dhcp_server"` }
type LogicalDhcpServerListResult ¶
type LogicalDhcpServerListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // paginated list of dhcp servers Results []LogicalDhcpServer `json:"results"` }
type LogicalPort ¶
type LogicalPort struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Address bindings for logical port AddressBindings []PacketAddressClassifier `json:"address_bindings,omitempty"` // Represents Desired state of the logical port AdminState string `json:"admin_state"` // Logical port attachment Attachment *LogicalPortAttachment `json:"attachment,omitempty"` // This property could be used for vendor specific configuration in key value string pairs. Logical port setting will override logical switch setting if the same key was set on both logical switch and logical port. ExtraConfigs []ExtraConfig `json:"extra_configs,omitempty"` // Id of the Logical switch that this port belongs to. LogicalSwitchId string `json:"logical_switch_id"` SwitchingProfileIds []SwitchingProfileTypeIdEntry `json:"switching_profile_ids,omitempty"` }
type LogicalPortAttachment ¶
type LogicalPortAttachment struct { // Indicates the type of logical port attachment. By default it is Virtual Machine interface (VIF) AttachmentType string `json:"attachment_type,omitempty"` // Extra context data for the attachment Context *AttachmentContext `json:"context,omitempty"` // Identifier of the interface attached to the logical port Id string `json:"id"` }
Logical port attachment
type LogicalPortListResult ¶
type LogicalPortListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // LogicalPort Results Results []LogicalPort `json:"results,omitempty"` }
type LogicalPortMacAddressCsvListResult ¶
type LogicalPortMacAddressCsvListResult struct { // File name set by HTTP server if API returns CSV result as a file. FileName string `json:"file_name,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Results []LogicalPortMacTableCsvEntry `json:"results,omitempty"` }
type LogicalPortMacAddressListResult ¶
type LogicalPortMacAddressListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical port LogicalPortId string `json:"logical_port_id,omitempty"` Results []LogicalPortMacTableEntry `json:"results,omitempty"` // Transport node identifier TransportNodeId string `json:"transport_node_id,omitempty"` }
type LogicalPortOperationalStatus ¶
type LogicalPortOperationalStatus struct { // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical port LogicalPortId string `json:"logical_port_id,omitempty"` // The Operational status of the logical port Status string `json:"status"` }
type LogicalPortState ¶
type LogicalPortState struct { // Logical port bindings discovered automatically DiscoveredBindings []AddressBindingEntry `json:"discovered_bindings,omitempty"` // Id of the logical port Id string `json:"id"` // Realized logical port bindings RealizedBindings []AddressBindingEntry `json:"realized_bindings,omitempty"` // Identifiers of the transport node where the port is located TransportNodeIds []string `json:"transport_node_ids,omitempty"` }
Contians realized state of the logical port. For example, transport node on which the port is located, discovered and realized address bindings of the logical port.
type LogicalPortStatistics ¶
type LogicalPortStatistics struct { RxBytes *DataCounter `json:"rx_bytes,omitempty"` RxPackets *DataCounter `json:"rx_packets,omitempty"` TxBytes *DataCounter `json:"tx_bytes,omitempty"` TxPackets *DataCounter `json:"tx_packets,omitempty"` DroppedBySecurityPackets *PacketsDroppedBySecurity `json:"dropped_by_security_packets,omitempty"` MacLearning *MacLearningCounters `json:"mac_learning,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical port LogicalPortId string `json:"logical_port_id,omitempty"` }
type LogicalPortStatusSummary ¶
type LogicalPortStatusSummary struct { // The filters used to find the logical ports- TransportZone id, LogicalSwitch id or LogicalSwitchProfile id Filters []Filter `json:"filters,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The total number of logical ports. TotalPorts int64 `json:"total_ports"` // The number of logical ports whose Operational status is UP UpPorts int64 `json:"up_ports"` }
type LogicalRouter ¶
type LogicalRouter struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Contains config properties for tier0 routers AdvancedConfig *LogicalRouterConfig `json:"advanced_config,omitempty"` // Used for tier0 routers EdgeClusterId string `json:"edge_cluster_id,omitempty"` // This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Note - It can be specified if and only if logical router is ACTIVE_STANDBY and NON_PREEMPTIVE mode is supported only for a Tier1 logical router. For Tier0 ACTIVE_STANDBY logical router, failover mode is always PREEMPTIVE, i.e. once the preferred node comes up after a failure, it will preempt the peer causing failover from current active to preferred node. For ACTIVE_ACTIVE logical routers, this field must not be populated. FailoverMode string `json:"failover_mode,omitempty"` // List of Firewall sections related to Logical Router. FirewallSections []common.ResourceReference `json:"firewall_sections,omitempty"` // High availability mode HighAvailabilityMode string `json:"high_availability_mode,omitempty"` // Used for tier0 routers only PreferredEdgeClusterMemberIndex int64 `json:"preferred_edge_cluster_member_index,omitempty"` // Type of Logical Router RouterType string `json:"router_type"` }
type LogicalRouterCentralizedServicePort ¶
type LogicalRouterCentralizedServicePort struct { // The server will populate this field when returning the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // port type: "LogicalRouterCentralizedServicePort" ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` // Reference to the logical switch port to connect to LinkedLogicalSwitchPortId *common.ResourceReference `json:"linked_logical_switch_port_id,omitempty"` // Logical router port subnets Subnets []IpSubnet `json:"subnets"` // Unicast Reverse Path Forwarding mode UrpfMode string `json:"urpf_mode,omitempty"` }
type LogicalRouterConfig ¶
type LogicalRouterConfig struct { // CIDR block defining tier0 to tier1 links ExternalTransitNetworks []string `json:"external_transit_networks,omitempty"` // This configuration can be defined only for Active-Standby LogicalRouter to provide | redundancy. For mulitple uplink ports, multiple HaVipConfigs must be defined | and each config will pair exactly two uplink ports. The VIP will move and will | always be owned by the Active node. Note - when HaVipConfig[s] are defined, | configuring dynamic-routing is disallowed. HaVipConfigs []HaVipConfig `json:"ha_vip_configs,omitempty"` // CIDR block defining Service router to distributed router links InternalTransitNetwork string `json:"internal_transit_network,omitempty"` }
type LogicalRouterDownLinkPort ¶
type LogicalRouterDownLinkPort struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` // Reference to the logical switch port to connect to LinkedLogicalSwitchPortId *common.ResourceReference `json:"linked_logical_switch_port_id,omitempty"` // Logical router port subnets Subnets []IpSubnet `json:"subnets"` // Unicast Reverse Path Forwarding mode UrpfMode string `json:"urpf_mode,omitempty"` }
type LogicalRouterLinkPortOnTier0 ¶
type LogicalRouterLinkPortOnTier0 struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` // Identifier of connected LogicalRouterLinkPortOnTIER1 of TIER1 logical router LinkedLogicalRouterPortId string `json:"linked_logical_router_port_id,omitempty"` // Logical router port subnets Subnets []IpSubnet `json:"subnets,omitempty"` }
type LogicalRouterLinkPortOnTier1 ¶
type LogicalRouterLinkPortOnTier1 struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` // Member index of the edge node on the cluster EdgeClusterMemberIndex []int64 `json:"edge_cluster_member_index,omitempty"` // Reference of LogicalRouterLinkPortOnTIER0 of TIER0 logical router to connect this TIER1 logical router outwards. LinkedLogicalRouterPortId *common.ResourceReference `json:"linked_logical_router_port_id,omitempty"` // Logical router port subnets Subnets []IpSubnet `json:"subnets,omitempty"` }
type LogicalRouterListResult ¶
type LogicalRouterListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Logical router list results Results []LogicalRouter `json:"results"` }
type LogicalRouterLoopbackPort ¶
type LogicalRouterLoopbackPort struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` // Member index of the edge node on the cluster EdgeClusterMemberIndex []int64 `json:"edge_cluster_member_index"` // Loopback port subnets Subnets []IpSubnet `json:"subnets"` }
type LogicalRouterPort ¶
type LogicalRouterPort struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` }
type LogicalRouterPortArpTable ¶
type LogicalRouterPortArpTable struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The ID of the logical router port LogicalRouterPortId string `json:"logical_router_port_id"` Results []LogicalRouterPortArpEntry `json:"results,omitempty"` }
type LogicalRouterPortArpTableInCsvFormat ¶
type LogicalRouterPortArpTableInCsvFormat struct { // File name set by HTTP server if API returns CSV result as a file. FileName string `json:"file_name,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Results []LogicalRouterPortArpCsvRecord `json:"results,omitempty"` }
type LogicalRouterPortListResult ¶
type LogicalRouterPortListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Logical router port list results Results []LogicalRouterPort `json:"results"` }
type LogicalRouterPortStatistics ¶
type LogicalRouterPortStatistics struct { // The ID of the logical router port LogicalRouterPortId string `json:"logical_router_port_id"` // Per Node Statistics PerNodeStatistics []LogicalRouterPortStatisticsPerNode `json:"per_node_statistics,omitempty"` }
type LogicalRouterPortStatisticsPerNode ¶
type LogicalRouterPortStatisticsPerNode struct { // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Rx *LogicalRouterPortCounters `json:"rx,omitempty"` Tx *LogicalRouterPortCounters `json:"tx,omitempty"` // The ID of the TransportNode TransportNodeId string `json:"transport_node_id,omitempty"` }
type LogicalRouterPortStatisticsSummary ¶
type LogicalRouterPortStatisticsSummary struct { // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Rx *LogicalRouterPortCounters `json:"rx,omitempty"` Tx *LogicalRouterPortCounters `json:"tx,omitempty"` // The ID of the logical router port LogicalRouterPortId string `json:"logical_router_port_id"` }
type LogicalRouterRouteCsvRecord ¶
type LogicalRouterRouteCsvRecord struct { // The admin distance of the next hop AdminDistance int64 `json:"admin_distance,omitempty"` // The id of the logical router port which is used as the next hop LogicalRouterPortId string `json:"logical_router_port_id,omitempty"` // Logical router component(Service Router/Distributed Router) id LrComponentId string `json:"lr_component_id,omitempty"` // Logical router component(Service Router/Distributed Router) type LrComponentType string `json:"lr_component_type,omitempty"` // CIDR network address Network string `json:"network"` // The IP of the next hop NextHop string `json:"next_hop,omitempty"` // Route type (USER, CONNECTED, NSX_INTERNAL,..) RouteType string `json:"route_type"` }
type LogicalRouterRouteEntry ¶
type LogicalRouterRouteEntry struct { // The admin distance of the next hop AdminDistance int64 `json:"admin_distance,omitempty"` // The id of the logical router port which is used as the next hop LogicalRouterPortId string `json:"logical_router_port_id,omitempty"` // Logical router component(Service Router/Distributed Router) id LrComponentId string `json:"lr_component_id,omitempty"` // Logical router component(Service Router/Distributed Router) type LrComponentType string `json:"lr_component_type,omitempty"` // CIDR network address Network string `json:"network"` // The IP address of the next hop NextHop string `json:"next_hop,omitempty"` // Route type (USER, CONNECTED, NSX_INTERNAL,..) RouteType string `json:"route_type"` }
type LogicalRouterRouteTable ¶
type LogicalRouterRouteTable struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical router LogicalRouterId string `json:"logical_router_id"` // Name of the logical router LogicalRouterName string `json:"logical_router_name,omitempty"` Results []LogicalRouterRouteEntry `json:"results,omitempty"` }
type LogicalRouterRouteTableInCsvFormat ¶
type LogicalRouterRouteTableInCsvFormat struct { // File name set by HTTP server if API returns CSV result as a file. FileName string `json:"file_name,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Results []LogicalRouterRouteCsvRecord `json:"results,omitempty"` }
type LogicalRouterStatus ¶
type LogicalRouterStatus struct { // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical router LogicalRouterId string `json:"logical_router_id"` // Per Node Status PerNodeStatus []LogicalRouterStatusPerNode `json:"per_node_status,omitempty"` }
type LogicalRouterStatusPerNode ¶
type LogicalRouterStatusPerNode struct { // A service router's HA status on an edge node HighAvailabilityStatus string `json:"high_availability_status"` // id of the service router where the router status is retrieved. ServiceRouterId string `json:"service_router_id,omitempty"` // id of the transport node where the router status is retrieved. TransportNodeId string `json:"transport_node_id"` }
type LogicalRouterUpLinkPort ¶
type LogicalRouterUpLinkPort struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Identifier for logical router on which this port is created LogicalRouterId string `json:"logical_router_id"` // MAC address MacAddress string `json:"mac_address,omitempty"` // Service Bindings ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"` // Member index of the edge node on the cluster EdgeClusterMemberIndex []int64 `json:"edge_cluster_member_index"` // Reference to the logical switch port to connect to LinkedLogicalSwitchPortId *common.ResourceReference `json:"linked_logical_switch_port_id,omitempty"` // Logical router port subnets Subnets []IpSubnet `json:"subnets"` // Unicast Reverse Path Forwarding mode UrpfMode string `json:"urpf_mode,omitempty"` }
type LogicalService ¶
type LogicalService struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // Resource type of the logical service ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // dhcp relay profile referenced by the dhcp relay service DhcpRelayProfileId string `json:"dhcp_relay_profile_id"` }
type LogicalServiceListResult ¶
type LogicalServiceListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Logical router service list results Results []LogicalService `json:"results"` }
type LogicalSwitch ¶
type LogicalSwitch struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Address bindings for the Logical switch AddressBindings []PacketAddressClassifier `json:"address_bindings,omitempty"` // Represents Desired state of the Logical Switch AdminState string `json:"admin_state"` // IP pool id that associated with a LogicalSwitch. IpPoolId string `json:"ip_pool_id,omitempty"` // Mac pool id that associated with a LogicalSwitch. MacPoolId string `json:"mac_pool_id,omitempty"` // Replication mode of the Logical Switch ReplicationMode string `json:"replication_mode,omitempty"` SwitchingProfileIds []SwitchingProfileTypeIdEntry `json:"switching_profile_ids,omitempty"` // Id of the TransportZone to which this LogicalSwitch is associated TransportZoneId string `json:"transport_zone_id"` Vlan int64 `json:"vlan"` // VNI for this LogicalSwitch. Vni int32 `json:"vni,omitempty"` }
type LogicalSwitchListResult ¶
type LogicalSwitchListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Logical Switch Results Results []LogicalSwitch `json:"results,omitempty"` }
type LogicalSwitchState ¶
type LogicalSwitchState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` // Id of the logical switch LogicalSwitchId string `json:"logical_switch_id,omitempty"` }
type LogicalSwitchStateListResult ¶
type LogicalSwitchStateListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Logical Switch State Results Results []LogicalSwitchState `json:"results,omitempty"` }
type LogicalSwitchStatistics ¶
type LogicalSwitchStatistics struct { RxBytes *DataCounter `json:"rx_bytes,omitempty"` RxPackets *DataCounter `json:"rx_packets,omitempty"` TxBytes *DataCounter `json:"tx_bytes,omitempty"` TxPackets *DataCounter `json:"tx_packets,omitempty"` DroppedBySecurityPackets *PacketsDroppedBySecurity `json:"dropped_by_security_packets,omitempty"` MacLearning *MacLearningCounters `json:"mac_learning,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical Switch LogicalSwitchId string `json:"logical_switch_id,omitempty"` }
type LogicalSwitchStatus ¶
type LogicalSwitchStatusListResult ¶
type LogicalSwitchStatusListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // LogicalSwitchStatus Results Results []LogicalSwitchStatus `json:"results,omitempty"` }
type LogicalSwitchStatusSummary ¶
type LogicalSwitchStatusSummary struct { // The filters used to find the logical switches- TransportZone id, LogicalSwitchProfile id or TransportType Filters []Filter `json:"filters,omitempty"` // The number of logical switches that are realized in all transport nodes. FullyRealizedSwitches int64 `json:"fully_realized_switches"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The total number of logical switches. TotalSwitches int64 `json:"total_switches"` }
type LoginCredential ¶
type LoginCredential struct { // Login credential, for example username-password-thumbprint or certificate based, etc CredentialType string `json:"credential_type"` }
type MacAddressCsvListResult ¶
type MacAddressCsvListResult struct { // File name set by HTTP server if API returns CSV result as a file. FileName string `json:"file_name,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Results []MacTableCsvRecord `json:"results,omitempty"` }
type MacAddressElement ¶
type MacAddressElement struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // A MAC address. Must be 6 pairs of hexadecimal digits, upper or lower case, separated by colons or dashes. Examples: 01:23:45:67:89:ab, 01-23-45-67-89-AB. MacAddress string `json:"mac_address,omitempty"` }
type MacAddressElementListResult ¶
type MacAddressElementListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // MAC address element list Results []MacAddressElement `json:"results"` }
type MacAddressListResult ¶
type MacAddressListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical Switch LogicalSwitchId string `json:"logical_switch_id,omitempty"` Results []MacTableEntry `json:"results,omitempty"` // Transport node identifier TransportNodeId string `json:"transport_node_id,omitempty"` }
type MacLearningCounters ¶
type MacLearningCounters struct { // The number of packets with unknown source MAC address that are dispatched without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_ALLOW. MacNotLearnedPacketsAllowed int64 `json:"mac_not_learned_packets_allowed,omitempty"` // The number of packets with unknown source MAC address that are dropped without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_DROP. MacNotLearnedPacketsDropped int64 `json:"mac_not_learned_packets_dropped,omitempty"` // Number of MACs learned MacsLearned int64 `json:"macs_learned,omitempty"` }
type MacLearningSpec ¶
type MacLearningSpec struct { // Aging time in sec for learned MAC address AgingTime int32 `json:"aging_time,omitempty"` // Allowing source MAC address learning Enabled bool `json:"enabled"` // The maximum number of MAC addresses that can be learned on this port Limit int32 `json:"limit,omitempty"` // The policy after MAC Limit is exceeded LimitPolicy string `json:"limit_policy,omitempty"` // Allowing flooding for unlearned MAC for ingress traffic UnicastFloodingAllowed bool `json:"unicast_flooding_allowed"` }
MAC learning configuration
type MacManagementSwitchingProfile ¶
type MacManagementSwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // Allowing source MAC address change MacChangeAllowed bool `json:"mac_change_allowed,omitempty"` // MAC learning configuration MacLearning *MacLearningSpec `json:"mac_learning,omitempty"` }
type MacPool ¶
type MacPool struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Array of ranges for MAC addresses Ranges []MacRange `json:"ranges"` }
type MacPoolListResult ¶
type MacPoolListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // MAC pool list results Results []MacPool `json:"results"` }
type MacRange ¶
type MacRange struct { // End value for MAC address range End string `json:"end"` // Start value for MAC address range Start string `json:"start"` }
A range of MAC addresses with a start and end value
type MacSet ¶
type MacSet struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // MAC addresses MacAddresses []string `json:"mac_addresses,omitempty"` }
type MacSetListResult ¶
type MacSetListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paged collection of MACSets Results []MacSet `json:"results"` }
type MacTableCsvRecord ¶
type MacTableEntry ¶
type ManagementConfig ¶
type ManagementConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // True if Management nodes publish their fqdns(instead of default IP addresses) across NSX for its reachability. PublishFqdns bool `json:"publish_fqdns"` }
type MetadataProxy ¶
type MetadataProxy struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // id of attached logical port AttachedLogicalPortId string `json:"attached_logical_port_id,omitempty"` // edge cluster uuid EdgeClusterId string `json:"edge_cluster_id"` // If none is provided, the NSX will auto-select two edge-nodes from the given edge cluster. If user provides only one edge node, there will be no HA support. EdgeClusterMemberIndexes []int64 `json:"edge_cluster_member_indexes,omitempty"` // The CAs referenced here must be uploaded to the truststore using the API POST /api/v1/trust-management/certificates?action=import. User needs to ensure a correct CA for this metedata server is used. The REST API can not detect a wrong CA which was used to verify a different server. If the Metadata Proxy reports an ERROR or NO_BACKUP status, user can check the metadata proxy log at transport node for a possible CA issue. MetadataServerCaIds []string `json:"metadata_server_ca_ids,omitempty"` // The URL in format scheme://host:port/path. Please note, the scheme supports only http and https as of now, port supports range 3000 - 9000, inclusive. MetadataServerUrl string `json:"metadata_server_url"` // secret to access metadata server Secret string `json:"secret,omitempty"` }
type MetadataProxyListResult ¶
type MetadataProxyListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // paginated list of metadata proxies Results []MetadataProxy `json:"results"` }
type MetadataProxyStatistics ¶
type MetadataProxyStatistics struct { // metadata proxy uuid MetadataProxyId string `json:"metadata_proxy_id"` // metadata proxy statistics per logical switch Statistics []MetadataProxyStatisticsPerLogicalSwitch `json:"statistics,omitempty"` // timestamp of the statistics Timestamp int64 `json:"timestamp"` }
type MetadataProxyStatisticsPerLogicalSwitch ¶
type MetadataProxyStatisticsPerLogicalSwitch struct { // error responses from nova server ErrorResponsesFromNovaServer int64 `json:"error_responses_from_nova_server"` // uuid of attached logical switch LogicalSwitchId string `json:"logical_switch_id"` // requests from clients RequestsFromClients int64 `json:"requests_from_clients"` // requests to nova server RequestsToNovaServer int64 `json:"requests_to_nova_server"` // responses to clients ResponsesToClients int64 `json:"responses_to_clients"` // succeeded responses from nova server SucceededResponsesFromNovaServer int64 `json:"succeeded_responses_from_nova_server"` }
type MetadataProxyStatus ¶
type MetadataProxyStatus struct { // Error message, if available ErrorMessage string `json:"error_message,omitempty"` // UP means the metadata proxy is working fine on both transport-nodes(if have); DOWN means the metadata proxy is is down on both transport-nodes(if have), hence the metadata proxy will not repsonse any metadata request; Error means error happens on transport-node(s) or no status is reported from transport-node(s). The metadata proxy may be working (or not working); NO_BACK means metadata proxy is working in one of the transport node while not in the other transport-node (if have). Hence if the metadata proxy in the working transport-node goes down, the metadata proxy will go down. ProxyStatus string `json:"proxy_status"` // Order of the transport nodes is insensitive because Metadata Proxy is running in Active-Active mode among target transport nodes. TransportNodes []string `json:"transport_nodes"` }
type MirrorDestination ¶
type MirrorDestination struct { // Resource types of mirror destination ResourceType string `json:"resource_type"` }
type MirrorSource ¶
type MirrorSource struct { // Resource types of mirror source ResourceType string `json:"resource_type"` }
type MsgClientInfo ¶
type MsgClientInfo struct { // Account name for the messaging client. Identifies the client on the management plane message bus. AccountName string `json:"account_name,omitempty"` // Messaging client's certificate. Used to authenticate to the control plane messaging endpoint. Certificate string `json:"certificate,omitempty"` SharedSecret string `json:"shared_secret,omitempty"` }
type NatCounters ¶
type NatRule ¶
type NatRule struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // valid actions: SNAT, DNAT, NO_NAT, REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, can NOT be supported when the logical router is running at active-active HA mode; REFLEXIVE is stateless. NO_NAT has no translated_fields, only match fields. Action string `json:"action"` // enable/disable the rule Enabled bool `json:"enabled"` // enable/disable the logging of rule Logging bool `json:"logging"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // IP Address | CIDR | (null implies Any) MatchDestinationNetwork string `json:"match_destination_network,omitempty"` // A NSServiceElement that specifies the matching services of source ports, destination ports, ip protocol version and number, sub protocol version and number, ICMP type and code, etc. MatchService *NsServiceElement `json:"match_service,omitempty"` // IP Address | CIDR | (null implies Any) MatchSourceNetwork string `json:"match_source_network,omitempty"` // Default is true. If the nat_pass is set to true, the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted. NatPass bool `json:"nat_pass"` // Ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined. RulePriority int64 `json:"rule_priority,omitempty"` // IP Address | IP Range | CIDR TranslatedNetwork string `json:"translated_network,omitempty"` // port number or port range. DNAT only TranslatedPorts string `json:"translated_ports,omitempty"` }
type NatRuleListResult ¶
type NatRuleListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // NAT rule list results Results []NatRule `json:"results"` }
type NatStatisticsPerLogicalRouter ¶
type NatStatisticsPerLogicalRouter struct { // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // Id for the logical router LogicalRouterId string `json:"logical_router_id,omitempty"` // Detailed per node statistics PerTransportNodeStatistics []NatStatisticsPerTransportNode `json:"per_transport_node_statistics,omitempty"` // Rolled-up statistics for all rules on the logical router across all the nodes StatisticsAcrossAllNodes *NatCounters `json:"statistics_across_all_nodes,omitempty"` }
type NatStatisticsPerRule ¶
type NatStatisticsPerRule struct { // The number of active sessions ActiveSessions int64 `json:"active_sessions,omitempty"` // The number of bytes TotalBytes int64 `json:"total_bytes,omitempty"` // The number of packets TotalPackets int64 `json:"total_packets,omitempty"` // The id of the NAT rule. Id string `json:"id,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical router which owns the NAT rule. LogicalRouterId string `json:"logical_router_id,omitempty"` }
type NatStatisticsPerTransportNode ¶
type NatStatisticsPerTransportNode struct { // The number of active sessions ActiveSessions int64 `json:"active_sessions,omitempty"` // The number of bytes TotalBytes int64 `json:"total_bytes,omitempty"` // The number of packets TotalPackets int64 `json:"total_packets,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // Id for the transport node TransportNodeId string `json:"transport_node_id,omitempty"` }
type NeighborProperties ¶
type NeighborProperties struct { // Capabilities Capabilities string `json:"capabilities,omitempty"` // Enabled capabilities EnabledCapabilities string `json:"enabled_capabilities,omitempty"` // Interface index Ifindex int64 `json:"ifindex,omitempty"` // Aggregation Capability LinkAggregationCapable bool `json:"link_aggregation_capable,omitempty"` // Aggregation port id LinkAggregationPortId string `json:"link_aggregation_port_id,omitempty"` // True if currently in aggregation LinkAggregationStatus bool `json:"link_aggregation_status,omitempty"` // Interface MAC address Mac string `json:"mac,omitempty"` // Management address MgmtAddr string `json:"mgmt_addr,omitempty"` // Interface name Name string `json:"name,omitempty"` // Object identifier Oid string `json:"oid,omitempty"` // Port description PortDesc string `json:"port_desc,omitempty"` // System description SystemDesc string `json:"system_desc,omitempty"` // System name SystemName string `json:"system_name,omitempty"` // System port number SystemPortNumber int64 `json:"system_port_number,omitempty"` }
Neighbor properties
type NetworkEncryptionStatus ¶
type NetworkEncryptionStatus struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Network encryption status for a particular context. Context could represent all or specific logical entities where firewall is supported. Examples of logical entities are hypervisors and logical routers. Context string `json:"context,omitempty"` // Network encryption status for the given context. Status string `json:"status,omitempty"` }
type Node ¶
type Node struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // Fabric node type, for example 'HostNode', 'EdgeNode' or 'PublicCloudGatewayNode' ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Discovered IP Addresses of the fabric node, version 4 or 6 DiscoveredIpAddresses []string `json:"discovered_ip_addresses,omitempty"` // ID of the Node maintained on the Node and used to recognize the Node ExternalId string `json:"external_id,omitempty"` // Fully qualified domain name of the fabric node Fqdn string `json:"fqdn,omitempty"` // IP Addresses of the Node, version 4 or 6. This property is mandatory for all nodes except for automatic deployment of edge virtual machine node. For automatic deployment, the ip address from management_port_subnets property will be considered. IpAddresses []string `json:"ip_addresses,omitempty"` }
type NodeCapabilitiesResult ¶
type NodeCapabilitiesResult struct { // Node capability results Capabilities []NodeCapability `json:"capabilities"` }
List of capabilities of a fabric node
type NodeCapability ¶
type NodeCapability struct { // Description of this capability that can be displayed in UI Description string `json:"description,omitempty"` // String that identifies the base capability for all nodes Key string `json:"key,omitempty"` // Provider of this capability for the node Provider string `json:"provider,omitempty"` // Value of this capability Value string `json:"value,omitempty"` // Version of the capability Version int32 `json:"version,omitempty"` }
Capability of a fabric node
type NodeFileSystemProperties ¶
type NodeFileSystemProperties struct { // File system id FileSystem string `json:"file_system,omitempty"` // File system mount Mount string `json:"mount,omitempty"` // File system size in kilobytes Total int64 `json:"total,omitempty"` // File system type Type_ string `json:"type,omitempty"` // Amount of file system used in kilobytes Used int64 `json:"used,omitempty"` }
File system properties
type NodeInterfaceAlias ¶
type NodeInterfaceAlias struct { // Interface broadcast address BroadcastAddress string `json:"broadcast_address,omitempty"` // Interface IP address IpAddress string `json:"ip_address,omitempty"` // Interface configuration IpConfiguration string `json:"ip_configuration,omitempty"` // Interface netmask Netmask string `json:"netmask,omitempty"` // Interface MAC address PhysicalAddress string `json:"physical_address,omitempty"` }
Node network interface alias
type NodeInterfaceProperties ¶
type NodeInterfaceProperties struct { // Interface administration status AdminStatus string `json:"admin_status,omitempty"` // Connected switch ConnectedSwitch string `json:"connected_switch,omitempty"` // Interface capability for Enhanced Networking Stack EnsCapable bool `json:"ens_capable,omitempty"` // Indicates whether interface is enabled for Enhanced Networking Stack EnsEnabled bool `json:"ens_enabled,omitempty"` // IP Alias InterfaceAlias []NodeInterfaceAlias `json:"interface_alias,omitempty"` // Interface ID InterfaceId string `json:"interface_id,omitempty"` // Interface Type InterfaceType string `json:"interface_type,omitempty"` // Interface administration status LinkStatus string `json:"link_status,omitempty"` // Interface MTU Mtu int64 `json:"mtu,omitempty"` // Source of status data Source string `json:"source,omitempty"` }
Node network interface properties
type NodeInterfacePropertiesListResult ¶
type NodeInterfacePropertiesListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Node interface property results Results []NodeInterfaceProperties `json:"results"` }
type NodeInterfaceStatisticsProperties ¶
type NodeInterfaceStatisticsProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Interface ID InterfaceId string `json:"interface_id,omitempty"` // Number of bytes received RxBytes int64 `json:"rx_bytes,omitempty"` // Number of packets dropped RxDropped int64 `json:"rx_dropped,omitempty"` // Number of receive errors RxErrors int64 `json:"rx_errors,omitempty"` // Number of framing errors RxFrame int64 `json:"rx_frame,omitempty"` // Number of packets received RxPackets int64 `json:"rx_packets,omitempty"` // Source of status data. Source string `json:"source,omitempty"` // Number of bytes transmitted TxBytes int64 `json:"tx_bytes,omitempty"` // Number of carrier losses detected TxCarrier int64 `json:"tx_carrier,omitempty"` // Number of collisions detected TxColls int64 `json:"tx_colls,omitempty"` // Number of packets dropped TxDropped int64 `json:"tx_dropped,omitempty"` // Number of transmit errors TxErrors int64 `json:"tx_errors,omitempty"` // Number of packets transmitted TxPackets int64 `json:"tx_packets,omitempty"` }
type NodeListResult ¶
type NodeListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Node list results Results []Node `json:"results"` }
type NodeNetworkInterfaceProperties ¶
type NodeNetworkInterfaceProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Interface administration status AdminStatus string `json:"admin_status,omitempty"` // Bond mode BondMode string `json:"bond_mode,omitempty"` // Bond's primary device name in active-backup bond mode BondPrimary string `json:"bond_primary,omitempty"` // Bond's slave devices BondSlaves []string `json:"bond_slaves,omitempty"` // Interface broadcast address BroadcastAddress string `json:"broadcast_address,omitempty"` // Interface's default gateway DefaultGateway string `json:"default_gateway,omitempty"` // Interface ID InterfaceId string `json:"interface_id,omitempty"` // Interface IP addresses IpAddresses []IPv4AddressProperties `json:"ip_addresses,omitempty"` // Interface configuration IpConfiguration string `json:"ip_configuration"` // Interface administration status LinkStatus string `json:"link_status,omitempty"` // Interface MTU Mtu int64 `json:"mtu,omitempty"` // Interface MAC address PhysicalAddress string `json:"physical_address,omitempty"` // Interface plane Plane string `json:"plane,omitempty"` }
type NodeNetworkInterfacePropertiesListResult ¶
type NodeNetworkInterfacePropertiesListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Node network interface property results Results []NodeNetworkInterfaceProperties `json:"results"` }
type NodeProperties ¶
type NodeProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Node BIOS Unique Indentifier BiosUuid string `json:"bios_uuid,omitempty"` // NSX CLI inactivity timeout, set to 0 to configure no timeout CliTimeout int64 `json:"cli_timeout,omitempty"` // Host name or fully qualified domain name of node Hostname string `json:"hostname,omitempty"` // Kernel version KernelVersion string `json:"kernel_version,omitempty"` // Node Unique Identifier NodeUuid string `json:"node_uuid,omitempty"` // Node version NodeVersion string `json:"node_version,omitempty"` // Current time expressed in milliseconds since epoch SystemTime int64 `json:"system_time,omitempty"` // Timezone Timezone string `json:"timezone,omitempty"` }
type NodeStatus ¶
type NodeStatus struct { // HostNode external id ExternalId string `json:"external_id,omitempty"` // This enum specifies the current nsx install state for host node or current deployment and ready state for edge node. The ready status 'NODE_READY' indicates whether edge node is ready to become a transport node. The status 'EDGE_CONFIG_ERROR' indicates that edge hardware or underlying host is not supported. HostNodeDeploymentStatus string `json:"host_node_deployment_status,omitempty"` // Is true if inventory sync is paused else false InventorySyncPaused bool `json:"inventory_sync_paused,omitempty"` // Inventory sync auto re-enable target time, in epoch milis InventorySyncReenableTime int64 `json:"inventory_sync_reenable_time,omitempty"` // Timestamp of the last heartbeat status change, in epoch milliseconds. LastHeartbeatTimestamp int64 `json:"last_heartbeat_timestamp,omitempty"` // Timestamp of the last successful update of Inventory, in epoch milliseconds. LastSyncTime int64 `json:"last_sync_time,omitempty"` // Indicates the fabric node's LCP<->CCP channel connectivity status, UP, DOWN, DEGRADED, UNKNOWN. LcpConnectivityStatus string `json:"lcp_connectivity_status,omitempty"` // Details, if any, about the current LCP<->CCP channel connectivity status of the fabric node. LcpConnectivityStatusDetails []ControlConnStatus `json:"lcp_connectivity_status_details,omitempty"` // Indicates the fabric node's status of maintenance mode, OFF, ENTERING, ON, EXITING. MaintenanceMode string `json:"maintenance_mode,omitempty"` // Indicates the fabric node's MP<->MPA channel connectivity status, UP, DOWN, UNKNOWN. MpaConnectivityStatus string `json:"mpa_connectivity_status,omitempty"` // Details, if any, about the current MP<->MPA channel connectivity status of the fabric node. MpaConnectivityStatusDetails string `json:"mpa_connectivity_status_details,omitempty"` // Software version of the fabric node. SoftwareVersion string `json:"software_version,omitempty"` // Node status properties SystemStatus *NodeStatusProperties `json:"system_status,omitempty"` }
Runtime status information of the fabric node.
type NodeStatusListResult ¶
type NodeStatusListResult struct { // Node Status list results Results []NodeStatus `json:"results"` }
Node Status list result
type NodeStatusProperties ¶
type NodeStatusProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Number of CPU cores on the system CpuCores int64 `json:"cpu_cores,omitempty"` // File systems configured on the system FileSystems []NodeFileSystemProperties `json:"file_systems,omitempty"` // One, five, and fifteen minute load averages for the system LoadAverage []float32 `json:"load_average,omitempty"` // Amount of RAM on the system that can be flushed out to disk, in kilobytes MemCache int64 `json:"mem_cache,omitempty"` // Amount of RAM allocated to the system, in kilobytes MemTotal int64 `json:"mem_total,omitempty"` // Amount of RAM in use on the system, in kilobytes MemUsed int64 `json:"mem_used,omitempty"` // Source of status data. Source string `json:"source,omitempty"` // Amount of disk available for swap, in kilobytes SwapTotal int64 `json:"swap_total,omitempty"` // Amount of swap disk in use, in kilobytes SwapUsed int64 `json:"swap_used,omitempty"` // Current time expressed in milliseconds since epoch SystemTime int64 `json:"system_time,omitempty"` // Milliseconds since system start Uptime int64 `json:"uptime,omitempty"` }
type NodeUserProperties ¶
type NodeUserProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Full name for the user FullName string `json:"full_name,omitempty"` // Old password for the user (required on PUT if password specified) OldPassword string `json:"old_password,omitempty"` // Password for the user (optionally specified on PUT, unspecified on GET) Password string `json:"password,omitempty"` // Numeric id for the user Userid int64 `json:"userid,omitempty"` // User login name (must be \"root\" if userid is 0) Username string `json:"username,omitempty"` }
type NodeUserPropertiesListResult ¶
type NodeUserPropertiesListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of node users Results []NodeUserProperties `json:"results"` }
type NodeUserSettings ¶
type NodeUserSettings struct { // Password for the node cli user. For deployment, this property is required. After deployment, this property is ignored, and the node cli must be used to change the password. The password specified must be at least 8 characters in length and must contain at least one lowercase, one uppercase, one numeric character and one special character (except quotes). CliPassword string `json:"cli_password,omitempty"` // Password for the node root user. For deployment, this property is required. After deployment, this property is ignored, and the node cli must be used to change the password. The password specified must be at least 8 characters in length and must contain at least one lowercase, one uppercase, one numeric character and one special character (except quotes). RootPassword string `json:"root_password,omitempty"` }
type NsGroup ¶
type NsGroup struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Count of the members added to this NSGroup MemberCount int64 `json:"member_count,omitempty"` // Reference to the direct/static members of the NSGroup. Can be ID based expressions only. VirtualMachine cannot be added as a static member. Members []NsGroupSimpleExpression `json:"members,omitempty"` // List of tag or ID expressions which define the membership criteria for this NSGroup. An object must satisfy atleast one of these expressions to qualify as a member of this group. MembershipCriteria []NsGroupTagExpression `json:"membership_criteria,omitempty"` }
type NsGroupComplexExpression ¶
type NsGroupComplexExpression struct { ResourceType string `json:"resource_type"` // Represents expressions which are to be logically 'AND'ed.The array cannot contain NSGroupComplexExpression.Only NSGroupTagExpression and NSGroupSimpleExpressions are accepted Expressions []NsGroupExpression `json:"expressions"` }
type NsGroupExpression ¶
type NsGroupExpression struct {
ResourceType string `json:"resource_type"`
}
Policy expression for NSGroup membership
type NsGroupExpressionList ¶
type NsGroupExpressionList struct { // List of NSGroupExpressions to be passed to add and remove APIs Members []NsGroupExpression `json:"members"` }
List of NSGroupExpressions
type NsGroupListResult ¶
type NsGroupListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // NSGroup list results Results []NsGroup `json:"results"` }
type NsGroupSimpleExpression ¶
type NsGroupSimpleExpression struct { ResourceType string `json:"resource_type"` // Operator of the expression Op string `json:"op"` // Field of the resource on which this expression is evaluated TargetProperty string `json:"target_property"` // Reference of the target. Will be populated when the property is a resource id, the op (operator) is EQUALS and populate_references is set to be true. TargetResource *common.ResourceReference `json:"target_resource,omitempty"` // Type of the resource on which this expression is evaluated TargetType string `json:"target_type"` // Value that satisfies this expression Value string `json:"value"` }
type NsGroupSimpleExpressionList ¶
type NsGroupSimpleExpressionList struct { // List of NSGroupSimpleExpressions to be passed to add and remove APIs Members []NsGroupSimpleExpression `json:"members"` }
List of NSGroupSimpleExpressions
type NsGroupTagExpression ¶
type NsGroupTagExpression struct { ResourceType string `json:"resource_type"` // The tag.scope attribute of the object Scope string `json:"scope,omitempty"` // Operator of the scope expression eg- tag.scope = \"S1\". ScopeOp string `json:"scope_op,omitempty"` // The tag.tag attribute of the object Tag string `json:"tag,omitempty"` // Operator of the tag expression eg- tag.tag = \"Production\" TagOp string `json:"tag_op,omitempty"` // Type of the resource on which this expression is evaluated TargetType string `json:"target_type"` }
type NsGroupTagExpressionList ¶
type NsGroupTagExpressionList struct { // List of NSGroupTagExpressions to be passed to add and remove APIs Members []NsGroupTagExpression `json:"members"` }
List of NSGroupTagExpressions
type NsService ¶
type NsService struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // The default NSServices are created in the system by default. These NSServices can't be modified/deleted DefaultService bool `json:"default_service,omitempty"` }
type NsServiceElement ¶
type NsServiceElement struct {
ResourceType string `json:"resource_type"`
}
An NSService element that describes traffic corresponding to an NSService
type NsServiceGroup ¶
type NsServiceGroup struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // The default NSServiceGroups are created in the system by default. These NSServiceGroups can't be modified/deleted DefaultService bool `json:"default_service,omitempty"` // List of NSService or NSServiceGroup resources that can be added as members to an NSServiceGroup. Members []common.ResourceReference `json:"members,omitempty"` // Type of the NSServiceGroup ServiceType string `json:"service_type,omitempty"` }
type NsServiceGroupListResult ¶
type NsServiceGroupListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paged collection of NSServiceGroups Results []NsServiceGroup `json:"results"` }
type NsServiceListResult ¶
type NsServiceListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paged collection of NSServices Results []NsService `json:"results"` }
type PacketAddressClassifier ¶
type PacketAddressClassifier struct { // A single IP address or a subnet, e.g. x.x.x.x or x.x.x.x/y IpAddress string `json:"ip_address,omitempty"` // A single MAC address MacAddress string `json:"mac_address,omitempty"` Vlan int64 `json:"vlan,omitempty"` }
A packet is classified to have an address binding, if its address configuration matches with all user specified properties.
type PacketTypeAndCounter ¶
type PacketsDroppedBySecurity ¶
type PacketsDroppedBySecurity struct { // The number of packets dropped by BPDU filter. BpduFilterDropped int64 `json:"bpdu_filter_dropped,omitempty"` // The number of IPv4 packets dropped by DHCP client block. DhcpClientDroppedIpv4 int64 `json:"dhcp_client_dropped_ipv4,omitempty"` // The number of IPv6 packets dropped by DHCP client block. DhcpClientDroppedIpv6 int64 `json:"dhcp_client_dropped_ipv6,omitempty"` // The number of IPv4 packets dropped by DHCP server block. DhcpServerDroppedIpv4 int64 `json:"dhcp_server_dropped_ipv4,omitempty"` // The number of IPv6 packets dropped by DHCP server block. DhcpServerDroppedIpv6 int64 `json:"dhcp_server_dropped_ipv6,omitempty"` // The packets dropped by Spoof Guard; supported packet types are IPv4, IPv6, ARP, ND, non-IP. SpoofGuardDropped []PacketTypeAndCounter `json:"spoof_guard_dropped,omitempty"` }
type Pnic ¶
type Pnic struct { // device name or key DeviceName string `json:"device_name"` // Uplink name for this Pnic. This name will be used to reference this Pnic in other configurations. UplinkName string `json:"uplink_name"` }
Physical NIC specification
type PoolUsage ¶
type PoolUsage struct { // Total number of allocated IDs in a pool AllocatedIds int64 `json:"allocated_ids,omitempty"` // Total number of free IDs in a pool FreeIds int64 `json:"free_ids,omitempty"` // Total number of IDs in a pool TotalIds int64 `json:"total_ids,omitempty"` }
Pool usage statistics in a pool.
type PortConnectionContainersEntities ¶
type PortConnectionContainersEntities struct {
LogicalPorts []LogicalPort `json:"logical_ports,omitempty"`
}
Port Connection Containers Entities
type PortConnectionEdgeNodeGroup ¶
type PortConnectionEdgeNodeGroup struct { // Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null) Id string `json:"id,omitempty"` // Resource reference with details of the entity Resource *common.ManagedResource `json:"resource,omitempty"` EdgeNodes []TransportNode `json:"edge_nodes,omitempty"` // Id of the logical router LogicalRouterId string `json:"logical_router_id"` }
type PortConnectionEntities ¶
type PortConnectionEntities struct { Containers *PortConnectionContainersEntities `json:"containers"` EdgeNodeGroups []PortConnectionEdgeNodeGroup `json:"edge_node_groups,omitempty"` Errors []PortConnectionError `json:"errors"` Hypervisors []PortConnectionHypervisor `json:"hypervisors"` LogicalSwitches []PortConnectionLogicalSwitch `json:"logical_switches"` Routers []PortConnectionRouter `json:"routers,omitempty"` Tunnels []PortConnectionTunnel `json:"tunnels"` Vms []VirtualMachine `json:"vms"` }
Port Connection Entities (to help draw a visual picture of entities between two ports)
type PortConnectionEntity ¶
type PortConnectionEntity struct { // Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null) Id string `json:"id,omitempty"` // Resource reference with details of the entity Resource *common.ManagedResource `json:"resource,omitempty"` }
Port Connection Entity
type PortConnectionError ¶
type PortConnectionError struct { EntityType string `json:"entity_type,omitempty"` ErrorDetails *interface{} `json:"error_details,omitempty"` ErrorSummary string `json:"error_summary,omitempty"` }
Errors encountered while fetching entities in the forwarding path
type PortConnectionHypervisor ¶
type PortConnectionHypervisor struct { // Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null) Id string `json:"id,omitempty"` // Resource reference with details of the entity Resource *common.ManagedResource `json:"resource,omitempty"` NeighborsList []InterfaceNeighborProperties `json:"neighbors_list,omitempty"` Pnics []Pnic `json:"pnics,omitempty"` PnicsList []NodeInterfaceProperties `json:"pnics_list,omitempty"` Profiles []BaseHostSwitchProfile `json:"profiles,omitempty"` }
type PortConnectionLogicalSwitch ¶
type PortConnectionLogicalSwitch struct { // Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null) Id string `json:"id,omitempty"` // Resource reference with details of the entity Resource *common.ManagedResource `json:"resource,omitempty"` // Logical Ports that are attached to a router RouterPorts []LogicalPort `json:"router_ports,omitempty"` // Logical Ports that are attached to a VIF/VM VmPorts []LogicalPort `json:"vm_ports,omitempty"` // Virutal Network Interfaces that are attached to the Logical Ports VmVnics []VirtualNetworkInterface `json:"vm_vnics,omitempty"` }
type PortConnectionRouter ¶
type PortConnectionRouter struct { // Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null) Id string `json:"id,omitempty"` // Resource reference with details of the entity Resource *common.ManagedResource `json:"resource,omitempty"` // Downlink ports of the Logical Router. DownlinkPorts []LogicalRouterPort `json:"downlink_ports,omitempty"` // Uplink ports of the Logical Router. UplinkPorts []LogicalRouterPort `json:"uplink_ports,omitempty"` }
type PortConnectionTunnel ¶
type PortConnectionTunnel struct { // Id of the source transport node SrcNodeId string `json:"src_node_id"` // Tunnel properties between the source and the destination transport node TunnelProperties *TunnelProperties `json:"tunnel_properties"` }
Tunnel information between two given transport nodes
type PortMirroringSession ¶
type PortMirroringSession struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Port mirroring session direction Direction string `json:"direction"` // Mirror destination MirrorDestination *MirrorDestination `json:"mirror_destination"` // Mirror sources MirrorSources []MirrorSource `json:"mirror_sources"` // If this property is unset, entire package will be mirrored SnapLength int64 `json:"snap_length,omitempty"` }
type PortMirroringSessionListResult ¶
type PortMirroringSessionListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Port mirroring session results Results []PortMirroringSession `json:"results,omitempty"` }
type PortMirroringSwitchingProfile ¶
type PortMirroringSwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // List of destination addresses Destinations []string `json:"destinations,omitempty"` // port mirroring direction Direction string `json:"direction,omitempty"` // User-configurable 32-bit key Key int64 `json:"key,omitempty"` // If this property not set, original package will not be truncated. SnapLength int64 `json:"snap_length,omitempty"` }
type PortStatus ¶
type PortStatus struct { // indicates if the RabbitMQ management port is set or not Enabled bool `json:"enabled"` }
indicates if the RabbitMQ management port is set or not
type PreconfiguredEndpoint ¶
type PreconfiguredEndpoint struct { // Name of the virtual tunnel endpoint DeviceName string `json:"device_name"` }
Tunnel endpoint configuration of preconfigured host switch
type PreconfiguredHostSwitch ¶
type PreconfiguredHostSwitch struct { // List of virtual tunnel endpoints which are preconfigured on this host switch Endpoints []PreconfiguredEndpoint `json:"endpoints,omitempty"` // External Id of the preconfigured host switch. HostSwitchId string `json:"host_switch_id"` }
Preconfigured host switch is used for manually configured transport node.
type PreconfiguredHostSwitchSpec ¶
type PreconfiguredHostSwitchSpec struct { ResourceType string `json:"resource_type"` // Preconfigured Transport Node host switches HostSwitches []PreconfiguredHostSwitch `json:"host_switches"` }
type PrefixConfig ¶
type QosBaseRateShaper ¶
type QosBaseRateShaper struct { Enabled bool `json:"enabled"` ResourceType string `json:"resource_type,omitempty"` // Average bandwidth in Mb/s AverageBandwidthMbps int32 `json:"average_bandwidth_mbps,omitempty"` // Average bandwidth in Kb/s for broadcast traffic AverageBandwidthKbps int32 `json:"average_bandwidth_kbps,omitempty"` // Burst size in bytes BurstSizeBytes int32 `json:"burst_size_bytes,omitempty"` // Average bandwidth in Mb/s PeakBandwidthMbps int32 `json:"peak_bandwidth_mbps,omitempty"` // Average bandwidth in Kb/s for broadcast traffic PeakBandwidthKbps int32 `json:"peak_bandwidth_kbps,omitempty"` }
A shaper configuration entry that specifies type and metrics
type QosSwitchingProfile ¶
type QosSwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // Class of service ClassOfService int32 `json:"class_of_service,omitempty"` Dscp *Dscp `json:"dscp,omitempty"` ShaperConfiguration []QosBaseRateShaper `json:"shaper_configuration,omitempty"` }
type RateLimits ¶
type RateLimits struct { // Whether rate limiting is enabled Enabled bool `json:"enabled,omitempty"` // Incoming broadcast traffic limit in packets per second RxBroadcast int32 `json:"rx_broadcast,omitempty"` // Incoming multicast traffic limit in packets per second RxMulticast int32 `json:"rx_multicast,omitempty"` // Outgoing broadcast traffic limit in packets per second TxBroadcast int32 `json:"tx_broadcast,omitempty"` // Outgoing multicast traffic limit in packets per second TxMulticast int32 `json:"tx_multicast,omitempty"` }
Enables traffic limit for incoming/outgoing broadcast and multicast packets. Use 0 to disable rate limiting for a specific traffic type
type ReadNodesStatusRequestParameters ¶
type ReadNodesStatusRequestParameters struct { // A comma separated list of request Node Ids. NodeIds []string `json:"node_ids"` }
Node Status list request parameters
type RedistributionConfig ¶
type RedistributionConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Flag to enable redistribution for BGP as destinationProtocol BgpEnabled bool `json:"bgp_enabled,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` }
type RedistributionRule ¶
type RedistributionRule struct { // Description Description string `json:"description,omitempty"` // Destination redistribution protocol Destination string `json:"destination"` // Display name DisplayName string `json:"display_name,omitempty"` // RouteMap Id for the filter RouteMapId string `json:"route_map_id,omitempty"` // Array of redistribution protocols Sources []string `json:"sources"` }
type RedistributionRuleList ¶
type RedistributionRuleList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // List of redistribution rules. User needs to re-order rules to change the priority. Rules []RedistributionRule `json:"rules,omitempty"` }
type RouteMap ¶
type RouteMap struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // Ordered list of routeMap sequences Sequences []RouteMapSequence `json:"sequences"` }
type RouteMapListResult ¶
type RouteMapListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paginated list of RouteMaps Results []RouteMap `json:"results"` }
type RouteMapSequence ¶
type RouteMapSequence struct { // Action for the Sequence Action string `json:"action"` // Match Criteria for the RouteMap Sequence MatchCriteria *RouteMapSequenceMatch `json:"match_criteria"` // Set Criteria for the RouteMap Sequence SetCriteria *RouteMapSequenceSet `json:"set_criteria,omitempty"` }
type RouteMapSequenceMatch ¶
type RouteMapSequenceMatch struct { // IPPrefixList Identifiers for RouteMap Sequence Match Criteria IpPrefixLists []string `json:"ip_prefix_lists"` }
type RouteMapSequenceSet ¶
type RouteMapSequenceSet struct { // As Path Prepending to influence path selection AsPathPrepend string `json:"as_path_prepend,omitempty"` // Either well-known community name or community value in aa:nn(2byte:2byte) format Community string `json:"community,omitempty"` // Multi Exit Discriminator (MED) MultiExitDiscriminator int64 `json:"multi_exit_discriminator,omitempty"` // Weight used to select certain path Weight int32 `json:"weight,omitempty"` }
type RoutingConfig ¶
type RoutingConfig struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Defines the extra time the router must wait before sending the UP notification after the first BGP session is established. Default means forward immediately. ForwardingUpTimer int64 `json:"forwarding_up_timer,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` }
type RuleState ¶
type RuleState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` // revision number of the desired state RevisionDesired int64 `json:"revision_desired,omitempty"` }
type ServiceAssociationListResult ¶
type ServiceAssociationListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` ServiceType string `json:"service_type"` }
type ServiceBinding ¶
type ServiceBinding struct { // Identifier of Logical Service ServiceId *common.ResourceReference `json:"service_id"` }
type ServiceProfile ¶
type ServiceProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // Resource type of the service profile ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` ServerAddresses []string `json:"server_addresses"` }
type ServiceProfileListResult ¶
type ServiceProfileListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // service profile list results Results []ServiceProfile `json:"results"` }
type SoftwareModule ¶
type SoftwareModule struct { // Name of the module in the node ModuleName string `json:"module_name"` // Version of the module in the node ModuleVersion string `json:"module_version"` }
Software module details
type SoftwareModuleResult ¶
type SoftwareModuleResult struct { // Software module results SoftwareModules []SoftwareModule `json:"software_modules"` }
Software module result
type SpoofGuardSwitchingProfile ¶
type SpoofGuardSwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // List of providers for white listed address bindings. WhiteListProviders []string `json:"white_list_providers"` }
type StandardHostSwitch ¶
type StandardHostSwitch struct { // If this name is unset or empty then the default host switch name will be used. The name must be unique among all host switches specified in a given transport node; unset name, empty name and the default host switch name are considered the same in terms of uniqueness. HostSwitchName string `json:"host_switch_name,omitempty"` // host switch profiles bound to this host switch. If a profile ID is not provided for any HostSwitchProfileType that is supported by the transport node, the corresponding default profile will be bound to the host switch. HostSwitchProfileIds []HostSwitchProfileTypeIdEntry `json:"host_switch_profile_ids,omitempty"` // IPs can come from either a static IP pool or an explicitly specified IP list or DHCP. In case a list of IP is specified, the number of IPs provided should be sufficient as per teaming policy associated with host switch uplink profile. IpAssignmentSpec *IpAssignmentSpec `json:"ip_assignment_spec,omitempty"` // Physical NICs connected to the host switch Pnics []Pnic `json:"pnics,omitempty"` }
Standard host switch specification
type StandardHostSwitchSpec ¶
type StandardHostSwitchSpec struct { ResourceType string `json:"resource_type"` // Transport Node host switches HostSwitches []StandardHostSwitch `json:"host_switches"` }
type StaticHopBfdPeer ¶
type StaticHopBfdPeer struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // If not specified then BFD peer will inherit configuration from the BFD global config. BfdConfig *BfdConfigParameters `json:"bfd_config,omitempty"` // Indicate BFD peer is enabled or disabled. Default is true. Enabled bool `json:"enabled,omitempty"` // IP address of BFD peer. This should be same as next hop IP address. PeerIpAddress string `json:"peer_ip_address"` }
type StaticHopBfdPeerListResult ¶
type StaticHopBfdPeerListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // static hop BFD peer list results Results []StaticHopBfdPeer `json:"results,omitempty"` }
type StaticRoute ¶
type StaticRoute struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Logical router id LogicalRouterId string `json:"logical_router_id,omitempty"` // CIDR Network string `json:"network"` // Next Hops NextHops []StaticRouteNextHop `json:"next_hops"` }
type StaticRouteListResult ¶
type StaticRouteListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Paginated list of static routes Results []StaticRoute `json:"results"` }
type StaticRouteNextHop ¶
type StaticRouteNextHop struct { // Administrative Distance for the next hop IP AdministrativeDistance int64 `json:"administrative_distance,omitempty"` // Status of bfd for this next hop where bfd_enabled = true indicate bfd is enabled for this next hop and bfd_enabled = false indicate bfd peer is disabled or not configured for this next hop. BfdEnabled bool `json:"bfd_enabled,omitempty"` // Action to be taken on matching packets for NULL routes. BlackholeAction string `json:"blackhole_action,omitempty"` // Next Hop IP IpAddress string `json:"ip_address,omitempty"` // Reference of logical router port to be used for next hop LogicalRouterPortId *common.ResourceReference `json:"logical_router_port_id,omitempty"` }
type StatusCount ¶
type SwitchSecuritySwitchingProfile ¶
type SwitchSecuritySwitchingProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // A flag to block all traffic except IP/(G)ARP/BPDU BlockNonIpTraffic bool `json:"block_non_ip_traffic,omitempty"` // BPDU filtering is enabled by default. A pre-defined list of MAC addresses are automatically excluded from BPDU filtering. BpduFilter *BpduFilter `json:"bpdu_filter,omitempty"` // DHCP server blocking is enabled and client blocking is disabled by default DhcpFilter *DhcpFilter `json:"dhcp_filter,omitempty"` // Rate limiting is disabled by default RateLimits *RateLimits `json:"rate_limits,omitempty"` }
type SwitchingProfileStatus ¶
type SwitchingProfileStatus struct { // Number of logical ports using a switching profile NumLogicalPorts int64 `json:"num_logical_ports,omitempty"` // Number of logical switches using a switching profile NumLogicalSwitches int64 `json:"num_logical_switches,omitempty"` // Identifier for the switching profile SwitchingProfileId string `json:"switching_profile_id,omitempty"` }
type SwitchingProfileSupplementaryInfo ¶
type SwitchingProfileSupplementaryInfo struct { // Allowed MAC addresses for BPDU filter white list BpduFilterAllowedMacs []string `json:"bpdu_filter_allowed_macs,omitempty"` }
Additional information related to switching profiles
type SwitchingProfilesListResult ¶
type SwitchingProfilesListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Switching Profile Results Results []BaseSwitchingProfile `json:"results,omitempty"` }
type TeamingPolicy ¶
type TeamingPolicy struct { // List of Uplinks used in active list ActiveList []Uplink `json:"active_list"` // Teaming policy Policy string `json:"policy"` // List of Uplinks used in standby list StandbyList []Uplink `json:"standby_list,omitempty"` }
Uplink Teaming Policy
type TransportNode ¶
type TransportNode struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // User should use this property over deprecated 'host_switches'. Property 'host_switch_spec' can be used to create either standard host switch or preconfigured host switch. HostSwitchSpec *HostSwitchSpec `json:"host_switch_spec,omitempty"` // This property is deprecated in favor of 'host_switch_spec'. Property 'host_switches' can only be used for NSX managed transport nodes. 'host_switch_spec' can be used for both NSX managed or manually preconfigured host switches. HostSwitches []HostSwitch `json:"host_switches,omitempty"` // The property is read-only, used for querying result. User could update transport node maintenance mode by UpdateTransportNodeMaintenanceMode call. MaintenanceMode string `json:"maintenance_mode,omitempty"` // Unique Id of the fabric node NodeId string `json:"node_id"` // Transport zone endpoints. TransportZoneEndpoints []TransportZoneEndPoint `json:"transport_zone_endpoints,omitempty"` }
type TransportNodeListResult ¶
type TransportNodeListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // TransportNode Results Results []TransportNode `json:"results,omitempty"` }
type TransportNodeState ¶
type TransportNodeState struct { // Array of configuration state of various sub systems Details []ConfigurationStateElement `json:"details,omitempty"` // Error code FailureCode int64 `json:"failure_code,omitempty"` // Error message in case of failure FailureMessage string `json:"failure_message,omitempty"` // Gives details of state of desired configuration State string `json:"state,omitempty"` // States of HostSwitches on the host HostSwitchStates []HostSwitchState `json:"host_switch_states,omitempty"` // the present realized maintenance mode state MaintenanceModeState string `json:"maintenance_mode_state,omitempty"` // Unique Id of the TransportNode TransportNodeId string `json:"transport_node_id,omitempty"` }
type TransportNodeStateListResult ¶
type TransportNodeStateListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Transport Node State Results Results []TransportNodeState `json:"results,omitempty"` }
type TransportNodeStatus ¶
type TransportNodeStatus struct { // Control connection status ControlConnectionStatus *StatusCount `json:"control_connection_status,omitempty"` // Management connection status MgmtConnectionStatus string `json:"mgmt_connection_status,omitempty"` // Transport node uuid NodeUuid string `json:"node_uuid,omitempty"` // PNIC status PnicStatus *StatusCount `json:"pnic_status,omitempty"` // Roll-up status of PNIC, management connection, control connection, tunnel status Status string `json:"status,omitempty"` // Tunnel Status TunnelStatus *TunnelStatusCount `json:"tunnel_status,omitempty"` }
type TransportNodeStatusListResult ¶
type TransportNodeStatusListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of transport node statuses Results []TransportNodeStatus `json:"results,omitempty"` }
type TransportNodeTemplateListResult ¶
type TransportNodeTemplateListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Compute collection transport node template results Results []ComputeCollectionTransportNodeTemplate `json:"results,omitempty"` }
type TransportNodeTemplateState ¶
type TransportNodeTemplateState struct { // node id NodeId string `json:"node_id"` // Transport node template state on individual hosts of ComputeCollection which enabled automated transport code creation. 'FAILED_TO_CREATE' means transport node isn't created. 'IN_PROGRESS' means transport node is in progress of creation. 'FAILED_TO_REALIZE' means transport node has been created, but failed on host realization, it will repush to host by NSX later. 'SUCCESS' means transport node creation is succeeded. State string `json:"state,omitempty"` // transport node id TransportNodeId string `json:"transport_node_id,omitempty"` }
transport node template application state
type TransportZone ¶
type TransportZone struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // If this name is unset or empty then the default host switch name will be used. HostSwitchName string `json:"host_switch_name,omitempty"` // The flag only need to be set in nested NSX environment. NestedNsx bool `json:"nested_nsx,omitempty"` // The transport type of this transport zone. TransportType string `json:"transport_type"` // Identifiers of the transport zone profiles associated with this TransportZone. TransportZoneProfileIds []TransportZoneProfileTypeIdEntry `json:"transport_zone_profile_ids,omitempty"` }
type TransportZoneEndPoint ¶
type TransportZoneEndPoint struct { // Unique ID identifying the transport zone for this endpoint TransportZoneId string `json:"transport_zone_id"` // Identifiers of the transport zone profiles associated with this transport zone endpoint on this transport node. TransportZoneProfileIds []TransportZoneProfileTypeIdEntry `json:"transport_zone_profile_ids,omitempty"` }
Specify which HostSwitch from this TransportNode is used handle traffic for given TransportZone
type TransportZoneListResult ¶
type TransportZoneListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Transport Zone Results Results []TransportZone `json:"results"` }
type TransportZoneProfile ¶
type TransportZoneProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` }
type TransportZoneProfileListResult ¶
type TransportZoneProfileListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Transport zone profile results Results []TransportZoneProfile `json:"results,omitempty"` }
type TransportZoneStatus ¶
type TransportZoneStatus struct { // Count of logical ports in the transport zone NumLogicalPorts int32 `json:"num_logical_ports,omitempty"` // Count of logical switches in the transport zone NumLogicalSwitches int32 `json:"num_logical_switches,omitempty"` // Count of transport nodes in the transport zone NumTransportNodes int32 `json:"num_transport_nodes,omitempty"` // Unique ID identifying the transport zone TransportZoneId string `json:"transport_zone_id,omitempty"` }
Transport zone runtime status information
type TransportZoneStatusListResult ¶
type TransportZoneStatusListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Transport Zone Runtime Status Info Results Results []TransportZoneStatus `json:"results"` }
type TunnelList ¶
type TunnelList struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // List of transport node tunnels Tunnels []TunnelProperties `json:"tunnels,omitempty"` }
type TunnelProperties ¶
type TunnelProperties struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Detailed information about BFD configured on interface Bfd *BfdProperties `json:"bfd,omitempty"` // Corresponds to the interface where local_ip_address is routed. EgressInterface string `json:"egress_interface,omitempty"` // Tunnel encap Encap string `json:"encap,omitempty"` // Time at which the Tunnel status has been fetched last time. LastUpdatedTime int64 `json:"last_updated_time,omitempty"` // Local IP address of tunnel LocalIp string `json:"local_ip,omitempty"` // Name of tunnel Name string `json:"name,omitempty"` // Remote IP address of tunnel RemoteIp string `json:"remote_ip,omitempty"` // UUID of the remote transport node RemoteNodeId string `json:"remote_node_id,omitempty"` // Status of tunnel Status string `json:"status,omitempty"` }
type TunnelStatusCount ¶
type TunnelStatusCount struct { // Degraded count DegradedCount int32 `json:"degraded_count,omitempty"` // Down count DownCount int32 `json:"down_count,omitempty"` // Roll-up status Status string `json:"status,omitempty"` // Up count UpCount int32 `json:"up_count,omitempty"` // BFD Diagnostic BfdDiagnostic *BfdDiagnosticCount `json:"bfd_diagnostic,omitempty"` // BFD Status BfdStatus *BfdStatusCount `json:"bfd_status,omitempty"` }
type UnassociatedVmListResult ¶
type UnassociatedVmListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp in milliseconds since epoch LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // List of VMs which are not associated with any NSGroup Results []VirtualMachine `json:"results"` }
type UnboundedKeyValuePair ¶
type UnboundedKeyValuePair struct { // Key Key string `json:"key"` // Value Value string `json:"value"` }
A key-value pair with no limitations on size
type Uplink ¶
type Uplink struct { // Name of this uplink UplinkName string `json:"uplink_name"` // Type of the uplink UplinkType string `json:"uplink_type"` }
Object to identify an uplink based on its type and name
type UplinkHostSwitchProfile ¶
type UplinkHostSwitchProfile struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // Supported HostSwitch profiles. ResourceType string `json:"resource_type"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` RequiredCapabilities []string `json:"required_capabilities,omitempty"` // list of LACP group Lags []Lag `json:"lags,omitempty"` // Maximum Transmission Unit used for uplinks Mtu int32 `json:"mtu,omitempty"` // TeamingPolicy associated with this UplinkProfile Teaming *TeamingPolicy `json:"teaming"` // VLAN used for tagging Overlay traffic of associated HostSwitch TransportVlan int64 `json:"transport_vlan,omitempty"` }
type VirtualMachine ¶
type VirtualMachine struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Timestamp of last modification LastSyncTime int64 `json:"_last_sync_time,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // List of external compute ids of the virtual machine in the format 'id-type-key:value' , list of external compute ids ['uuid:xxxx-xxxx-xxxx-xxxx', 'moIdOnHost:moref-11', 'instanceUuid:xxxx-xxxx-xxxx-xxxx'] ComputeIds []string `json:"compute_ids"` // Current external id of this virtual machine in the system. ExternalId string `json:"external_id"` // Id of the host in which this virtual machine exists. HostId string `json:"host_id"` // Id of the vm unique within the host. LocalIdOnHost string `json:"local_id_on_host"` // Current power state of this virtual machine in the system. PowerState string `json:"power_state"` // Reference of the Host or Public Cloud Gateway that reported the VM Source *common.ResourceReference `json:"source,omitempty"` // Virtual Machine type; Edge, Service VM or other. Type_ string `json:"type,omitempty"` }
type VirtualMachineListResult ¶
type VirtualMachineListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // VirtualMachine list results Results []VirtualMachine `json:"results"` }
type VirtualNetworkInterface ¶
type VirtualNetworkInterface struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Timestamp of last modification LastSyncTime int64 `json:"_last_sync_time,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Device key of the virtual network interface. DeviceKey string `json:"device_key"` // Device name of the virtual network interface. DeviceName string `json:"device_name,omitempty"` // External Id of the virtual network inferface. ExternalId string `json:"external_id"` // Id of the host on which the vm exists. HostId string `json:"host_id"` // IP Addresses of the the virtual network interface, from various sources. IpAddressInfo []IpAddressInfo `json:"ip_address_info,omitempty"` // LPort Attachment Id of the virtual network interface. LportAttachmentId string `json:"lport_attachment_id,omitempty"` // MAC address of the virtual network interface. MacAddress string `json:"mac_address"` // Id of the vm to which this virtual network interface belongs. OwnerVmId string `json:"owner_vm_id"` // Id of the vm unique within the host. VmLocalIdOnHost string `json:"vm_local_id_on_host"` }
type VirtualNetworkInterfaceListResult ¶
type VirtualNetworkInterfaceListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // VirtualNetworkInterface list results Results []VirtualNetworkInterface `json:"results"` }
type VniPool ¶
type VniPool struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // VNI range list results Ranges []VniRange `json:"ranges"` }
type VniPoolListResult ¶
type VniPoolListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // VNI pool list results Results []VniPool `json:"results"` }
type VniRange ¶
type VniRange struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // End value for vni range to be used for virtual networks End int64 `json:"end"` // Start value for vni range to be used for virtual networks Start int64 `json:"start"` }
type VsphereDeploymentConfig ¶
type VsphereDeploymentConfig struct { PlacementType string `json:"placement_type"` // The edge node vm will be deployed on the specified cluster or resourcepool. Note - all the hosts must have nsx fabric prepared in the specified cluster. ComputeId string `json:"compute_id"` // List of distributed portgroup identifiers to which the datapath serving vnics of edge node vm will be connected. DataNetworkIds []string `json:"data_network_ids"` // The default gateway for edge node must be specified if all the nodes it communicates with are not in the same subnet. Note: only single IPv4 default gateway address is supported and it must belong to management network. Do not specify this field and management_port_subnets to use DHCP. DefaultGatewayAddresses []string `json:"default_gateway_addresses,omitempty"` // The edge node vm will be deployed on the specified Host within the cluster if host_id is specified. Note - User must ensure that storage and specified networks are accessible by this host. HostId string `json:"host_id,omitempty"` // Host name or FQDN for edge node. Hostname string `json:"hostname"` // Distributed portgroup identifier to which the management vnic of edge node vm will be connected. This portgroup must have connectivity with MP and CCP. ManagementNetworkId string `json:"management_network_id"` // IP Address and subnet configuration for the management port. Note: only one IPv4 address is supported for the management port. Do not specify this field and default_gateway_addresses to use DHCP. ManagementPortSubnets []IpSubnet `json:"management_port_subnets,omitempty"` // The edge node vm will be deployed on the specified datastore. User must ensure that storage is accessible by the specified cluster/host. StorageId string `json:"storage_id"` // The vc specific identifiers will be resolved on this VC. So all other identifiers specified here must belong to this vcenter server. VcId string `json:"vc_id"` }
type VtepCsvListResult ¶
type VtepCsvListResult struct { // File name set by HTTP server if API returns CSV result as a file. FileName string `json:"file_name,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` Results []VtepTableCsvRecord `json:"results,omitempty"` }
type VtepLabelPool ¶
type VtepLabelPool struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. Revision int64 `json:"_revision"` // Timestamp of resource creation CreateTime int64 `json:"_create_time,omitempty"` // ID of the user who created this resource CreateUser string `json:"_create_user,omitempty"` // Timestamp of last modification LastModifiedTime int64 `json:"_last_modified_time,omitempty"` // ID of the user who last modified this resource LastModifiedUser string `json:"_last_modified_user,omitempty"` // Indicates system owned resource SystemOwned bool `json:"_system_owned,omitempty"` // Description of this resource Description string `json:"description,omitempty"` // Defaults to ID if not set DisplayName string `json:"display_name,omitempty"` // Unique identifier of this resource Id string `json:"id,omitempty"` // The type of this resource. ResourceType string `json:"resource_type,omitempty"` // Opaque identifiers meaningful to the API user Tags []common.Tag `json:"tags,omitempty"` // Pool usage statistics PoolUsage *VtepLabelPoolUsage `json:"pool_usage,omitempty"` // Array of ranges for virtual tunnel endpoint labels Ranges []VtepLabelRange `json:"ranges"` }
type VtepLabelPoolListResult ¶
type VtepLabelPoolListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Virtual tunnel endpoint label pool list results Results []VtepLabelPool `json:"results"` }
type VtepLabelPoolUsage ¶
type VtepLabelPoolUsage struct { // Total number of allocated IDs in a pool AllocatedIds int64 `json:"allocated_ids,omitempty"` // Total number of free IDs in a pool FreeIds int64 `json:"free_ids,omitempty"` // Total number of IDs in a pool TotalIds int64 `json:"total_ids,omitempty"` }
Pool usage statistics in a pool
type VtepLabelRange ¶
type VtepLabelRange struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // End value for virtual tunnel endpoint label range End int64 `json:"end"` // Start value for virtual tunnel endpoint label range Start int64 `json:"start"` }
type VtepListResult ¶
type VtepListResult struct { // The server will populate this field when returing the resource. Ignored on PUT and POST. Links []common.ResourceLink `json:"_links,omitempty"` Schema string `json:"_schema,omitempty"` Self *common.SelfResourceLink `json:"_self,omitempty"` // Opaque cursor to be used for getting next page of records (supplied by current result page) Cursor string `json:"cursor,omitempty"` // Count of results found (across all pages), set only on first page ResultCount int64 `json:"result_count,omitempty"` SortAscending bool `json:"sort_ascending,omitempty"` // Field by which records are sorted SortBy string `json:"sort_by,omitempty"` // Timestamp when the data was last updated; unset if data source has never updated the data. LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"` // The id of the logical Switch LogicalSwitchId string `json:"logical_switch_id,omitempty"` Results []VtepTableEntry `json:"results,omitempty"` // Transport node identifier TransportNodeId string `json:"transport_node_id,omitempty"` }
type VtepTableCsvRecord ¶
type VtepTableCsvRecord struct { // The segment Id SegmentId string `json:"segment_id,omitempty"` // The virtual tunnel endpoint IP address VtepIp string `json:"vtep_ip,omitempty"` // The virtual tunnel endpoint label VtepLabel int64 `json:"vtep_label"` // The virtual tunnel endpoint MAC address VtepMacAddress string `json:"vtep_mac_address"` }
type VtepTableEntry ¶
type VtepTableEntry struct { // The segment Id SegmentId string `json:"segment_id,omitempty"` // The virtual tunnel endpoint IP address VtepIp string `json:"vtep_ip,omitempty"` // The virtual tunnel endpoint label VtepLabel int64 `json:"vtep_label"` // The virtual tunnel endpoint MAC address VtepMacAddress string `json:"vtep_mac_address"` }
Source Files ¶
- address_binding_entry.go
- advertise_rule.go
- advertise_rule_list.go
- advertisement_config.go
- aggregated_data_counter.go
- aggregated_data_counter_ex.go
- aggregated_logical_router_port_counters.go
- alg_type_ns_service.go
- allocation_ip_address.go
- allocation_ip_address_list_result.go
- attachment_context.go
- base_host_switch_profile.go
- base_switching_profile.go
- bfd_config.go
- bfd_config_parameters.go
- bfd_diagnostic_count.go
- bfd_properties.go
- bfd_status_count.go
- bgp_config.go
- bgp_neighbor.go
- bgp_neighbor_address_family.go
- bgp_neighbor_list_result.go
- bgp_neighbor_status.go
- bgp_neighbors_status_list_result.go
- bgp_route_aggregation.go
- bpdu_filter.go
- bridge_cluster.go
- bridge_cluster_list_result.go
- bridge_cluster_node.go
- bridge_cluster_status.go
- bridge_endpoint.go
- bridge_endpoint_list_result.go
- bridge_endpoint_statistics.go
- bridge_endpoint_status.go
- classless_static_route.go
- cluster_profile.go
- cluster_profile_list_result.go
- cluster_profile_type_id_entry.go
- cluster_role_config.go
- compute_collection.go
- compute_collection_fabric_template.go
- compute_collection_fabric_template_list_result.go
- compute_collection_list_result.go
- compute_collection_transport_node_template.go
- compute_collection_transport_node_template_state.go
- compute_collection_transport_node_template_state_list.go
- compute_manager.go
- compute_manager_list_result.go
- compute_manager_status.go
- configuration_state.go
- configuration_state_element.go
- control_conn_status.go
- data_counter.go
- dhcp_filter.go
- dhcp_ip_pool.go
- dhcp_ip_pool_list_result.go
- dhcp_ip_pool_usage.go
- dhcp_lease_per_ip.go
- dhcp_leases.go
- dhcp_option121.go
- dhcp_options.go
- dhcp_profile.go
- dhcp_profile_list_result.go
- dhcp_relay_profile.go
- dhcp_relay_profile_list_result.go
- dhcp_relay_service.go
- dhcp_relay_service_list_result.go
- dhcp_server_status.go
- dhcp_static_binding.go
- dhcp_static_binding_list_result.go
- dhcp_statistics.go
- discovered_node.go
- discovered_node_list_result.go
- dne_global_config.go
- dne_key_manager.go
- dne_key_manager_list_result.go
- dne_key_policy.go
- dne_key_policy_list_result.go
- dne_key_policy_stats.go
- dne_rule.go
- dne_rule_list.go
- dne_rule_list_result.go
- dne_rule_state.go
- dne_rule_stats.go
- dne_section.go
- dne_section_list_result.go
- dne_section_rule_list.go
- dne_section_state.go
- dne_service.go
- dscp.go
- edge_cluster.go
- edge_cluster_list_result.go
- edge_cluster_member.go
- edge_cluster_member_list_result.go
- edge_cluster_member_transport_node.go
- effective_ip_address_member_list_result.go
- effective_member_resource_list_result.go
- effective_member_type_list_result.go
- endpoint.go
- error_info.go
- ether_type_ns_service.go
- exclude_list.go
- extra_config.go
- filter.go
- fire_wall_service_association_list_result.go
- firewall_rule.go
- firewall_rule_list.go
- firewall_rule_list_result.go
- firewall_section.go
- firewall_section_list_result.go
- firewall_section_rule_list.go
- firewall_section_state.go
- firewall_service.go
- firewall_stats.go
- firewall_status.go
- firewall_status_list_result.go
- generic_dhcp_option.go
- ha_vip_config.go
- host_switch.go
- host_switch_profile_type_id_entry.go
- host_switch_profiles_list_result.go
- host_switch_spec.go
- host_switch_state.go
- icmp_type_ns_service.go
- igmp_type_ns_service.go
- interface_neighbor_properties.go
- interface_neighbor_property_list_result.go
- ip_address_info.go
- ip_allocation_base.go
- ip_assignment_spec.go
- ip_block.go
- ip_block_list_result.go
- ip_block_subnet.go
- ip_block_subnet_list_result.go
- ip_discovery_switching_profile.go
- ip_pool.go
- ip_pool_list_result.go
- ip_pool_range.go
- ip_pool_subnet.go
- ip_prefix_list.go
- ip_prefix_list_list_result.go
- ip_protocol_ns_service.go
- ip_set.go
- ip_set_list_result.go
- ip_subnet.go
- ipv4_address_properties.go
- ipv4_dhcp_server.go
- l4_port_set_ns_service.go
- lag.go
- logical_dhcp_server.go
- logical_dhcp_server_list_result.go
- logical_port.go
- logical_port_attachment.go
- logical_port_list_result.go
- logical_port_mac_address_csv_list_result.go
- logical_port_mac_address_list_result.go
- logical_port_mac_table_csv_entry.go
- logical_port_mac_table_entry.go
- logical_port_mirror_destination.go
- logical_port_mirror_source.go
- logical_port_operational_status.go
- logical_port_state.go
- logical_port_statistics.go
- logical_port_status_summary.go
- logical_router.go
- logical_router_centralized_service_port.go
- logical_router_config.go
- logical_router_down_link_port.go
- logical_router_link_port_on_tier0.go
- logical_router_link_port_on_tier1.go
- logical_router_list_result.go
- logical_router_loopback_port.go
- logical_router_port.go
- logical_router_port_arp_csv_record.go
- logical_router_port_arp_entry.go
- logical_router_port_arp_table.go
- logical_router_port_arp_table_in_csv_format.go
- logical_router_port_counters.go
- logical_router_port_list_result.go
- logical_router_port_statistics.go
- logical_router_port_statistics_per_node.go
- logical_router_port_statistics_summary.go
- logical_router_route_csv_record.go
- logical_router_route_entry.go
- logical_router_route_table.go
- logical_router_route_table_in_csv_format.go
- logical_router_status.go
- logical_router_status_per_node.go
- logical_router_up_link_port.go
- logical_service.go
- logical_service_list_result.go
- logical_switch.go
- logical_switch_list_result.go
- logical_switch_state.go
- logical_switch_state_list_result.go
- logical_switch_statistics.go
- logical_switch_status.go
- logical_switch_status_list_result.go
- logical_switch_status_summary.go
- login_credential.go
- mac_address_csv_list_result.go
- mac_address_element.go
- mac_address_element_list_result.go
- mac_address_list_result.go
- mac_learning_counters.go
- mac_learning_spec.go
- mac_management_switching_profile.go
- mac_pool.go
- mac_pool_list_result.go
- mac_range.go
- mac_set.go
- mac_set_list_result.go
- mac_table_csv_record.go
- mac_table_entry.go
- management_config.go
- metadata_proxy.go
- metadata_proxy_list_result.go
- metadata_proxy_statistics.go
- metadata_proxy_statistics_per_logical_switch.go
- metadata_proxy_status.go
- mirror_destination.go
- mirror_source.go
- msg_client_info.go
- nat_counters.go
- nat_rule.go
- nat_rule_list_result.go
- nat_statistics_per_logical_router.go
- nat_statistics_per_rule.go
- nat_statistics_per_transport_node.go
- neighbor_properties.go
- network_encryption_status.go
- node.go
- node_capabilities_result.go
- node_capability.go
- node_file_system_properties.go
- node_interface_alias.go
- node_interface_properties.go
- node_interface_properties_list_result.go
- node_interface_statistics_properties.go
- node_list_result.go
- node_network_interface_properties.go
- node_network_interface_properties_list_result.go
- node_properties.go
- node_status.go
- node_status_list_result.go
- node_status_properties.go
- node_user_properties.go
- node_user_properties_list_result.go
- node_user_settings.go
- ns_group.go
- ns_group_complex_expression.go
- ns_group_expression.go
- ns_group_expression_list.go
- ns_group_list_result.go
- ns_group_simple_expression.go
- ns_group_tag_expression.go
- ns_service.go
- ns_service_element.go
- ns_service_group.go
- ns_service_group_list_result.go
- ns_service_list_result.go
- packet_address_classifier.go
- packet_type_and_counter.go
- packets_dropped_by_security.go
- pnic.go
- pool_usage.go
- port_connection_containers_entities.go
- port_connection_edge_node_group.go
- port_connection_entities.go
- port_connection_entity.go
- port_connection_error.go
- port_connection_hypervisor.go
- port_connection_logical_switch.go
- port_connection_router.go
- port_connection_tunnel.go
- port_mirroring_session.go
- port_mirroring_session_list_result.go
- port_mirroring_switching_profile.go
- port_status.go
- preconfigured_endpoint.go
- preconfigured_host_switch.go
- preconfigured_host_switch_spec.go
- prefix_config.go
- qos_base_rate_shaper.go
- qos_switching_profile.go
- rate_limits.go
- read_nodes_status_request_parameters.go
- redistribution_config.go
- redistribution_rule.go
- redistribution_rule_list.go
- route_map.go
- route_map_list_result.go
- route_map_sequence.go
- route_map_sequence_match.go
- route_map_sequence_set.go
- routing_config.go
- rule_state.go
- service_association_list_result.go
- service_binding.go
- service_profile.go
- service_profile_list_result.go
- software_module.go
- software_module_result.go
- spoof_guard_switching_profile.go
- standard_host_switch.go
- standard_host_switch_spec.go
- static_hop_bfd_peer.go
- static_hop_bfd_peer_list_result.go
- static_route.go
- static_route_list_result.go
- static_route_next_hop.go
- status_count.go
- switch_security_switching_profile.go
- switching_profile_status.go
- switching_profile_supplementary_info.go
- switching_profile_type_id_entry.go
- switching_profiles_list_result.go
- teaming_policy.go
- transport_node.go
- transport_node_list_result.go
- transport_node_state.go
- transport_node_state_list_result.go
- transport_node_status.go
- transport_node_status_list_result.go
- transport_node_template_list_result.go
- transport_node_template_state.go
- transport_zone.go
- transport_zone_end_point.go
- transport_zone_list_result.go
- transport_zone_profile.go
- transport_zone_profile_list_result.go
- transport_zone_profile_type_id_entry.go
- transport_zone_status.go
- transport_zone_status_list_result.go
- tunnel_list.go
- tunnel_properties.go
- tunnel_status_count.go
- unassociated_vm_list_result.go
- unbounded_key_value_pair.go
- uplink.go
- uplink_host_switch_profile.go
- vip_subnet.go
- virtual_machine.go
- virtual_machine_list_result.go
- virtual_machine_tag_update.go
- virtual_network_interface.go
- virtual_network_interface_list_result.go
- vni_pool.go
- vni_pool_list_result.go
- vni_range.go
- vsphere_deployment_config.go
- vtep_csv_list_result.go
- vtep_label_pool.go
- vtep_label_pool_list_result.go
- vtep_label_pool_usage.go
- vtep_label_range.go
- vtep_list_result.go
- vtep_table_csv_record.go
- vtep_table_entry.go