Documentation ¶
Index ¶
- Constants
- type AaaServer
- type AllowedGrePeer
- type AllowedGrePeers
- type CarrierWifiGatewayHealthStatus
- type CarrierWifiNetworkClusterStatus
- type CwfGateway
- func (m *CwfGateway) FromBackendModels(magmadGateway, cwfGateway configurator.NetworkEntity, ...) handlers.GatewayModel
- func (m *CwfGateway) MarshalBinary() ([]byte, error)
- func (m *CwfGateway) UnmarshalBinary(b []byte) error
- func (m *CwfGateway) Validate(formats strfmt.Registry) error
- func (m *CwfGateway) ValidateModel() error
- type CwfNetwork
- func (m *CwfNetwork) FromConfiguratorNetwork(n configurator.Network) interface{}
- func (m *CwfNetwork) GetEmptyNetwork() handlers.NetworkModel
- func (m *CwfNetwork) MarshalBinary() ([]byte, error)
- func (m *CwfNetwork) ToConfiguratorNetwork() configurator.Network
- func (m *CwfNetwork) ToUpdateCriteria() configurator.NetworkUpdateCriteria
- func (m *CwfNetwork) UnmarshalBinary(b []byte) error
- func (m *CwfNetwork) Validate(formats strfmt.Registry) error
- func (m *CwfNetwork) ValidateModel() error
- type CwfSubscriberDirectoryRecord
- type EapAka
- type EapAkaTimeout
- type FegNetworkID
- type GatewayCwfConfigs
- func (m *GatewayCwfConfigs) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayCwfConfigs) MarshalBinary() ([]byte, error)
- func (m *GatewayCwfConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m *GatewayCwfConfigs) UnmarshalBinary(b []byte) error
- func (m *GatewayCwfConfigs) Validate(formats strfmt.Registry) error
- func (m *GatewayCwfConfigs) ValidateModel() error
- type GatewayHealthConfigs
- type HealthConfigs
- type IPDRExportDst
- type LiImsis
- type LiUes
- func (m *LiUes) GetFromNetwork(network configurator.Network) interface{}
- func (m *LiUes) MarshalBinary() ([]byte, error)
- func (m *LiUes) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
- func (m *LiUes) UnmarshalBinary(b []byte) error
- func (m *LiUes) Validate(formats strfmt.Registry) error
- func (m *LiUes) ValidateModel() error
- type MutableCwfGateway
- func (m *MutableCwfGateway) GetAdditionalEntitiesToLoadOnUpdate(gatewayID string) []storage.TypeAndKey
- func (m *MutableCwfGateway) GetAdditionalWritesOnCreate() []configurator.EntityWriteOperation
- func (m *MutableCwfGateway) GetAdditionalWritesOnUpdate(gatewayID string, ...) ([]configurator.EntityWriteOperation, error)
- func (m *MutableCwfGateway) GetMagmadGateway() *orc8rModels.MagmadGateway
- func (m *MutableCwfGateway) MarshalBinary() ([]byte, error)
- func (m *MutableCwfGateway) UnmarshalBinary(b []byte) error
- func (m *MutableCwfGateway) Validate(formats strfmt.Registry) error
- func (m *MutableCwfGateway) ValidateModel() error
- type NetworkCarrierWifiConfigs
- func (m *NetworkCarrierWifiConfigs) GetFromNetwork(network configurator.Network) interface{}
- func (m *NetworkCarrierWifiConfigs) MarshalBinary() ([]byte, error)
- func (m *NetworkCarrierWifiConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
- func (m *NetworkCarrierWifiConfigs) UnmarshalBinary(b []byte) error
- func (m *NetworkCarrierWifiConfigs) Validate(formats strfmt.Registry) error
- func (m *NetworkCarrierWifiConfigs) ValidateModel() error
Constants ¶
const ( // CarrierWifiGatewayHealthStatusStatusHEALTHY captures enum value "HEALTHY" CarrierWifiGatewayHealthStatusStatusHEALTHY string = "HEALTHY" // CarrierWifiGatewayHealthStatusStatusUNHEALTHY captures enum value "UNHEALTHY" CarrierWifiGatewayHealthStatusStatusUNHEALTHY string = "UNHEALTHY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AaaServer ¶
type AaaServer struct { // accounting enabled AccountingEnabled bool `json:"accounting_enabled,omitempty"` // create session on auth CreateSessionOnAuth bool `json:"create_session_on_auth,omitempty"` // event logging enabled EventLoggingEnabled bool `json:"event_logging_enabled,omitempty"` // idle session timeout ms IDLESessionTimeoutMs uint32 `json:"idle_session_timeout_ms,omitempty" magma_alt_name:"IdleSessionTimeoutMs"` }
AaaServer aaa server configuration swagger:model aaaServer
func (*AaaServer) MarshalBinary ¶
MarshalBinary interface implementation
func (*AaaServer) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AllowedGrePeer ¶
type AllowedGrePeer struct { // ip // Required: true // Max Length: 49 // Min Length: 5 IP string `json:"ip"` // key Key *uint32 `json:"key,omitempty"` }
AllowedGrePeer allowed gre peer swagger:model allowed_gre_peer
func (*AllowedGrePeer) MarshalBinary ¶
func (m *AllowedGrePeer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AllowedGrePeer) UnmarshalBinary ¶
func (m *AllowedGrePeer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AllowedGrePeers ¶
type AllowedGrePeers []*AllowedGrePeer
AllowedGrePeers allowed gre peers swagger:model allowed_gre_peers
type CarrierWifiGatewayHealthStatus ¶
type CarrierWifiGatewayHealthStatus struct { // description // Required: true Description string `json:"description"` // status // Required: true // Enum: [HEALTHY UNHEALTHY] Status string `json:"status"` }
CarrierWifiGatewayHealthStatus Health status of a Carrier Wifi Gateway swagger:model carrier_wifi_gateway_health_status
func (*CarrierWifiGatewayHealthStatus) MarshalBinary ¶
func (m *CarrierWifiGatewayHealthStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CarrierWifiGatewayHealthStatus) UnmarshalBinary ¶
func (m *CarrierWifiGatewayHealthStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CarrierWifiGatewayHealthStatus) Validate ¶
func (m *CarrierWifiGatewayHealthStatus) Validate(formats strfmt.Registry) error
Validate validates this carrier wifi gateway health status
func (*CarrierWifiGatewayHealthStatus) ValidateModel ¶
func (m *CarrierWifiGatewayHealthStatus) ValidateModel() error
type CarrierWifiNetworkClusterStatus ¶
type CarrierWifiNetworkClusterStatus struct { // active gateway // Required: true ActiveGateway string `json:"active_gateway"` }
CarrierWifiNetworkClusterStatus Status of a Carrier Wifi HA cluster swagger:model carrier_wifi_network_cluster_status
func (*CarrierWifiNetworkClusterStatus) MarshalBinary ¶
func (m *CarrierWifiNetworkClusterStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CarrierWifiNetworkClusterStatus) UnmarshalBinary ¶
func (m *CarrierWifiNetworkClusterStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CarrierWifiNetworkClusterStatus) Validate ¶
func (m *CarrierWifiNetworkClusterStatus) Validate(formats strfmt.Registry) error
Validate validates this carrier wifi network cluster status
func (*CarrierWifiNetworkClusterStatus) ValidateModel ¶
func (m *CarrierWifiNetworkClusterStatus) ValidateModel() error
type CwfGateway ¶
type CwfGateway struct { // carrier wifi // Required: true CarrierWifi *GatewayCwfConfigs `json:"carrier_wifi"` // description // Required: true Description models5.GatewayDescription `json:"description"` // device // Required: true Device *models6.GatewayDevice `json:"device"` // id // Required: true ID models5.GatewayID `json:"id"` // magmad // Required: true Magmad *models6.MagmadGatewayConfigs `json:"magmad"` // name // Required: true Name models5.GatewayName `json:"name"` // status Status *models6.GatewayStatus `json:"status,omitempty"` // tier // Required: true Tier models6.TierID `json:"tier"` }
CwfGateway Full description of a CWF gateway swagger:model cwf_gateway
func (*CwfGateway) FromBackendModels ¶
func (m *CwfGateway) FromBackendModels( magmadGateway, cwfGateway configurator.NetworkEntity, device *orc8rModels.GatewayDevice, status *orc8rModels.GatewayStatus, ) handlers.GatewayModel
func (*CwfGateway) MarshalBinary ¶
func (m *CwfGateway) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CwfGateway) UnmarshalBinary ¶
func (m *CwfGateway) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CwfGateway) Validate ¶
func (m *CwfGateway) Validate(formats strfmt.Registry) error
Validate validates this cwf gateway
func (*CwfGateway) ValidateModel ¶
func (m *CwfGateway) ValidateModel() error
type CwfNetwork ¶
type CwfNetwork struct { // carrier wifi // Required: true CarrierWifi *NetworkCarrierWifiConfigs `json:"carrier_wifi"` // description // Required: true Description models5.NetworkDescription `json:"description"` // dns // Required: true DNS *models6.NetworkDNSConfig `json:"dns"` // features Features *models6.NetworkFeatures `json:"features,omitempty"` // federation // Required: true Federation *models2.FederatedNetworkConfigs `json:"federation"` // id // Required: true ID models5.NetworkID `json:"id"` // name // Required: true Name models5.NetworkName `json:"name"` // subscriber config SubscriberConfig *models4.NetworkSubscriberConfig `json:"subscriber_config,omitempty"` }
CwfNetwork Carrier Wifi Network spec swagger:model cwf_network
func (*CwfNetwork) FromConfiguratorNetwork ¶
func (m *CwfNetwork) FromConfiguratorNetwork(n configurator.Network) interface{}
func (*CwfNetwork) GetEmptyNetwork ¶
func (m *CwfNetwork) GetEmptyNetwork() handlers.NetworkModel
func (*CwfNetwork) MarshalBinary ¶
func (m *CwfNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CwfNetwork) ToConfiguratorNetwork ¶
func (m *CwfNetwork) ToConfiguratorNetwork() configurator.Network
func (*CwfNetwork) ToUpdateCriteria ¶
func (m *CwfNetwork) ToUpdateCriteria() configurator.NetworkUpdateCriteria
func (*CwfNetwork) UnmarshalBinary ¶
func (m *CwfNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CwfNetwork) Validate ¶
func (m *CwfNetwork) Validate(formats strfmt.Registry) error
Validate validates this cwf network
func (*CwfNetwork) ValidateModel ¶
func (m *CwfNetwork) ValidateModel() error
type CwfSubscriberDirectoryRecord ¶
type CwfSubscriberDirectoryRecord struct { // ipv4 addr // Format: ipv4 IPV4Addr strfmt.IPv4 `json:"ipv4_addr,omitempty"` // location history // Required: true LocationHistory []string `json:"location_history"` // mac addr MacAddr string `json:"mac_addr,omitempty"` }
CwfSubscriberDirectoryRecord CWF subscriber directory record swagger:model cwf_subscriber_directory_record
func (*CwfSubscriberDirectoryRecord) MarshalBinary ¶
func (m *CwfSubscriberDirectoryRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CwfSubscriberDirectoryRecord) UnmarshalBinary ¶
func (m *CwfSubscriberDirectoryRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CwfSubscriberDirectoryRecord) Validate ¶
func (m *CwfSubscriberDirectoryRecord) Validate(formats strfmt.Registry) error
Validate validates this cwf subscriber directory record
func (*CwfSubscriberDirectoryRecord) ValidateModel ¶
func (m *CwfSubscriberDirectoryRecord) ValidateModel() error
type EapAka ¶
type EapAka struct { // plmn ids PlmnIds []string `json:"plmn_ids"` // timeout Timeout *EapAkaTimeout `json:"timeout,omitempty"` }
EapAka eap_aka configuration swagger:model eapAka
func (*EapAka) MarshalBinary ¶
MarshalBinary interface implementation
func (*EapAka) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EapAkaTimeout ¶
type EapAkaTimeout struct { // challenge ms ChallengeMs uint32 `json:"challenge_ms,omitempty"` // error notification ms ErrorNotificationMs uint32 `json:"error_notification_ms,omitempty"` // session authenticated ms SessionAuthenticatedMs uint32 `json:"session_authenticated_ms,omitempty"` // session ms SessionMs uint32 `json:"session_ms,omitempty"` }
EapAkaTimeout eap aka timeout swagger:model EapAkaTimeout
func (*EapAkaTimeout) MarshalBinary ¶
func (m *EapAkaTimeout) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EapAkaTimeout) UnmarshalBinary ¶
func (m *EapAkaTimeout) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FegNetworkID ¶
type FegNetworkID string
FegNetworkID feg network id swagger:model feg_network_id
type GatewayCwfConfigs ¶
type GatewayCwfConfigs struct { // allowed gre peers // Required: true AllowedGrePeers AllowedGrePeers `json:"allowed_gre_peers"` // gateway health configs GatewayHealthConfigs *GatewayHealthConfigs `json:"gateway_health_configs,omitempty"` // ipdr export dst IPDRExportDst *IPDRExportDst `json:"ipdr_export_dst,omitempty"` }
GatewayCwfConfigs CWF configuration for a gateway swagger:model gateway_cwf_configs
func (*GatewayCwfConfigs) FromBackendModels ¶
func (m *GatewayCwfConfigs) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayCwfConfigs) MarshalBinary ¶
func (m *GatewayCwfConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayCwfConfigs) ToUpdateCriteria ¶
func (m *GatewayCwfConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (*GatewayCwfConfigs) UnmarshalBinary ¶
func (m *GatewayCwfConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GatewayCwfConfigs) Validate ¶
func (m *GatewayCwfConfigs) Validate(formats strfmt.Registry) error
Validate validates this gateway cwf configs
func (*GatewayCwfConfigs) ValidateModel ¶
func (m *GatewayCwfConfigs) ValidateModel() error
type GatewayHealthConfigs ¶
type GatewayHealthConfigs struct { // cpu util threshold pct CPUUtilThresholdPct float32 `json:"cpu_util_threshold_pct,omitempty"` // gre probe interval secs GreProbeIntervalSecs uint32 `json:"gre_probe_interval_secs,omitempty"` // icmp probe pkt count IcmpProbePktCount uint32 `json:"icmp_probe_pkt_count,omitempty"` // mem util threshold pct MemUtilThresholdPct float32 `json:"mem_util_threshold_pct,omitempty"` }
GatewayHealthConfigs Configuration threshold for gateway health service swagger:model gateway_health_configs
func (*GatewayHealthConfigs) MarshalBinary ¶
func (m *GatewayHealthConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayHealthConfigs) UnmarshalBinary ¶
func (m *GatewayHealthConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthConfigs ¶
type HealthConfigs struct { // cpu util threshold pct // Required: true CPUUtilThresholdPct *float32 `json:"cpu_util_threshold_pct"` // gre probe interval secs GreProbeIntervalSecs uint32 `json:"gre_probe_interval_secs,omitempty"` // icmp probe pkt count IcmpProbePktCount uint32 `json:"icmp_probe_pkt_count,omitempty"` // mem util threshold pct // Required: true MemUtilThresholdPct *float32 `json:"mem_util_threshold_pct"` }
HealthConfigs Configuration threshold for gateway health service swagger:model health_configs
func (*HealthConfigs) MarshalBinary ¶
func (m *HealthConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthConfigs) UnmarshalBinary ¶
func (m *HealthConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPDRExportDst ¶
type IPDRExportDst struct { // ip // Required: true // Format: ipv4 IP strfmt.IPv4 `json:"ip"` // port // Required: true Port uint32 `json:"port"` }
IPDRExportDst ipdr export dst swagger:model ipdr_export_dst
func (*IPDRExportDst) MarshalBinary ¶
func (m *IPDRExportDst) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPDRExportDst) UnmarshalBinary ¶
func (m *IPDRExportDst) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LiUes ¶
type LiUes struct { // imsis // Required: true Imsis []string `json:"imsis"` // ips // Required: true Ips []string `json:"ips"` // macs // Required: true Macs []string `json:"macs"` // msisdns // Required: true Msisdns []string `json:"msisdns"` }
LiUes li ues swagger:model li_ues
func (*LiUes) GetFromNetwork ¶
func (m *LiUes) GetFromNetwork(network configurator.Network) interface{}
func (*LiUes) MarshalBinary ¶
MarshalBinary interface implementation
func (*LiUes) ToUpdateCriteria ¶
func (m *LiUes) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (*LiUes) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*LiUes) ValidateModel ¶
type MutableCwfGateway ¶
type MutableCwfGateway struct { // carrier wifi // Required: true CarrierWifi *GatewayCwfConfigs `json:"carrier_wifi"` // description // Required: true Description models5.GatewayDescription `json:"description"` // device // Required: true Device *models6.GatewayDevice `json:"device"` // id // Required: true ID models5.GatewayID `json:"id"` // magmad // Required: true Magmad *models6.MagmadGatewayConfigs `json:"magmad"` // name // Required: true Name models5.GatewayName `json:"name"` // tier // Required: true Tier models6.TierID `json:"tier"` }
MutableCwfGateway CWF gateway object with read-only fields omitted swagger:model mutable_cwf_gateway
func (*MutableCwfGateway) GetAdditionalEntitiesToLoadOnUpdate ¶
func (m *MutableCwfGateway) GetAdditionalEntitiesToLoadOnUpdate(gatewayID string) []storage.TypeAndKey
func (*MutableCwfGateway) GetAdditionalWritesOnCreate ¶
func (m *MutableCwfGateway) GetAdditionalWritesOnCreate() []configurator.EntityWriteOperation
func (*MutableCwfGateway) GetAdditionalWritesOnUpdate ¶
func (m *MutableCwfGateway) GetAdditionalWritesOnUpdate( gatewayID string, loadedEntities map[storage.TypeAndKey]configurator.NetworkEntity, ) ([]configurator.EntityWriteOperation, error)
func (*MutableCwfGateway) GetMagmadGateway ¶
func (m *MutableCwfGateway) GetMagmadGateway() *orc8rModels.MagmadGateway
func (*MutableCwfGateway) MarshalBinary ¶
func (m *MutableCwfGateway) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MutableCwfGateway) UnmarshalBinary ¶
func (m *MutableCwfGateway) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MutableCwfGateway) Validate ¶
func (m *MutableCwfGateway) Validate(formats strfmt.Registry) error
Validate validates this mutable cwf gateway
func (*MutableCwfGateway) ValidateModel ¶
func (m *MutableCwfGateway) ValidateModel() error
type NetworkCarrierWifiConfigs ¶
type NetworkCarrierWifiConfigs struct { // aaa server // Required: true AaaServer *AaaServer `json:"aaa_server"` // default rule id // Required: true DefaultRuleID *string `json:"default_rule_id"` // eap aka // Required: true EapAka *EapAka `json:"eap_aka"` // li ues LiUes *LiUes `json:"li_ues,omitempty"` // Configuration for network services. Services will be instantiated in the listed order. // Required: true NetworkServices []string `json:"network_services"` }
NetworkCarrierWifiConfigs Carrier WiFi configuration for a network swagger:model network_carrier_wifi_configs
func NewDefaultModifiedNetworkCarrierWifiConfigs ¶
func NewDefaultModifiedNetworkCarrierWifiConfigs() *NetworkCarrierWifiConfigs
func NewDefaultNetworkCarrierWifiConfigs ¶
func NewDefaultNetworkCarrierWifiConfigs() *NetworkCarrierWifiConfigs
func (*NetworkCarrierWifiConfigs) GetFromNetwork ¶
func (m *NetworkCarrierWifiConfigs) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkCarrierWifiConfigs) MarshalBinary ¶
func (m *NetworkCarrierWifiConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCarrierWifiConfigs) ToUpdateCriteria ¶
func (m *NetworkCarrierWifiConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (*NetworkCarrierWifiConfigs) UnmarshalBinary ¶
func (m *NetworkCarrierWifiConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NetworkCarrierWifiConfigs) Validate ¶
func (m *NetworkCarrierWifiConfigs) Validate(formats strfmt.Registry) error
Validate validates this network carrier wifi configs
func (*NetworkCarrierWifiConfigs) ValidateModel ¶
func (m *NetworkCarrierWifiConfigs) ValidateModel() error
Source Files ¶
- aaa_server_swaggergen.go
- allowed_gre_peer_swaggergen.go
- allowed_gre_peers_swaggergen.go
- carrier_wifi_gateway_health_status_swaggergen.go
- carrier_wifi_network_cluster_status_swaggergen.go
- conversion.go
- cwf_gateway_swaggergen.go
- cwf_network_swaggergen.go
- cwf_subscriber_directory_record_swaggergen.go
- defaults.go
- eap_aka_swaggergen.go
- feg_network_id_swaggergen.go
- gateway_cwf_configs_swaggergen.go
- gateway_health_configs_swaggergen.go
- gen.go
- health_configs_swaggergen.go
- ip_d_r_export_dst_swaggergen.go
- li_imsis_swaggergen.go
- li_ues_swaggergen.go
- mutable_cwf_gateway_swaggergen.go
- network_carrier_wifi_configs_swaggergen.go
- validate.go