Documentation ¶
Index ¶
- func GetSummary(paths []string) string
- type BgpAdvRouteEntries
- type BgpAdvRouteEntry
- type BgpConfig
- type BgpNeighbor
- type Cloud
- type ComputeManager
- type ComputeManagerStatus
- type CpuReservationInfo
- type DfwPolicies
- type DfwPolicy
- type DfwRule
- type DfwRules
- type DnsVs
- type EdgeBgpAdvRoute
- type EdgeCluster
- type EdgeClusterMember
- type EdgeClusters
- type EdgeDeploymentConfig
- type EdgeNodeDeploymentInfo
- type EdgeRoute
- type EnforcementPoint
- type Gateway
- type Gslb
- type GslbPool
- type GslbPoolMember
- type GslbService
- type GslbServices
- type GslbSite
- type HealthMonitor
- type HealthMonitors
- type HostSwitch
- type HostSwitchSpec
- type IpAssignmentSpec
- type IpBlock
- type IpBlocks
- type IpPool
- type IpPools
- type LicensingLedger
- type MemoryReservationInfo
- type NodeSettings
- type PerNodeStatistics
- type PerNodeStatisticsRx
- type PerNodeStatisticsTx
- type ReservationInfo
- type RouteEntries
- type RouteEntry
- type RouterStats
- type SEResult
- type SeInfo
- type SeInterface
- type Segment
- type SegmentSubnet
- type Segments
- type ServiceEngine
- type ServiceEngineConfig
- type ServiceEngineGroup
- type ServiceEngineInventory
- type ServiceEngineRuntime
- type ServiceEngineStatus
- type Subnet
- type SystemConfiguration
- type ThirdPartySite
- type Tier0Gateway
- type Tier0Gateways
- type Tier1Gateway
- type Tier1Gateways
- type TierUsage
- type TransportNode
- type TransportNodeProfile
- type TransportNodeProfiles
- type TransportNodeTunnel
- type TransportNodeTunnels
- type TransportNodes
- type TransportZone
- type TransportZoneEndpoints
- type TransportZones
- type VMDeploymentConfig
- type VSPort
- type VSResult
- type VSRuntime
- type Vip
- type VipRuntime
- type VipSummary
- type VirtualService
- type VirtualServiceInventory
- type VirtualServiceStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSummary ¶
Types ¶
type BgpAdvRouteEntries ¶
type BgpAdvRouteEntries []BgpAdvRouteEntry
func (*BgpAdvRouteEntries) Print ¶
func (ar *BgpAdvRouteEntries) Print()
type BgpAdvRouteEntry ¶
type BgpNeighbor ¶
type ComputeManager ¶
type ComputeManager struct { Id string Name string Type string Server string Detail string Status *ComputeManagerStatus }
func (*ComputeManager) Print ¶
func (cm *ComputeManager) Print()
type ComputeManagerStatus ¶
type CpuReservationInfo ¶
type DfwPolicies ¶
type DfwPolicy ¶
type DfwPolicy struct { Path string `json:"path"` Name string `json:"display_name"` Id string `json:"id"` Seq int64 `json:"sequence_number"` Scope []string `json:"scope"` Stateful bool `json:"stateful"` TcpStrict bool `json:"tcp_strict"` RuleCount int `json:"rule_count"` Category string `json:"category"` Rules []DfwRule `json:"rules"` }
type DfwRule ¶
type DfwRule struct { Name string `json:"display_name"` Id string `json:"id"` RuleId int `json:"rule_id"` Sources []string `json:"source_groups"` SourcesExcluded bool `json:"sources_excluded"` Destinations []string `json:"destination_groups"` DestinationsExcluded bool `json:"destinations_excluded"` Services []string `json:"services"` Profiles []string `json:"profiles"` Scope []string `json:"scope"` Action string `json:"action"` Direction string `json:"direction"` IpProtocol string `json:"ip_protocol"` Logged bool `json:"logged"` }
type EdgeBgpAdvRoute ¶
type EdgeBgpAdvRoute struct { Source string `json:"source_address"` EdgeId string `json:"transport_node_id"` Entries []BgpAdvRouteEntry `json:"routes"` }
func (*EdgeBgpAdvRoute) GetEntries ¶
func (ar *EdgeBgpAdvRoute) GetEntries() BgpAdvRouteEntries
func (*EdgeBgpAdvRoute) Print ¶
func (ar *EdgeBgpAdvRoute) Print()
type EdgeCluster ¶
type EdgeCluster struct { Id string `json:"id"` Name string `json:"display_name"` Type string `json:"deployment_type"` Members []EdgeClusterMember `json:"members"` MemberNodeType string `json:"member_node_type"` }
type EdgeClusterMember ¶
type EdgeClusters ¶
type EdgeClusters []EdgeCluster
func (*EdgeClusters) GetClusterById ¶
func (ecs *EdgeClusters) GetClusterById(Id string) *EdgeCluster
func (*EdgeClusters) Print ¶
func (ecs *EdgeClusters) Print(edgeName map[string]string)
type EdgeDeploymentConfig ¶
type EdgeDeploymentConfig struct { Size string `json:"form_factor"` Users map[string]string `json:"node_user_settings"` VMDeploymentConfig VMDeploymentConfig `json:"vm_deployment_config"` }
type EdgeNodeDeploymentInfo ¶
type EdgeNodeDeploymentInfo struct { Name string `json:"display_name"` IPAddress []string `json:"ip_addresses"` EdgeDeploymentConfig EdgeDeploymentConfig `json:"deployment_config"` NodeSettings NodeSettings `json:"node_settings"` ResourceType string `json:"resource_type"` }
type EdgeRoute ¶
type EdgeRoute struct { NodePath string `json:"edge_node"` Entries []RouteEntry `json:"route_entries"` }
func (*EdgeRoute) GetEdgeClusterId ¶
func (*EdgeRoute) GetEdgeClusterNodeIdx ¶
func (*EdgeRoute) GetEntries ¶
func (er *EdgeRoute) GetEntries(version int) RouteEntries
type EnforcementPoint ¶
type Gslb ¶
type Gslb struct { Id string `json:"uuid"` Domains []map[string]string `json:"dns_configs"` Name string `json:"name"` ReplicationPolicy map[string]string `json:"replication_policy"` GslbSites []GslbSite `json:"sites"` ThirdPartySites []ThirdPartySite `json:"third_party_sites"` LeaderUuid string `json:"leader_cluster_uuid"` }
type GslbPool ¶
type GslbPool struct { Name string `json:"name"` Priority int `json:"priority"` Enabled bool `json:"enabled"` Algorithm string `json:"algorithm"` Members []GslbPoolMember `json:"members"` }
type GslbPoolMember ¶
type GslbService ¶
type GslbService struct { Id string `json:"uuid"` Name string `json:"name"` Fqdn []string `json:"domain_names"` ControllerHealthStatusEnabled bool `json:"controller_health_status_enabled"` DownResponse map[string]string `json:"down_response"` Enabled bool `json:"enabled"` HealthMonitorRef []string `json:"health_monitor_refs"` HealthMonitorScope string `json:"health_monitor_scope"` PoolAlgorithm string `json:"pool_algorithm"` ResolveCname bool `json:"resolve_cname"` SitePersistenceEnabled bool `json:"site_persistence_enabled"` UseEdnsClientSubnet bool `json:"use_edns_client_subnet"` Groups []GslbPool `json:"groups"` }
type GslbServices ¶
type GslbServices []GslbService
func (*GslbServices) Print ¶
func (gs *GslbServices) Print(hm HealthMonitors)
type HealthMonitor ¶
type HealthMonitor struct { Id string `json:"uuid"` Name string `json:"name"` Type string `json:"type"` SuccessfulCheck int `json:"successful_checks"` FailedCheck int `json:"failed_checks"` Interval int `json:"send_interval"` Timeout int `json:"receive_timeout"` Federated bool `json:"is_federated"` }
type HealthMonitors ¶
type HealthMonitors []HealthMonitor
func (*HealthMonitors) GetHealthMonitorById ¶
func (hms *HealthMonitors) GetHealthMonitorById(id string) *HealthMonitor
type HostSwitch ¶
type HostSwitch struct { Mode string `json:"host_switch_mode"` Name string `json:"host_switch_name"` UplinkProfiles []map[string]string `json:"host_switch_profile_ids"` Type string `json:"host_switch_type"` IPAssignment IpAssignmentSpec `json:"ip_assignment_spec"` Pnics []map[string]string `json:"pnics"` TransportZoneEndpoints []TransportZoneEndpoints `json:"transport_zone_endpoints"` }
type HostSwitchSpec ¶
type HostSwitchSpec struct { HostSwitches []HostSwitch `json:"host_switches"` ResourceType string `json:"resource_type"` }
type IpAssignmentSpec ¶
type LicensingLedger ¶
type MemoryReservationInfo ¶
type MemoryReservationInfo struct {
Percentage int `json:"reservation_percentage"`
}
type NodeSettings ¶
type PerNodeStatistics ¶
type PerNodeStatistics struct { LastUpdate uint64 `json:"last_update_timestamp"` Rx PerNodeStatisticsRx `json:"rx"` Tx PerNodeStatisticsTx `json:"tx"` }
type PerNodeStatisticsRx ¶
type PerNodeStatisticsRx struct { TotalBytes uint64 `json:"total_bytes"` TotalPackets uint64 `json:"total_packets"` DroppedPackets uint64 `json:"dropped_packets"` BlockedPackets uint64 `json:"blocked_packets"` DestinationUnsupportedDroppedPackets uint64 `json:"destination_unsupported_dropped_packets"` FirewallDroppedPackets uint64 `json:"firewall_dropped_packets"` IpsecDroppedPackets uint64 `json:"ipsec_dropped_packets"` IpsecNoSaDroppedPackets uint64 `json:"ipsec_no_sa_dropped_packets"` IpsecNoVtiDroppedPackets uint64 `json:"ipsec_no_vti_dropped_packets"` Ipv6DroppedPackets uint64 `json:"ipv6_dropped_packets"` KniDroppedPackets uint64 `json:"kni_dropped_packets"` L4portUnsupportedDroppedPackets uint64 `json:"l4port_unsupported_dropped_packets"` MalformedDroppedPackets uint64 `json:"malformed_dropped_packets"` NoReceiverDroppedPackets uint64 `json:"no_receiver_dropped_packets"` NoRouteDroppedPackets uint64 `json:"no_route_dropped_packets"` ProtoUnsupportedDroppedPackets uint64 `json:"proto_unsupported_dropped_packets"` RedirectDroppedPackets uint64 `json:"redirect_dropped_packets"` RpfCheckDroppedPackets uint64 `json:"rpf_check_dropped_packets"` TtlExceededDroppedPackets uint64 `json:"ttl_exceeded_dropped_packets"` }
type PerNodeStatisticsTx ¶
type PerNodeStatisticsTx struct { TotalBytes uint64 `json:"total_bytes"` TotalPackets uint64 `json:"total_packets"` DroppedPackets uint64 `json:"dropped_packets"` BlockedPackets uint64 `json:"blocked_packets"` FirewallDroppedPackets uint64 `json:"firewall_dropped_packets"` IpsecDroppedPackets uint64 `json:"ipsec_dropped_packets"` IpsecNoSaDroppedPackets uint64 `json:"ipsec_no_sa_dropped_packets"` IpsecNoVtiDroppedPackets uint64 `json:"ipsec_no_vti_dropped_packets"` DadDroppedPackets uint64 `json:"dad_dropped_packets"` FragNeededDroppedPackets uint64 `json:"frag_needed_dropped_packets"` IpSecPolBlockDroppedPackets uint64 `json:"ipsec_pol_block_dropped_packets"` IpSecPolErrDroppedPackets uint64 `json:"ipsec_pol_err_dropped_packets"` NoArpDroppedPackets uint64 `json:"no_arp_dropped_packets"` NoLinkedDroppedPackets uint64 `json:"no_linked_dropped_packets"` NoMemDroppedPackets uint64 `json:"no_mem_dropped_packets"` NonIpDroppedPackets uint64 `json:"non_ip_dropped_packets"` ServiceInsertDroppedPackets uint64 `json:"service_insert_dropped_packets"` }
type ReservationInfo ¶
type ReservationInfo struct { Cpu CpuReservationInfo `json:"cpu_reservation"` Memory MemoryReservationInfo `json:"memory_reservation"` }
type RouteEntries ¶
type RouteEntries []RouteEntry
func (*RouteEntries) Print ¶
func (res *RouteEntries) Print()
type RouteEntry ¶
type RouterStats ¶
type RouterStats struct { PortId string `json:"logical_router_port_id"` PerNodeStatistics []PerNodeStatistics `json:"per_node_statistics"` }
type SEResult ¶
type SEResult struct {
ServiceEngineInventories []ServiceEngineInventory `json:"results"`
}
type SeInterface ¶
type Segment ¶
type Segment struct { Name string `json:"display_name"` Id string `json:"id"` AdminState string `json:"admin_state,omitempty"` AdvancedConifg map[string]interface{} `json:"advanced_config,omitempty"` Connectivity string `json:"connectivity_path,omitempty"` ReplicationMode string `json:"replication_mode,omitempty"` Subnets []SegmentSubnet `json:"subnets,omitempty"` TransportZonePath string `json:"transport_zone_path,omitempty"` Vlans []string `json:"vlan_ids"` }
type SegmentSubnet ¶
type ServiceEngine ¶
type ServiceEngine struct { Primary bool `json:"is_primary"` Secondary bool `json:"is_secondary"` Memory int `json:"memory"` Address map[string]string `json:"mgmt_ip"` SeRef string `json:"se_ref"` Cpu int `json:"vcpus"` Interfaces []SeInterface `json:"vip_intf_list"` VipMac string `json:"vip_intf_mac"` VipMask int `json:"vip_intf_mask"` }
type ServiceEngineConfig ¶
type ServiceEngineGroup ¶
type ServiceEngineInventory ¶
type ServiceEngineInventory struct { Config ServiceEngineConfig `json:"config"` Health map[string]int `json:"health_score"` Runtime ServiceEngineRuntime `json:"runtime"` }
func (*ServiceEngineInventory) Print ¶
func (sei *ServiceEngineInventory) Print(w *tabwriter.Writer)
type ServiceEngineRuntime ¶
type ServiceEngineRuntime struct { GatewayUp bool `json:"gateway_up"` MigrateState string `json:"migrate_state"` PowerState string `json:"power_state"` Status ServiceEngineStatus `json:"oper_status"` }
type ServiceEngineStatus ¶
type SystemConfiguration ¶
type ThirdPartySite ¶
type Tier0Gateway ¶
type Tier0Gateway struct { Id string `json:"id"` HaMode string `json:"ha_mode"` Name string `json:"display_name"` FailoverMode string `json:"failover_mode"` RealizationId string `json:"realization_id"` Path string `json:"path"` }
func (*Tier0Gateway) Print ¶
func (gw *Tier0Gateway) Print()
type Tier0Gateways ¶
type Tier0Gateways []Tier0Gateway
func (*Tier0Gateways) Print ¶
func (gws *Tier0Gateways) Print(output string)
type Tier1Gateway ¶
type Tier1Gateway struct { Id string `json:"id"` HaMode string `json:"ha_mode"` Name string `json:"display_name"` FailoverMode string `json:"failover_mode"` RealizationId string `json:"realization_id"` Path string `json:"path"` }
func (*Tier1Gateway) Print ¶
func (gw *Tier1Gateway) Print()
type Tier1Gateways ¶
type Tier1Gateways []Tier1Gateway
func (*Tier1Gateways) Print ¶
func (gws *Tier1Gateways) Print(output string)
type TransportNode ¶
type TransportNode struct { Id string `json:"id"` Name string `json:"display_name"` HostSwitchSpec HostSwitchSpec `json:"host_switch_spec"` EdgeNodeDeploymentInfo EdgeNodeDeploymentInfo `json:"node_deployment_info"` ResourceType string `json:"resource_type"` Tunnels TransportNodeTunnels }
type TransportNodeProfile ¶
type TransportNodeProfile struct { Id string `json:"id"` Name string `json:"display_name"` HostSwitchSpec HostSwitchSpec `json:"host_switch_spec"` }
type TransportNodeProfiles ¶
type TransportNodeProfiles []TransportNodeProfile
func (*TransportNodeProfiles) Print ¶
func (tnps *TransportNodeProfiles) Print()
type TransportNodeTunnel ¶
type TransportNodeTunnel struct { Name string `json:"name"` Status string `json:"status"` Encapsulation string `json:"encap"` EgressInterface string `json:"egress_interface"` LocalIp string `json:"local_ip"` RemoteIp string `json:"remote_ip"` RemoteNodeName string `json:"remote_node_display_name"` RemoteNodeId string `json:"remote_node_id"` }
type TransportNodeTunnels ¶
type TransportNodeTunnels []TransportNodeTunnel
type TransportNodes ¶
type TransportNodes []TransportNode
func (*TransportNodes) Print ¶
func (tns *TransportNodes) Print()
type TransportZone ¶
type TransportZoneEndpoints ¶
type TransportZones ¶
type TransportZones []TransportZone
func (*TransportZones) Print ¶
func (tzs *TransportZones) Print()
type VMDeploymentConfig ¶
type VMDeploymentConfig struct { ComputeId string `json:"compute_id"` DataNetworkIds []string `json:"data_network_ids"` DefaultGateway []string `json:"default_gateway_addresses"` ManagementNetworkId string `json:"management_network_id"` ManagementPortSubnets []Subnet `json:"management_port_subnets"` ReservationInfo ReservationInfo `json:"reservation_info"` StorageId string `json:"storage_id"` VcId string `json:"vc_id"` PlacementType string `json:"placement_type"` }
type VSPort ¶
type VSPort struct { Ssl bool `json:"enable_ssl"` Port uint `json:"port"` PortRange uint `json:"port_range_end"` }
func (*VSPort) GetSummary ¶
type VSResult ¶
type VSResult struct {
VirtualServiceInventories []VirtualServiceInventory `json:"results"`
}
type VSRuntime ¶
type VSRuntime struct { PersentSEsUp int `json:"percent_ses_up"` VipSummary []VipSummary `json:"vip_summary"` Status VirtualServiceStatus `json:"oper_status"` }
type VipRuntime ¶
type VipRuntime struct {
Se []ServiceEngine `json:"se_list"`
}
type VipSummary ¶
type VirtualService ¶
type VirtualService struct { Type string `json:"type"` UUID string `json:"uuid"` Tenant string `json:"tenant_ref"` Name string `json:"name"` Ports []VSPort `json:"services"` CloudRef string `json:"cloud_ref"` SeGroupRef string `json:"se_group_ref"` Vips []Vip `json:"vip"` }
func (*VirtualService) GetCloudId ¶
func (v *VirtualService) GetCloudId() string
func (*VirtualService) GetSegId ¶
func (v *VirtualService) GetSegId() string
type VirtualServiceInventory ¶
type VirtualServiceInventory struct { Config VirtualService `json:"config"` Health map[string]int `json:"heal"` Runtime VSRuntime `json:"runtime"` }
type VirtualServiceStatus ¶
Click to show internal directories.
Click to hide internal directories.