Documentation
¶
Index ¶
- Constants
- type BandwidthProfile
- type Describing
- type Duration
- type ELineSpec
- func (m *ELineSpec) AtReferredType() string
- func (m *ELineSpec) AtSchemaLocation() string
- func (m *ELineSpec) AtType() string
- func (m *ELineSpec) MarshalBinary() ([]byte, error)
- func (m ELineSpec) MarshalJSON() ([]byte, error)
- func (m *ELineSpec) SetAtReferredType(val string)
- func (m *ELineSpec) SetAtSchemaLocation(val string)
- func (m *ELineSpec) SetAtType(val string)
- func (m *ELineSpec) UnmarshalBinary(b []byte) error
- func (m *ELineSpec) UnmarshalJSON(raw []byte) error
- func (m *ELineSpec) Validate(formats strfmt.Registry) error
- type ErrorRepresentation
- type InformationRate
- type InformationRateUnit
- type L2CP
- type MEFELineSpecV3
- type MEFUNISpecV3
- type PCCWConnSpec
- func (m *PCCWConnSpec) AtReferredType() string
- func (m *PCCWConnSpec) AtSchemaLocation() string
- func (m *PCCWConnSpec) AtType() string
- func (m *PCCWConnSpec) MarshalBinary() ([]byte, error)
- func (m PCCWConnSpec) MarshalJSON() ([]byte, error)
- func (m *PCCWConnSpec) SetAtReferredType(val string)
- func (m *PCCWConnSpec) SetAtSchemaLocation(val string)
- func (m *PCCWConnSpec) SetAtType(val string)
- func (m *PCCWConnSpec) UnmarshalBinary(b []byte) error
- func (m *PCCWConnSpec) UnmarshalJSON(raw []byte) error
- func (m *PCCWConnSpec) Validate(formats strfmt.Registry) error
- type PCCWConnSpecV1
- type PhysicalLayer
- type ProductSpecificationRef
- func (m *ProductSpecificationRef) Describing() Describing
- func (m *ProductSpecificationRef) MarshalBinary() ([]byte, error)
- func (m ProductSpecificationRef) MarshalJSON() ([]byte, error)
- func (m *ProductSpecificationRef) SetDescribing(val Describing)
- func (m *ProductSpecificationRef) UnmarshalBinary(b []byte) error
- func (m *ProductSpecificationRef) UnmarshalJSON(raw []byte) error
- func (m *ProductSpecificationRef) Validate(formats strfmt.Registry) error
- type Resiliency
- type SynchronousMode
- type UNISpec
- func (m *UNISpec) AtReferredType() string
- func (m *UNISpec) AtSchemaLocation() string
- func (m *UNISpec) AtType() string
- func (m *UNISpec) MarshalBinary() ([]byte, error)
- func (m UNISpec) MarshalJSON() ([]byte, error)
- func (m *UNISpec) SetAtReferredType(val string)
- func (m *UNISpec) SetAtSchemaLocation(val string)
- func (m *UNISpec) SetAtType(val string)
- func (m *UNISpec) UnmarshalBinary(b []byte) error
- func (m *UNISpec) UnmarshalJSON(raw []byte) error
- func (m *UNISpec) Validate(formats strfmt.Registry) error
- type UniL2cpPeering
Constants ¶
const ( // BandwidthProfileColorModeCOLORAWARE captures enum value "COLOR_AWARE" BandwidthProfileColorModeCOLORAWARE string = "COLOR_AWARE" // BandwidthProfileColorModeCOLORBLIND captures enum value "COLOR_BLIND" BandwidthProfileColorModeCOLORBLIND string = "COLOR_BLIND" )
const ( // DurationUnitDAY captures enum value "DAY" DurationUnitDAY string = "DAY" // DurationUnitWEEK captures enum value "WEEK" DurationUnitWEEK string = "WEEK" // DurationUnitMONTH captures enum value "MONTH" DurationUnitMONTH string = "MONTH" // DurationUnitYEAR captures enum value "YEAR" DurationUnitYEAR string = "YEAR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandwidthProfile ¶
type BandwidthProfile struct { // As defined in MEF 26.2 for ENNI & 10.3 for UNI, this value is expressed as bytes Cbs int32 `json:"cbs,omitempty"` // cir Cir *InformationRate `json:"cir,omitempty"` // This enumeration indicates whether the Color Identifier of the Service Frame is considered by the Bandwidth Profile Algorithm // Enum: [COLOR_AWARE COLOR_BLIND] ColorMode string `json:"colorMode,omitempty"` // The Bandwidth Profile parameter that determines whether overflow tokens not used for Service Frames declared Green can be used as Yellow tokens. CouplingFlag bool `json:"couplingFlag,omitempty"` // As defined in MEF 26.2 for ENNI & 10.3 for UNI, this value is expressed as bytes Ebs int32 `json:"ebs,omitempty"` // eir Eir *InformationRate `json:"eir,omitempty"` }
BandwidthProfile bandwidth profile
swagger:model bandwidthProfile
func (*BandwidthProfile) MarshalBinary ¶
func (m *BandwidthProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthProfile) UnmarshalBinary ¶
func (m *BandwidthProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Describing ¶
type Describing interface { runtime.Validatable // The actual type of the target instance when needed for disambiguation. // Used when spec is described by reference // @referredType could be valued to UNIProductSpecification or ELineProductSpecification AtReferredType() string SetAtReferredType(string) // This field provided a link to the schema describing this REST resource. AtSchemaLocation() string SetAtSchemaLocation(string) // When sub-classing, this defines the sub-class entity name. // Used when spec is described by value (litterally) // Could be valued to UNIProductSpecification or ELineProductSpecification AtType() string SetAtType(string) }
Describing Target to the schema describing the product spec resource (and type)
swagger:discriminator Describing @type
func UnmarshalDescribing ¶
UnmarshalDescribing unmarshals polymorphic Describing
func UnmarshalDescribingSlice ¶
UnmarshalDescribingSlice unmarshals polymorphic slices of Describing
type Duration ¶
type Duration struct { // unit // Required: true // Enum: [DAY WEEK MONTH YEAR] Unit *string `json:"unit"` // value // Required: true Value *int32 `json:"value"` }
Duration duration
swagger:model duration
func (*Duration) MarshalBinary ¶
MarshalBinary interface implementation
func (*Duration) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ELineSpec ¶
type ELineSpec struct { MEFELineSpecV3 // contains filtered or unexported fields }
ELineSpec Description of ELineSpec for Ordering - source 57.1.
swagger:model ELineSpec
func (*ELineSpec) AtReferredType ¶
AtReferredType gets the at referred type of this subtype
func (*ELineSpec) AtSchemaLocation ¶
AtSchemaLocation gets the at schema location of this subtype
func (*ELineSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (ELineSpec) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ELineSpec) SetAtReferredType ¶
SetAtReferredType sets the at referred type of this subtype
func (*ELineSpec) SetAtSchemaLocation ¶
SetAtSchemaLocation sets the at schema location of this subtype
func (*ELineSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*ELineSpec) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type ErrorRepresentation ¶
type ErrorRepresentation struct { // it provides a link to the schema describing a REST resource. AtSchemaLocation string `json:"@schemaLocation,omitempty"` // The class type of a REST resource. AtType string `json:"@type,omitempty"` // Application related code (as defined in the API or from a common list) // Required: true Code *int32 `json:"code"` // Text that provide more details and corrective actions related to the error. This can be shown to a client user. // Required: true Message *string `json:"message"` // Text that explains the reason for error. This can be shown to a client user. Reason string `json:"reason,omitempty"` // url pointing to documentation describing the error ReferenceError string `json:"referenceError,omitempty"` // http error code extension like 400-2 Status string `json:"status,omitempty"` }
ErrorRepresentation Class used to describe API response error
swagger:model ErrorRepresentation
func (*ErrorRepresentation) MarshalBinary ¶
func (m *ErrorRepresentation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorRepresentation) UnmarshalBinary ¶
func (m *ErrorRepresentation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InformationRate ¶
type InformationRate struct { // amount // Required: true Amount *int32 `json:"amount"` // unit // Required: true Unit InformationRateUnit `json:"unit"` }
InformationRate information rate
swagger:model informationRate
func (*InformationRate) MarshalBinary ¶
func (m *InformationRate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InformationRate) UnmarshalBinary ¶
func (m *InformationRate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InformationRateUnit ¶
type InformationRateUnit string
InformationRateUnit information rate unit
swagger:model informationRateUnit
const ( // InformationRateUnitMbps captures enum value "Mbps" InformationRateUnitMbps InformationRateUnit = "Mbps" // InformationRateUnitGbps captures enum value "Gbps" InformationRateUnitGbps InformationRateUnit = "Gbps" )
type MEFELineSpecV3 ¶
type MEFELineSpecV3 struct { // The ingress bandwidth profile at ENNI ENNIIngressBWProfile []*BandwidthProfile `json:"ENNIIngressBWProfile"` // The ingress bandwidth profile at UNI UNIIngressBWProfile []*BandwidthProfile `json:"UNIIngressBWProfile"` // The name of the designation given to one or more sets of performance objectives and associated parameters by the Seller (e.g., “Gold”). ClassOfServiceName string `json:"classOfServiceName,omitempty"` // Color Forwarding is an OVC attribute defining the relationship between the color on an egress ENNI frame and the color of the corresponding ingress ENNI Frame or Service Frame. For ordering, this attribute identifies if the Buyer requests Color Forwarding ColorForwardingEnabled *bool `json:"colorForwardingEnabled,omitempty"` // Per MEF 26.2, the maximum frame size provides the upper bounds on the length of an ingress frame. An integer greater or equal to 1526. // Maximum: 1526 MaximumFrameSize int32 `json:"maximumFrameSize,omitempty"` // The S-VLAN ID to be used for this service. SVlanID int32 `json:"sVlanId,omitempty"` }
MEFELineSpecV3 ELineSpec
Description of ELineSpec for Ordering - source 57.1 ¶
swagger:model mEFELineSpecV3
func (*MEFELineSpecV3) MarshalBinary ¶
func (m *MEFELineSpecV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MEFELineSpecV3) UnmarshalBinary ¶
func (m *MEFELineSpecV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MEFUNISpecV3 ¶
type MEFUNISpecV3 struct { // All-to-One Bundling can be either Enabled or Disabled. A value of True would equate to Enabled AllToOneBundling *bool `json:"allToOneBundling,omitempty"` // Link OAM enables the operator to monitor and troubleshoot a single Ethernet link. LinkOamEnabled *bool `json:"linkOamEnabled,omitempty"` // Indicates the maximum service frame size that can be reliably processed at the UNI level // Minimum: 1522 MaxServiceFrameSize int32 `json:"maxServiceFrameSize,omitempty"` // A UNI can be implemented with one or more physical links. This attribute specifies the number of such links. NumberOfLinks int32 `json:"numberOfLinks,omitempty"` // This attribute is a list of physical layers, one for each physical link implementing the UNI // Required: true PhysicalLayer []PhysicalLayer `json:"physicalLayer"` // The Synchronous Mode Service Attribute is a list with one item for each of the physical links implementing the UNI. When the value of an item is "Enabled," the bits transmitted from the CEN to the CE on the physical link corresponding to the item can be used by the CE as a bit clock reference SynchronousMode []*SynchronousMode `json:"synchronousMode"` TokenShareEnabled *bool `json:"tokenShareEnabled,omitempty"` // Indicates the desire for management of the customer interface. For ordering, this is an optional parameter that may be requested UniEthernetLmiEnabled *bool `json:"uniEthernetLmiEnabled,omitempty"` // uni l2cp address set UniL2cpAddressSet L2CP `json:"uniL2cpAddressSet,omitempty"` // Can be either an empty list, or a list of entries identifying protocols to be peered where each entry consists of {Destination Address, Protocol Identifier} or {Destination Address, Protocol Identifier, Link Identifier}. UniL2cpPeering []*UniL2cpPeering `json:"uniL2cpPeering"` // Request for monitoring of a UNI. UniMegEnabled *bool `json:"uniMegEnabled,omitempty"` // uni resiliency UniResiliency Resiliency `json:"uniResiliency,omitempty"` }
MEFUNISpecV3 UNISpec
Description of UNISpec for Ordering- source 57.1 ¶
swagger:model mEFUNISpecV3
func (*MEFUNISpecV3) MarshalBinary ¶
func (m *MEFUNISpecV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MEFUNISpecV3) UnmarshalBinary ¶
func (m *MEFUNISpecV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PCCWConnSpec ¶
type PCCWConnSpec struct { PCCWConnSpecV1 // contains filtered or unexported fields }
PCCWConnSpec Description of PCCW ConnSpec for Ordering.
swagger:model PCCWConnSpec
func (*PCCWConnSpec) AtReferredType ¶
func (m *PCCWConnSpec) AtReferredType() string
AtReferredType gets the at referred type of this subtype
func (*PCCWConnSpec) AtSchemaLocation ¶
func (m *PCCWConnSpec) AtSchemaLocation() string
AtSchemaLocation gets the at schema location of this subtype
func (*PCCWConnSpec) AtType ¶
func (m *PCCWConnSpec) AtType() string
AtType gets the at type of this subtype
func (*PCCWConnSpec) MarshalBinary ¶
func (m *PCCWConnSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PCCWConnSpec) MarshalJSON ¶
func (m PCCWConnSpec) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*PCCWConnSpec) SetAtReferredType ¶
func (m *PCCWConnSpec) SetAtReferredType(val string)
SetAtReferredType sets the at referred type of this subtype
func (*PCCWConnSpec) SetAtSchemaLocation ¶
func (m *PCCWConnSpec) SetAtSchemaLocation(val string)
SetAtSchemaLocation sets the at schema location of this subtype
func (*PCCWConnSpec) SetAtType ¶
func (m *PCCWConnSpec) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*PCCWConnSpec) UnmarshalBinary ¶
func (m *PCCWConnSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PCCWConnSpec) UnmarshalJSON ¶
func (m *PCCWConnSpec) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type PCCWConnSpecV1 ¶
type PCCWConnSpecV1 struct { // The bandwidth for this service. Bandwidth int32 `json:"bandwidth,omitempty"` // class of service ClassOfService string `json:"classOfService,omitempty"` // dest company Id DestCompanyID string `json:"destCompanyId,omitempty"` // The destination location ID for this service. DestLocationID string `json:"destLocationId,omitempty"` // dest metro Id DestMetroID string `json:"destMetroId,omitempty"` // dest port Id DestPortID string `json:"destPortId,omitempty"` // name Name string `json:"name,omitempty"` // The source location ID for this service. SrcLocationID string `json:"srcLocationId,omitempty"` // src port Id SrcPortID string `json:"srcPortId,omitempty"` // started at // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` // terminated at // Format: date-time TerminatedAt strfmt.DateTime `json:"terminatedAt,omitempty"` }
PCCWConnSpecV1 ConnSpec
Description of PCCW ConnSpec for Ordering ¶
swagger:model pCCWConnSpecV1
func (*PCCWConnSpecV1) MarshalBinary ¶
func (m *PCCWConnSpecV1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PCCWConnSpecV1) UnmarshalBinary ¶
func (m *PCCWConnSpecV1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PhysicalLayer ¶
type PhysicalLayer string
PhysicalLayer physical layer
swagger:model physicalLayer
const ( // PhysicalLayerNr10BASET captures enum value "10BASE-T" PhysicalLayerNr10BASET PhysicalLayer = "10BASE-T" // PhysicalLayerNr100BASETX captures enum value "100BASE-TX" PhysicalLayerNr100BASETX PhysicalLayer = "100BASE-TX" // PhysicalLayerNr100BASEFX captures enum value "100BASE-FX" PhysicalLayerNr100BASEFX PhysicalLayer = "100BASE-FX" // PhysicalLayerNr1000BASET captures enum value "1000BASE-T" PhysicalLayerNr1000BASET PhysicalLayer = "1000BASE-T" // PhysicalLayerNr1000BASESX captures enum value "1000BASE-SX" PhysicalLayerNr1000BASESX PhysicalLayer = "1000BASE-SX" // PhysicalLayerNr1000BASELX captures enum value "1000BASE-LX" PhysicalLayerNr1000BASELX PhysicalLayer = "1000BASE-LX" // PhysicalLayerNr10GBASESR captures enum value "10GBASE-SR" PhysicalLayerNr10GBASESR PhysicalLayer = "10GBASE-SR" // PhysicalLayerNr10GBASESW captures enum value "10GBASE-SW" PhysicalLayerNr10GBASESW PhysicalLayer = "10GBASE-SW" // PhysicalLayerNr10GBASELR captures enum value "10GBASE-LR" PhysicalLayerNr10GBASELR PhysicalLayer = "10GBASE-LR" // PhysicalLayerNr10GBASELX4 captures enum value "10GBASE-LX4" PhysicalLayerNr10GBASELX4 PhysicalLayer = "10GBASE-LX4" // PhysicalLayerNr10GBASELW captures enum value "10GBASE-LW" PhysicalLayerNr10GBASELW PhysicalLayer = "10GBASE-LW" // PhysicalLayerNr10GBASEER captures enum value "10GBASE-ER" PhysicalLayerNr10GBASEER PhysicalLayer = "10GBASE-ER" // PhysicalLayerNr10GBASEEW captures enum value "10GBASE-EW" PhysicalLayerNr10GBASEEW PhysicalLayer = "10GBASE-EW" )
type ProductSpecificationRef ¶
type ProductSpecificationRef struct { // Unique identifier of the product specification ID string `json:"id,omitempty"` // contains filtered or unexported fields }
ProductSpecificationRef A structured set of well-defined technical attributes and/or behaviors that are used to construct a Product Offering for sale to a market.
swagger:model ProductSpecificationRef
func (*ProductSpecificationRef) Describing ¶
func (m *ProductSpecificationRef) Describing() Describing
Describing gets the describing of this base type
func (*ProductSpecificationRef) MarshalBinary ¶
func (m *ProductSpecificationRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProductSpecificationRef) MarshalJSON ¶
func (m ProductSpecificationRef) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ProductSpecificationRef) SetDescribing ¶
func (m *ProductSpecificationRef) SetDescribing(val Describing)
SetDescribing sets the describing of this base type
func (*ProductSpecificationRef) UnmarshalBinary ¶
func (m *ProductSpecificationRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProductSpecificationRef) UnmarshalJSON ¶
func (m *ProductSpecificationRef) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Resiliency ¶
type Resiliency string
Resiliency resiliency
swagger:model resiliency
const ( // ResiliencyNONE captures enum value "NONE" ResiliencyNONE Resiliency = "NONE" // ResiliencyNr2LINKACTIVESTANDBY captures enum value "2_LINK_ACTIVE_STANDBY" ResiliencyNr2LINKACTIVESTANDBY Resiliency = "2_LINK_ACTIVE_STANDBY" // ResiliencyALLACTIVE captures enum value "ALL_ACTIVE" ResiliencyALLACTIVE Resiliency = "ALL_ACTIVE" // ResiliencyOTHER captures enum value "OTHER" ResiliencyOTHER Resiliency = "OTHER" )
type SynchronousMode ¶
type SynchronousMode struct { // link mode // Required: true LinkMode *int32 `json:"linkMode"` // sync mode enabled // Required: true SyncModeEnabled bool `json:"syncModeEnabled"` }
SynchronousMode synchronous mode
swagger:model synchronousMode
func (*SynchronousMode) MarshalBinary ¶
func (m *SynchronousMode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SynchronousMode) UnmarshalBinary ¶
func (m *SynchronousMode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UNISpec ¶
type UNISpec struct { MEFUNISpecV3 // contains filtered or unexported fields }
UNISpec Description of UNISpec for Ordering - source 57.1.
swagger:model UNISpec
func (*UNISpec) AtReferredType ¶
AtReferredType gets the at referred type of this subtype
func (*UNISpec) AtSchemaLocation ¶
AtSchemaLocation gets the at schema location of this subtype
func (*UNISpec) MarshalBinary ¶
MarshalBinary interface implementation
func (UNISpec) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*UNISpec) SetAtReferredType ¶
SetAtReferredType sets the at referred type of this subtype
func (*UNISpec) SetAtSchemaLocation ¶
SetAtSchemaLocation sets the at schema location of this subtype
func (*UNISpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*UNISpec) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type UniL2cpPeering ¶
type UniL2cpPeering struct { // dest address DestAddress string `json:"destAddress,omitempty"` // link Id LinkID string `json:"linkId,omitempty"` // protocol Id ProtocolID string `json:"protocolId,omitempty"` }
UniL2cpPeering uni l2cp peering
swagger:model uniL2cpPeering
func (*UniL2cpPeering) MarshalBinary ¶
func (m *UniL2cpPeering) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UniL2cpPeering) UnmarshalBinary ¶
func (m *UniL2cpPeering) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- bandwidth_profile.go
- describing.go
- duration.go
- e_line_spec.go
- error_representation.go
- information_rate.go
- information_rate_unit.go
- l2_c_p.go
- m_e_f_e_line_spec_v3.go
- m_e_f_u_n_i_spec_v3.go
- p_c_c_w_conn_spec.go
- p_c_c_w_conn_spec_v1.go
- physical_layer.go
- product_specification_ref.go
- resiliency.go
- synchronous_mode.go
- u_n_i_spec.go
- uni_l2cp_peering.go