models

package
v0.0.0-...-c4e9093 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// BandwidthProfileColorModeCOLORAWARE captures enum value "COLOR_AWARE"
	BandwidthProfileColorModeCOLORAWARE string = "COLOR_AWARE"

	// BandwidthProfileColorModeCOLORBLIND captures enum value "COLOR_BLIND"
	BandwidthProfileColorModeCOLORBLIND string = "COLOR_BLIND"
)

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

func (*BandwidthProfile) Validate

func (m *BandwidthProfile) Validate(formats strfmt.Registry) error

Validate validates this bandwidth profile

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

func UnmarshalDescribing(reader io.Reader, consumer runtime.Consumer) (Describing, error)

UnmarshalDescribing unmarshals polymorphic Describing

func UnmarshalDescribingSlice

func UnmarshalDescribingSlice(reader io.Reader, consumer runtime.Consumer) ([]Describing, error)

UnmarshalDescribingSlice unmarshals polymorphic slices of Describing

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

func (m *ELineSpec) AtReferredType() string

AtReferredType gets the at referred type of this subtype

func (*ELineSpec) AtSchemaLocation

func (m *ELineSpec) AtSchemaLocation() string

AtSchemaLocation gets the at schema location of this subtype

func (*ELineSpec) AtType

func (m *ELineSpec) AtType() string

AtType gets the at type of this subtype

func (*ELineSpec) MarshalBinary

func (m *ELineSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ELineSpec) MarshalJSON

func (m ELineSpec) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ELineSpec) SetAtReferredType

func (m *ELineSpec) SetAtReferredType(val string)

SetAtReferredType sets the at referred type of this subtype

func (*ELineSpec) SetAtSchemaLocation

func (m *ELineSpec) SetAtSchemaLocation(val string)

SetAtSchemaLocation sets the at schema location of this subtype

func (*ELineSpec) SetAtType

func (m *ELineSpec) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*ELineSpec) UnmarshalBinary

func (m *ELineSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ELineSpec) UnmarshalJSON

func (m *ELineSpec) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ELineSpec) Validate

func (m *ELineSpec) Validate(formats strfmt.Registry) error

Validate validates this e line spec

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

func (*ErrorRepresentation) Validate

func (m *ErrorRepresentation) Validate(formats strfmt.Registry) error

Validate validates this error representation

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

func (*InformationRate) Validate

func (m *InformationRate) Validate(formats strfmt.Registry) error

Validate validates this information rate

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"
)

func (InformationRateUnit) Validate

func (m InformationRateUnit) Validate(formats strfmt.Registry) error

Validate validates this information rate unit

type L2CP

type L2CP string

L2CP l2 c p

swagger:model l2CP

const (

	// L2CPCTA captures enum value "CTA"
	L2CPCTA L2CP = "CTA"

	// L2CPCTB captures enum value "CTB"
	L2CPCTB L2CP = "CTB"

	// L2CPCTB2 captures enum value "CTB2"
	L2CPCTB2 L2CP = "CTB2"
)

func (L2CP) Validate

func (m L2CP) Validate(formats strfmt.Registry) error

Validate validates this l2 c p

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

func (*MEFELineSpecV3) Validate

func (m *MEFELineSpecV3) Validate(formats strfmt.Registry) error

Validate validates this m e f e line spec v3

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"`

	// Identifies whether a given UNI is capable of sharing tokens across Bandwidth Profile Flows in an Envelope.  The default is disabled ("false").
	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

func (*MEFUNISpecV3) Validate

func (m *MEFUNISpecV3) Validate(formats strfmt.Registry) error

Validate validates this m e f u n i spec v3

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"
)

func (PhysicalLayer) Validate

func (m PhysicalLayer) Validate(formats strfmt.Registry) error

Validate validates this physical layer

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

func (*ProductSpecificationRef) Validate

func (m *ProductSpecificationRef) Validate(formats strfmt.Registry) error

Validate validates this product specification ref

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"
)

func (Resiliency) Validate

func (m Resiliency) Validate(formats strfmt.Registry) error

Validate validates this resiliency

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

func (*SynchronousMode) Validate

func (m *SynchronousMode) Validate(formats strfmt.Registry) error

Validate validates this synchronous mode

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

func (m *UNISpec) AtReferredType() string

AtReferredType gets the at referred type of this subtype

func (*UNISpec) AtSchemaLocation

func (m *UNISpec) AtSchemaLocation() string

AtSchemaLocation gets the at schema location of this subtype

func (*UNISpec) AtType

func (m *UNISpec) AtType() string

AtType gets the at type of this subtype

func (*UNISpec) MarshalBinary

func (m *UNISpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (UNISpec) MarshalJSON

func (m UNISpec) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*UNISpec) SetAtReferredType

func (m *UNISpec) SetAtReferredType(val string)

SetAtReferredType sets the at referred type of this subtype

func (*UNISpec) SetAtSchemaLocation

func (m *UNISpec) SetAtSchemaLocation(val string)

SetAtSchemaLocation sets the at schema location of this subtype

func (*UNISpec) SetAtType

func (m *UNISpec) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*UNISpec) UnmarshalBinary

func (m *UNISpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UNISpec) UnmarshalJSON

func (m *UNISpec) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*UNISpec) Validate

func (m *UNISpec) Validate(formats strfmt.Registry) error

Validate validates this u n i spec

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

func (*UniL2cpPeering) Validate

func (m *UniL2cpPeering) Validate(formats strfmt.Registry) error

Validate validates this uni l2cp peering

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL