Documentation ¶
Index ¶
- Constants
- type AggregatedMaximumBitrate
- type Apn
- type ApnConfiguration
- type ApnList
- type ApnName
- type Enodeb
- func (m *Enodeb) FromBackendModels(ent configurator.NetworkEntity) *Enodeb
- func (m *Enodeb) MarshalBinary() ([]byte, error)
- func (m *Enodeb) ToEntityUpdateCriteria() configurator.EntityUpdateCriteria
- func (m *Enodeb) UnmarshalBinary(b []byte) error
- func (m *Enodeb) Validate(formats strfmt.Registry) error
- func (m *Enodeb) ValidateModel() error
- type EnodebConfiguration
- type EnodebSerials
- func (m *EnodebSerials) FromBackendModels(networkID string, gatewayID string) error
- func (m *EnodebSerials) ToCreateUpdateCriteria(networkID, gatewayID, enodebID string) configurator.EntityUpdateCriteria
- func (m *EnodebSerials) ToDeleteUpdateCriteria(networkID, gatewayID, enodebID string) configurator.EntityUpdateCriteria
- func (m *EnodebSerials) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m EnodebSerials) Validate(formats strfmt.Registry) error
- func (m *EnodebSerials) ValidateModel() error
- type EnodebState
- type FegNetworkID
- type GatewayCellularConfigs
- func (m *GatewayCellularConfigs) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayCellularConfigs) MarshalBinary() ([]byte, error)
- func (m *GatewayCellularConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m *GatewayCellularConfigs) UnmarshalBinary(b []byte) error
- func (m *GatewayCellularConfigs) Validate(formats strfmt.Registry) error
- func (m *GatewayCellularConfigs) ValidateModel() error
- type GatewayEpcConfigs
- func (m *GatewayEpcConfigs) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayEpcConfigs) MarshalBinary() ([]byte, error)
- func (m *GatewayEpcConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m *GatewayEpcConfigs) UnmarshalBinary(b []byte) error
- func (m *GatewayEpcConfigs) Validate(formats strfmt.Registry) error
- func (m *GatewayEpcConfigs) ValidateModel() error
- type GatewayNonEpsConfigs
- func (m *GatewayNonEpsConfigs) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayNonEpsConfigs) MarshalBinary() ([]byte, error)
- func (m *GatewayNonEpsConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m *GatewayNonEpsConfigs) UnmarshalBinary(b []byte) error
- func (m *GatewayNonEpsConfigs) Validate(formats strfmt.Registry) error
- func (m *GatewayNonEpsConfigs) ValidateModel() error
- type GatewayRanConfigs
- func (m *GatewayRanConfigs) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayRanConfigs) MarshalBinary() ([]byte, error)
- func (m *GatewayRanConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m *GatewayRanConfigs) UnmarshalBinary(b []byte) error
- func (m *GatewayRanConfigs) Validate(formats strfmt.Registry) error
- func (m *GatewayRanConfigs) ValidateModel() error
- type LteGateway
- func (m *LteGateway) FromBackendModels(magmadGateway, cellularGateway configurator.NetworkEntity, ...) handlers.GatewayModel
- func (m *LteGateway) MarshalBinary() ([]byte, error)
- func (m *LteGateway) UnmarshalBinary(b []byte) error
- func (m *LteGateway) Validate(formats strfmt.Registry) error
- func (m *LteGateway) ValidateModel() error
- type LteNetwork
- func (m *LteNetwork) FromConfiguratorNetwork(n configurator.Network) interface{}
- func (m *LteNetwork) GetEmptyNetwork() handlers.NetworkModel
- func (m *LteNetwork) MarshalBinary() ([]byte, error)
- func (m *LteNetwork) ToConfiguratorNetwork() configurator.Network
- func (m *LteNetwork) ToUpdateCriteria() configurator.NetworkUpdateCriteria
- func (m *LteNetwork) UnmarshalBinary(b []byte) error
- func (m *LteNetwork) Validate(formats strfmt.Registry) error
- func (m *LteNetwork) ValidateModel() error
- type MutableLteGateway
- func (m *MutableLteGateway) GetAdditionalEntitiesToLoadOnUpdate(gatewayID string) []storage.TypeAndKey
- func (m *MutableLteGateway) GetAdditionalWritesOnCreate() []configurator.EntityWriteOperation
- func (m *MutableLteGateway) GetAdditionalWritesOnUpdate(gatewayID string, ...) ([]configurator.EntityWriteOperation, error)
- func (m *MutableLteGateway) GetMagmadGateway() *orc8rModels.MagmadGateway
- func (m *MutableLteGateway) MarshalBinary() ([]byte, error)
- func (m *MutableLteGateway) UnmarshalBinary(b []byte) error
- func (m *MutableLteGateway) Validate(formats strfmt.Registry) error
- func (m *MutableLteGateway) ValidateModel() error
- type NetworkCellularConfigs
- func (m *NetworkCellularConfigs) GetEarfcndl() uint32
- func (m *NetworkCellularConfigs) GetFromNetwork(network configurator.Network) interface{}
- func (m *NetworkCellularConfigs) MarshalBinary() ([]byte, error)
- func (m *NetworkCellularConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
- func (m *NetworkCellularConfigs) UnmarshalBinary(b []byte) error
- func (m *NetworkCellularConfigs) Validate(formats strfmt.Registry) error
- func (m *NetworkCellularConfigs) ValidateModel() error
- type NetworkEpcConfigs
- func (m *NetworkEpcConfigs) GetFromNetwork(network configurator.Network) interface{}
- func (m *NetworkEpcConfigs) MarshalBinary() ([]byte, error)
- func (m *NetworkEpcConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
- func (m *NetworkEpcConfigs) UnmarshalBinary(b []byte) error
- func (m *NetworkEpcConfigs) Validate(formats strfmt.Registry) error
- func (m *NetworkEpcConfigs) ValidateModel() error
- type NetworkEpcConfigsMobility
- type NetworkEpcConfigsMobilityNat
- type NetworkEpcConfigsMobilityStatic
- type NetworkEpcConfigsSubProfilesAnon
- type NetworkRanConfigs
- func (m *NetworkRanConfigs) GetFromNetwork(network configurator.Network) interface{}
- func (m *NetworkRanConfigs) MarshalBinary() ([]byte, error)
- func (m *NetworkRanConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
- func (m *NetworkRanConfigs) UnmarshalBinary(b []byte) error
- func (m *NetworkRanConfigs) Validate(formats strfmt.Registry) error
- func (m *NetworkRanConfigs) ValidateModel() error
- type NetworkRanConfigsFddConfig
- type NetworkRanConfigsTddConfig
- type QosProfile
- type RatingGroupID
- type SubscriberState
- type UntypedMmeState
Constants ¶
const ( // NATAllocationMode NAT IP allocation mode NATAllocationMode = "NAT" // StaticAllocationMode Static IP allocation mode StaticAllocationMode = "STATIC" // DHCPPassthroughAllocationMode DHCP Passthrough (carrier wifi) IP allocation mode DHCPPassthroughAllocationMode = "DHCP_PASSTHROUGH" // DHCPBroadcastAllocationMode DHCP Broadcast IP allocation mode DHCPBroadcastAllocationMode = "DHCP_BROADCAST" )
const ( // EnodebConfigurationDeviceClassBaicellsNova233G2ODFDD captures enum value "Baicells Nova-233 G2 OD FDD" EnodebConfigurationDeviceClassBaicellsNova233G2ODFDD string = "Baicells Nova-233 G2 OD FDD" // EnodebConfigurationDeviceClassBaicellsNova243ODTDD captures enum value "Baicells Nova-243 OD TDD" EnodebConfigurationDeviceClassBaicellsNova243ODTDD string = "Baicells Nova-243 OD TDD" // EnodebConfigurationDeviceClassBaicellsNeutrino224IDFDD captures enum value "Baicells Neutrino 224 ID FDD" EnodebConfigurationDeviceClassBaicellsNeutrino224IDFDD string = "Baicells Neutrino 224 ID FDD" // EnodebConfigurationDeviceClassBaicellsIDTDDFDD captures enum value "Baicells ID TDD/FDD" EnodebConfigurationDeviceClassBaicellsIDTDDFDD string = "Baicells ID TDD/FDD" // EnodebConfigurationDeviceClassNuRANCaviumOCLTE captures enum value "NuRAN Cavium OC-LTE" EnodebConfigurationDeviceClassNuRANCaviumOCLTE string = "NuRAN Cavium OC-LTE" )
const ( // NetworkEpcConfigsMobilityIPAllocationModeNAT captures enum value "NAT" NetworkEpcConfigsMobilityIPAllocationModeNAT string = "NAT" // NetworkEpcConfigsMobilityIPAllocationModeSTATIC captures enum value "STATIC" NetworkEpcConfigsMobilityIPAllocationModeSTATIC string = "STATIC" // NetworkEpcConfigsMobilityIPAllocationModeDHCPPASSTHROUGH captures enum value "DHCP_PASSTHROUGH" NetworkEpcConfigsMobilityIPAllocationModeDHCPPASSTHROUGH string = "DHCP_PASSTHROUGH" // NetworkEpcConfigsMobilityIPAllocationModeDHCPBROADCAST captures enum value "DHCP_BROADCAST" NetworkEpcConfigsMobilityIPAllocationModeDHCPBROADCAST string = "DHCP_BROADCAST" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatedMaximumBitrate ¶
type AggregatedMaximumBitrate struct { // max bandwidth dl // Required: true MaxBandwidthDl *uint32 `json:"max_bandwidth_dl"` // max bandwidth ul // Required: true MaxBandwidthUl *uint32 `json:"max_bandwidth_ul"` }
AggregatedMaximumBitrate aggregated maximum bitrate swagger:model aggregated_maximum_bitrate
func (*AggregatedMaximumBitrate) MarshalBinary ¶
func (m *AggregatedMaximumBitrate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AggregatedMaximumBitrate) UnmarshalBinary ¶
func (m *AggregatedMaximumBitrate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Apn ¶
type Apn struct { // apn configuration // Required: true ApnConfiguration *ApnConfiguration `json:"apn_configuration"` // apn name // Required: true ApnName ApnName `json:"apn_name"` }
Apn apn swagger:model apn
func (*Apn) FromBackendModels ¶
func (m *Apn) FromBackendModels(ent configurator.NetworkEntity) *Apn
func (*Apn) MarshalBinary ¶
MarshalBinary interface implementation
func (*Apn) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Apn) ValidateModel ¶
ValidateModel does standard swagger validation and any custom validation
type ApnConfiguration ¶
type ApnConfiguration struct { // ambr // Required: true Ambr *AggregatedMaximumBitrate `json:"ambr"` // qos profile // Required: true QosProfile *QosProfile `json:"qos_profile"` }
ApnConfiguration apn configuration swagger:model apn_configuration
func (*ApnConfiguration) MarshalBinary ¶
func (m *ApnConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApnConfiguration) UnmarshalBinary ¶
func (m *ApnConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApnList ¶
type ApnList []string
ApnList APNs that are allowed for this subscriber swagger:model apn_list
func (ApnList) ToAssocs ¶
func (m ApnList) ToAssocs() []storage.TypeAndKey
type Enodeb ¶
type Enodeb struct { // attached gateway id // Read Only: true AttachedGatewayID string `json:"attached_gateway_id,omitempty"` // config // Required: true Config *EnodebConfiguration `json:"config"` // description Description string `json:"description,omitempty"` // name // Required: true // Min Length: 1 Name string `json:"name"` // serial // Required: true // Min Length: 1 Serial string `json:"serial"` }
Enodeb Representation of an enodeB swagger:model enodeb
func (*Enodeb) FromBackendModels ¶
func (m *Enodeb) FromBackendModels(ent configurator.NetworkEntity) *Enodeb
func (*Enodeb) MarshalBinary ¶
MarshalBinary interface implementation
func (*Enodeb) ToEntityUpdateCriteria ¶
func (m *Enodeb) ToEntityUpdateCriteria() configurator.EntityUpdateCriteria
func (*Enodeb) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Enodeb) ValidateModel ¶
type EnodebConfiguration ¶
type EnodebConfiguration struct { // bandwidth mhz // Enum: [3 5 10 15 20] BandwidthMhz uint32 `json:"bandwidth_mhz,omitempty"` // cell id // Required: true // Maximum: 2.68435455e+08 CellID *uint32 `json:"cell_id"` // device class // Required: true // Enum: [Baicells Nova-233 G2 OD FDD Baicells Nova-243 OD TDD Baicells Neutrino 224 ID FDD Baicells ID TDD/FDD NuRAN Cavium OC-LTE] DeviceClass string `json:"device_class"` // earfcndl Earfcndl uint32 `json:"earfcndl,omitempty"` // pci // Maximum: 503 // Minimum: > 0 Pci uint32 `json:"pci,omitempty"` // special subframe pattern // Maximum: 9 SpecialSubframePattern uint32 `json:"special_subframe_pattern,omitempty"` // subframe assignment // Maximum: 6 SubframeAssignment uint32 `json:"subframe_assignment,omitempty"` // tac // Maximum: 65535 // Minimum: 1 Tac uint32 `json:"tac,omitempty"` // transmit enabled // Required: true TransmitEnabled *bool `json:"transmit_enabled"` }
EnodebConfiguration Configuration for an enodeB. Unfilled fields will be inherited from LTE network and gateway configuration. swagger:model enodeb_configuration
func (*EnodebConfiguration) MarshalBinary ¶
func (m *EnodebConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnodebConfiguration) UnmarshalBinary ¶
func (m *EnodebConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*EnodebConfiguration) Validate ¶
func (m *EnodebConfiguration) Validate(formats strfmt.Registry) error
Validate validates this enodeb configuration
func (*EnodebConfiguration) ValidateModel ¶
func (m *EnodebConfiguration) ValidateModel() error
type EnodebSerials ¶
type EnodebSerials []string
EnodebSerials enodeb serials swagger:model enodeb_serials
func (*EnodebSerials) FromBackendModels ¶
func (m *EnodebSerials) FromBackendModels(networkID string, gatewayID string) error
func (*EnodebSerials) ToCreateUpdateCriteria ¶
func (m *EnodebSerials) ToCreateUpdateCriteria(networkID, gatewayID, enodebID string) configurator.EntityUpdateCriteria
func (*EnodebSerials) ToDeleteUpdateCriteria ¶
func (m *EnodebSerials) ToDeleteUpdateCriteria(networkID, gatewayID, enodebID string) configurator.EntityUpdateCriteria
func (*EnodebSerials) ToUpdateCriteria ¶
func (m *EnodebSerials) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (EnodebSerials) Validate ¶
func (m EnodebSerials) Validate(formats strfmt.Registry) error
Validate validates this enodeb serials
func (*EnodebSerials) ValidateModel ¶
func (m *EnodebSerials) ValidateModel() error
type EnodebState ¶
type EnodebState struct { // enodeb configured // Required: true EnodebConfigured *bool `json:"enodeb_configured"` // enodeb connected // Required: true EnodebConnected *bool `json:"enodeb_connected"` // fsm state // Required: true FsmState *string `json:"fsm_state"` // gps connected // Required: true GpsConnected *bool `json:"gps_connected"` // gps latitude // Required: true GpsLatitude *string `json:"gps_latitude"` // gps longitude // Required: true GpsLongitude *string `json:"gps_longitude"` // mme connected // Required: true MmeConnected *bool `json:"mme_connected"` // opstate enabled // Required: true OpstateEnabled *bool `json:"opstate_enabled"` // ptp connected // Required: true PtpConnected *bool `json:"ptp_connected"` // Gateway ID from which the enodeb state was reported ReportingGatewayID string `json:"reporting_gateway_id,omitempty"` // rf tx desired // Required: true RfTxDesired *bool `json:"rf_tx_desired"` // rf tx on // Required: true RfTxOn *bool `json:"rf_tx_on"` // Time at which the state was reported in ms TimeReported uint64 `json:"time_reported,omitempty"` }
EnodebState Single Enodeb State swagger:model enodeb_state
func NewDefaultEnodebStatus ¶
func NewDefaultEnodebStatus() *EnodebState
func (*EnodebState) MarshalBinary ¶
func (m *EnodebState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnodebState) UnmarshalBinary ¶
func (m *EnodebState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*EnodebState) Validate ¶
func (m *EnodebState) Validate(formats strfmt.Registry) error
Validate validates this enodeb state
func (*EnodebState) ValidateModel ¶
func (m *EnodebState) ValidateModel() error
type FegNetworkID ¶
type FegNetworkID string
FegNetworkID feg network id swagger:model feg_network_id
func (FegNetworkID) GetFromNetwork ¶
func (m FegNetworkID) GetFromNetwork(network configurator.Network) interface{}
func (FegNetworkID) ToUpdateCriteria ¶
func (m FegNetworkID) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (FegNetworkID) Validate ¶
func (m FegNetworkID) Validate(formats strfmt.Registry) error
Validate validates this feg network id
func (FegNetworkID) ValidateModel ¶
func (m FegNetworkID) ValidateModel() error
type GatewayCellularConfigs ¶
type GatewayCellularConfigs struct { // epc // Required: true Epc *GatewayEpcConfigs `json:"epc"` // non eps service NonEpsService *GatewayNonEpsConfigs `json:"non_eps_service,omitempty"` // ran // Required: true Ran *GatewayRanConfigs `json:"ran"` }
GatewayCellularConfigs Cellular configuration for LTE gateway swagger:model gateway_cellular_configs
func (*GatewayCellularConfigs) FromBackendModels ¶
func (m *GatewayCellularConfigs) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayCellularConfigs) MarshalBinary ¶
func (m *GatewayCellularConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayCellularConfigs) ToUpdateCriteria ¶
func (m *GatewayCellularConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (*GatewayCellularConfigs) UnmarshalBinary ¶
func (m *GatewayCellularConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GatewayCellularConfigs) Validate ¶
func (m *GatewayCellularConfigs) Validate(formats strfmt.Registry) error
Validate validates this gateway cellular configs
func (*GatewayCellularConfigs) ValidateModel ¶
func (m *GatewayCellularConfigs) ValidateModel() error
type GatewayEpcConfigs ¶
type GatewayEpcConfigs struct { // dns primary // Max Length: 45 // Min Length: 5 DNSPrimary string `json:"dns_primary,omitempty"` // dns secondary // Max Length: 45 // Min Length: 5 DNSSecondary string `json:"dns_secondary,omitempty"` // ip block // Required: true // Max Length: 49 // Min Length: 5 IPBlock string `json:"ip_block"` // nat enabled // Required: true NatEnabled *bool `json:"nat_enabled"` }
GatewayEpcConfigs EPC configuration for an LTE gateway swagger:model gateway_epc_configs
func (*GatewayEpcConfigs) FromBackendModels ¶
func (m *GatewayEpcConfigs) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayEpcConfigs) MarshalBinary ¶
func (m *GatewayEpcConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayEpcConfigs) ToUpdateCriteria ¶
func (m *GatewayEpcConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (*GatewayEpcConfigs) UnmarshalBinary ¶
func (m *GatewayEpcConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GatewayEpcConfigs) Validate ¶
func (m *GatewayEpcConfigs) Validate(formats strfmt.Registry) error
Validate validates this gateway epc configs
func (*GatewayEpcConfigs) ValidateModel ¶
func (m *GatewayEpcConfigs) ValidateModel() error
type GatewayNonEpsConfigs ¶
type GatewayNonEpsConfigs struct { // arfcn 2g Arfcn2g []uint32 `json:"arfcn_2g"` // csfb mcc // Min Length: 1 // Pattern: ^(\d{3})$ CsfbMcc string `json:"csfb_mcc,omitempty"` // csfb mnc // Min Length: 1 // Pattern: ^(\d{2,3})$ CsfbMnc string `json:"csfb_mnc,omitempty"` // csfb rat // Enum: [0 1] CsfbRat *uint32 `json:"csfb_rat,omitempty"` // lac Lac *uint32 `json:"lac,omitempty"` // non eps service control // Required: true // Enum: [0 1 2] NonEpsServiceControl *uint32 `json:"non_eps_service_control"` }
GatewayNonEpsConfigs Non-EPS service configuration for a gateway swagger:model gateway_non_eps_configs
func (*GatewayNonEpsConfigs) FromBackendModels ¶
func (m *GatewayNonEpsConfigs) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayNonEpsConfigs) MarshalBinary ¶
func (m *GatewayNonEpsConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayNonEpsConfigs) ToUpdateCriteria ¶
func (m *GatewayNonEpsConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (*GatewayNonEpsConfigs) UnmarshalBinary ¶
func (m *GatewayNonEpsConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GatewayNonEpsConfigs) Validate ¶
func (m *GatewayNonEpsConfigs) Validate(formats strfmt.Registry) error
Validate validates this gateway non eps configs
func (*GatewayNonEpsConfigs) ValidateModel ¶
func (m *GatewayNonEpsConfigs) ValidateModel() error
type GatewayRanConfigs ¶
type GatewayRanConfigs struct { // pci // Required: true // Maximum: 503 // Minimum: > 0 Pci uint32 `json:"pci"` // transmit enabled // Required: true TransmitEnabled *bool `json:"transmit_enabled"` }
GatewayRanConfigs RAN configuration for LTE gateway swagger:model gateway_ran_configs
func (*GatewayRanConfigs) FromBackendModels ¶
func (m *GatewayRanConfigs) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayRanConfigs) MarshalBinary ¶
func (m *GatewayRanConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayRanConfigs) ToUpdateCriteria ¶
func (m *GatewayRanConfigs) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (*GatewayRanConfigs) UnmarshalBinary ¶
func (m *GatewayRanConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GatewayRanConfigs) Validate ¶
func (m *GatewayRanConfigs) Validate(formats strfmt.Registry) error
Validate validates this gateway ran configs
func (*GatewayRanConfigs) ValidateModel ¶
func (m *GatewayRanConfigs) ValidateModel() error
type LteGateway ¶
type LteGateway struct { // cellular // Required: true Cellular *GatewayCellularConfigs `json:"cellular"` // connected enodeb serials // Required: true ConnectedEnodebSerials EnodebSerials `json:"connected_enodeb_serials"` // description // Required: true Description models3.GatewayDescription `json:"description"` // device // Required: true Device *models4.GatewayDevice `json:"device"` // id // Required: true ID models3.GatewayID `json:"id"` // magmad // Required: true Magmad *models4.MagmadGatewayConfigs `json:"magmad"` // name // Required: true Name models3.GatewayName `json:"name"` // status Status *models4.GatewayStatus `json:"status,omitempty"` // tier // Required: true Tier models4.TierID `json:"tier"` }
LteGateway Full description of an LTE gateway swagger:model lte_gateway
func (*LteGateway) FromBackendModels ¶
func (m *LteGateway) FromBackendModels( magmadGateway, cellularGateway configurator.NetworkEntity, device *orc8rModels.GatewayDevice, status *orc8rModels.GatewayStatus, ) handlers.GatewayModel
func (*LteGateway) MarshalBinary ¶
func (m *LteGateway) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LteGateway) UnmarshalBinary ¶
func (m *LteGateway) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LteGateway) Validate ¶
func (m *LteGateway) Validate(formats strfmt.Registry) error
Validate validates this lte gateway
func (*LteGateway) ValidateModel ¶
func (m *LteGateway) ValidateModel() error
type LteNetwork ¶
type LteNetwork struct { // cellular // Required: true Cellular *NetworkCellularConfigs `json:"cellular"` // description // Required: true Description models3.NetworkDescription `json:"description"` // dns // Required: true DNS *models4.NetworkDNSConfig `json:"dns"` // features Features *models4.NetworkFeatures `json:"features,omitempty"` // id // Required: true ID models3.NetworkID `json:"id"` // name // Required: true Name models3.NetworkName `json:"name"` // subscriber config SubscriberConfig *models2.NetworkSubscriberConfig `json:"subscriber_config,omitempty"` }
LteNetwork LTE Network spec swagger:model lte_network
func (*LteNetwork) FromConfiguratorNetwork ¶
func (m *LteNetwork) FromConfiguratorNetwork(n configurator.Network) interface{}
func (*LteNetwork) GetEmptyNetwork ¶
func (m *LteNetwork) GetEmptyNetwork() handlers.NetworkModel
func (*LteNetwork) MarshalBinary ¶
func (m *LteNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LteNetwork) ToConfiguratorNetwork ¶
func (m *LteNetwork) ToConfiguratorNetwork() configurator.Network
func (*LteNetwork) ToUpdateCriteria ¶
func (m *LteNetwork) ToUpdateCriteria() configurator.NetworkUpdateCriteria
func (*LteNetwork) UnmarshalBinary ¶
func (m *LteNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LteNetwork) Validate ¶
func (m *LteNetwork) Validate(formats strfmt.Registry) error
Validate validates this lte network
func (*LteNetwork) ValidateModel ¶
func (m *LteNetwork) ValidateModel() error
type MutableLteGateway ¶
type MutableLteGateway struct { // cellular // Required: true Cellular *GatewayCellularConfigs `json:"cellular"` // connected enodeb serials // Required: true ConnectedEnodebSerials EnodebSerials `json:"connected_enodeb_serials"` // description // Required: true Description models3.GatewayDescription `json:"description"` // device // Required: true Device *models4.GatewayDevice `json:"device"` // id // Required: true ID models3.GatewayID `json:"id"` // magmad // Required: true Magmad *models4.MagmadGatewayConfigs `json:"magmad"` // name // Required: true Name models3.GatewayName `json:"name"` // tier // Required: true Tier models4.TierID `json:"tier"` }
MutableLteGateway LTE gateway object with read-only fields omitted swagger:model mutable_lte_gateway
func (*MutableLteGateway) GetAdditionalEntitiesToLoadOnUpdate ¶
func (m *MutableLteGateway) GetAdditionalEntitiesToLoadOnUpdate(gatewayID string) []storage.TypeAndKey
func (*MutableLteGateway) GetAdditionalWritesOnCreate ¶
func (m *MutableLteGateway) GetAdditionalWritesOnCreate() []configurator.EntityWriteOperation
func (*MutableLteGateway) GetAdditionalWritesOnUpdate ¶
func (m *MutableLteGateway) GetAdditionalWritesOnUpdate( gatewayID string, loadedEntities map[storage.TypeAndKey]configurator.NetworkEntity, ) ([]configurator.EntityWriteOperation, error)
func (*MutableLteGateway) GetMagmadGateway ¶
func (m *MutableLteGateway) GetMagmadGateway() *orc8rModels.MagmadGateway
func (*MutableLteGateway) MarshalBinary ¶
func (m *MutableLteGateway) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MutableLteGateway) UnmarshalBinary ¶
func (m *MutableLteGateway) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MutableLteGateway) Validate ¶
func (m *MutableLteGateway) Validate(formats strfmt.Registry) error
Validate validates this mutable lte gateway
func (*MutableLteGateway) ValidateModel ¶
func (m *MutableLteGateway) ValidateModel() error
type NetworkCellularConfigs ¶
type NetworkCellularConfigs struct { // epc // Required: true Epc *NetworkEpcConfigs `json:"epc"` // feg network id FegNetworkID FegNetworkID `json:"feg_network_id,omitempty"` // ran // Required: true Ran *NetworkRanConfigs `json:"ran"` }
NetworkCellularConfigs Cellular configuration for a network swagger:model network_cellular_configs
func NewDefaultFDDNetworkConfig ¶
func NewDefaultFDDNetworkConfig() *NetworkCellularConfigs
func NewDefaultTDDNetworkConfig ¶
func NewDefaultTDDNetworkConfig() *NetworkCellularConfigs
func (*NetworkCellularConfigs) GetEarfcndl ¶
func (m *NetworkCellularConfigs) GetEarfcndl() uint32
func (*NetworkCellularConfigs) GetFromNetwork ¶
func (m *NetworkCellularConfigs) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkCellularConfigs) MarshalBinary ¶
func (m *NetworkCellularConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCellularConfigs) ToUpdateCriteria ¶
func (m *NetworkCellularConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (*NetworkCellularConfigs) UnmarshalBinary ¶
func (m *NetworkCellularConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NetworkCellularConfigs) Validate ¶
func (m *NetworkCellularConfigs) Validate(formats strfmt.Registry) error
Validate validates this network cellular configs
func (*NetworkCellularConfigs) ValidateModel ¶
func (m *NetworkCellularConfigs) ValidateModel() error
type NetworkEpcConfigs ¶
type NetworkEpcConfigs struct { // cloud subscriberdb enabled CloudSubscriberdbEnabled bool `json:"cloud_subscriberdb_enabled,omitempty"` // default rule id DefaultRuleID string `json:"default_rule_id,omitempty"` // lte auth amf // Required: true // Format: byte LteAuthAmf strfmt.Base64 `json:"lte_auth_amf"` // lte auth op // Required: true // Max Length: 16 // Min Length: 15 // Format: byte LteAuthOp strfmt.Base64 `json:"lte_auth_op"` // mcc // Required: true // Pattern: ^(\d{3})$ Mcc string `json:"mcc"` // mnc // Required: true // Pattern: ^(\d{2,3})$ Mnc string `json:"mnc"` // mobility Mobility *NetworkEpcConfigsMobility `json:"mobility,omitempty"` // Configuration for network services. Services will be instantiated in the listed order. NetworkServices []string `json:"network_services,omitempty"` // relay enabled // Required: true RelayEnabled *bool `json:"relay_enabled"` // sub profiles SubProfiles map[string]NetworkEpcConfigsSubProfilesAnon `json:"sub_profiles,omitempty"` // tac // Required: true // Maximum: 65535 // Minimum: 1 Tac uint32 `json:"tac"` }
NetworkEpcConfigs EPC (evolved packet core) cellular configuration for a network swagger:model network_epc_configs
func (*NetworkEpcConfigs) GetFromNetwork ¶
func (m *NetworkEpcConfigs) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkEpcConfigs) MarshalBinary ¶
func (m *NetworkEpcConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkEpcConfigs) ToUpdateCriteria ¶
func (m *NetworkEpcConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (*NetworkEpcConfigs) UnmarshalBinary ¶
func (m *NetworkEpcConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NetworkEpcConfigs) Validate ¶
func (m *NetworkEpcConfigs) Validate(formats strfmt.Registry) error
Validate validates this network epc configs
func (*NetworkEpcConfigs) ValidateModel ¶
func (m *NetworkEpcConfigs) ValidateModel() error
type NetworkEpcConfigsMobility ¶
type NetworkEpcConfigsMobility struct { // enable static ip assignments EnableStaticIPAssignments bool `json:"enable_static_ip_assignments,omitempty"` // ip allocation mode // Required: true // Enum: [NAT STATIC DHCP_PASSTHROUGH DHCP_BROADCAST] IPAllocationMode string `json:"ip_allocation_mode"` // nat Nat *NetworkEpcConfigsMobilityNat `json:"nat,omitempty"` // reserved addresses ReservedAddresses []strfmt.IPv4 `json:"reserved_addresses"` // static Static *NetworkEpcConfigsMobilityStatic `json:"static,omitempty"` }
NetworkEpcConfigsMobility Configuration for IP Allocation (Mobility). swagger:model NetworkEpcConfigsMobility
func (*NetworkEpcConfigsMobility) MarshalBinary ¶
func (m *NetworkEpcConfigsMobility) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkEpcConfigsMobility) UnmarshalBinary ¶
func (m *NetworkEpcConfigsMobility) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkEpcConfigsMobilityNat ¶
type NetworkEpcConfigsMobilityNat struct { // ip blocks IPBlocks []string `json:"ip_blocks"` }
NetworkEpcConfigsMobilityNat network epc configs mobility nat swagger:model NetworkEpcConfigsMobilityNat
func (*NetworkEpcConfigsMobilityNat) MarshalBinary ¶
func (m *NetworkEpcConfigsMobilityNat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkEpcConfigsMobilityNat) UnmarshalBinary ¶
func (m *NetworkEpcConfigsMobilityNat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkEpcConfigsMobilityStatic ¶
type NetworkEpcConfigsMobilityStatic struct { // ip blocks by tac IPBlocksByTac map[string][]string `json:"ip_blocks_by_tac,omitempty"` }
NetworkEpcConfigsMobilityStatic network epc configs mobility static swagger:model NetworkEpcConfigsMobilityStatic
func (*NetworkEpcConfigsMobilityStatic) MarshalBinary ¶
func (m *NetworkEpcConfigsMobilityStatic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkEpcConfigsMobilityStatic) UnmarshalBinary ¶
func (m *NetworkEpcConfigsMobilityStatic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkEpcConfigsSubProfilesAnon ¶
type NetworkEpcConfigsSubProfilesAnon struct { // max dl bit rate // Required: true // Minimum: > 0 MaxDlBitRate uint64 `json:"max_dl_bit_rate"` // max ul bit rate // Required: true // Minimum: > 0 MaxUlBitRate uint64 `json:"max_ul_bit_rate"` }
NetworkEpcConfigsSubProfilesAnon network epc configs sub profiles anon swagger:model NetworkEpcConfigsSubProfilesAnon
func (*NetworkEpcConfigsSubProfilesAnon) MarshalBinary ¶
func (m *NetworkEpcConfigsSubProfilesAnon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkEpcConfigsSubProfilesAnon) UnmarshalBinary ¶
func (m *NetworkEpcConfigsSubProfilesAnon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkRanConfigs ¶
type NetworkRanConfigs struct { // bandwidth mhz // Required: true // Enum: [3 5 10 15 20] BandwidthMhz uint32 `json:"bandwidth_mhz"` // fdd config FddConfig *NetworkRanConfigsFddConfig `json:"fdd_config,omitempty"` // tdd config TddConfig *NetworkRanConfigsTddConfig `json:"tdd_config,omitempty"` }
NetworkRanConfigs RAN (radio access network) cellular configuration for a network swagger:model network_ran_configs
func (*NetworkRanConfigs) GetFromNetwork ¶
func (m *NetworkRanConfigs) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkRanConfigs) MarshalBinary ¶
func (m *NetworkRanConfigs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRanConfigs) ToUpdateCriteria ¶
func (m *NetworkRanConfigs) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (*NetworkRanConfigs) UnmarshalBinary ¶
func (m *NetworkRanConfigs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NetworkRanConfigs) Validate ¶
func (m *NetworkRanConfigs) Validate(formats strfmt.Registry) error
Validate validates this network ran configs
func (*NetworkRanConfigs) ValidateModel ¶
func (m *NetworkRanConfigs) ValidateModel() error
type NetworkRanConfigsFddConfig ¶
type NetworkRanConfigsFddConfig struct { // earfcndl // Required: true Earfcndl uint32 `json:"earfcndl"` // earfcnul // Required: true // Minimum: > 0 Earfcnul uint32 `json:"earfcnul"` }
NetworkRanConfigsFddConfig network ran configs fdd config swagger:model NetworkRanConfigsFddConfig
func (*NetworkRanConfigsFddConfig) MarshalBinary ¶
func (m *NetworkRanConfigsFddConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRanConfigsFddConfig) UnmarshalBinary ¶
func (m *NetworkRanConfigsFddConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkRanConfigsTddConfig ¶
type NetworkRanConfigsTddConfig struct { // earfcndl // Required: true Earfcndl uint32 `json:"earfcndl"` // special subframe pattern // Required: true // Maximum: 9 SpecialSubframePattern uint32 `json:"special_subframe_pattern"` // subframe assignment // Required: true // Maximum: 6 SubframeAssignment uint32 `json:"subframe_assignment"` }
NetworkRanConfigsTddConfig network ran configs tdd config swagger:model NetworkRanConfigsTddConfig
func (*NetworkRanConfigsTddConfig) MarshalBinary ¶
func (m *NetworkRanConfigsTddConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRanConfigsTddConfig) UnmarshalBinary ¶
func (m *NetworkRanConfigsTddConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QosProfile ¶
type QosProfile struct { // class id // Maximum: 255 // Minimum: 0 ClassID *int32 `json:"class_id,omitempty" magma_alt_name:"QCI"` // preemption capability PreemptionCapability *bool `json:"preemption_capability,omitempty"` // preemption vulnerability PreemptionVulnerability *bool `json:"preemption_vulnerability,omitempty"` // priority level // Maximum: 15 // Minimum: 0 PriorityLevel *uint32 `json:"priority_level,omitempty"` }
QosProfile qos profile swagger:model qos_profile
func (*QosProfile) MarshalBinary ¶
func (m *QosProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QosProfile) UnmarshalBinary ¶
func (m *QosProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RatingGroupID ¶
type RatingGroupID uint32
RatingGroupID rating group id swagger:model rating_group_id
type SubscriberState ¶
type SubscriberState struct { // mme Mme UntypedMmeState `json:"mme,omitempty"` // s1ap S1ap UntypedMmeState `json:"s1ap,omitempty"` // spgw Spgw UntypedMmeState `json:"spgw,omitempty"` }
SubscriberState MME state for a subscriber swagger:model subscriber_state
func (*SubscriberState) MarshalBinary ¶
func (m *SubscriberState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriberState) UnmarshalBinary ¶
func (m *SubscriberState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UntypedMmeState ¶
type UntypedMmeState interface{}
UntypedMmeState Arbitrary untyped JSON object that represents replicated MME state swagger:model untyped_mme_state
Source Files ¶
- aggregated_maximum_bitrate_swaggergen.go
- apn_configuration_swaggergen.go
- apn_list_swaggergen.go
- apn_name_swaggergen.go
- apn_swaggergen.go
- const.go
- conversion.go
- defaults.go
- enodeb_configuration_swaggergen.go
- enodeb_serials_swaggergen.go
- enodeb_state_swaggergen.go
- enodeb_swaggergen.go
- feg_network_id_swaggergen.go
- gateway_cellular_configs_swaggergen.go
- gateway_epc_configs_swaggergen.go
- gateway_non_eps_configs_swaggergen.go
- gateway_ran_configs_swaggergen.go
- gen.go
- helpers.go
- lte_gateway_swaggergen.go
- lte_network_swaggergen.go
- mutable_lte_gateway_swaggergen.go
- network_cellular_configs_swaggergen.go
- network_epc_configs_swaggergen.go
- network_ran_configs_swaggergen.go
- qos_profile_swaggergen.go
- rating_group_id_swaggergen.go
- subscriber_state_swaggergen.go
- untyped_mme_state_swaggergen.go
- validate.go