colibri_mgmt

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationBeads

type AllocationBeads struct {
	AllocBW uint8
	MaxBW   uint8
}

func (*AllocationBeads) ProtoId

func (ab *AllocationBeads) ProtoId() proto.ProtoIdType

type ColibriRequestPayload

type ColibriRequestPayload struct {
	Which    proto.ColibriRequestPayload_Which
	Request  *Request
	Response *Response
}

func NewFromRaw

func NewFromRaw(b []byte) (*ColibriRequestPayload, error)

func (*ColibriRequestPayload) PackRoot

func (p *ColibriRequestPayload) PackRoot() ([]byte, error)

func (*ColibriRequestPayload) ProtoId

func (*ColibriRequestPayload) String

func (p *ColibriRequestPayload) String() string

type E2ECleanup

type E2ECleanup struct {
	ReservationID *E2EReservationID
}

func (*E2ECleanup) ProtoId

func (r *E2ECleanup) ProtoId() proto.ProtoIdType

type E2EReservationID

type E2EReservationID struct {
	ASID   []byte `capnp:"asid"`
	Suffix []byte // 16 bytes long
}

func (*E2EReservationID) ProtoId

func (id *E2EReservationID) ProtoId() proto.ProtoIdType

type E2ESetup

type E2ESetup struct {
	Which   proto.E2ESetupData_Which
	Success *E2ESetupSuccess
	Failure *E2ESetupFailure
}

func (*E2ESetup) ProtoId

func (s *E2ESetup) ProtoId() proto.ProtoIdType

type E2ESetupFailure

type E2ESetupFailure struct {
	ErrorCode uint8
	InfoField []byte
	MaxBWs    []uint8
}

type E2ESetupSuccess

type E2ESetupSuccess struct {
	ReservationID *E2EReservationID
	Token         []byte
}

type PathEndProps

type PathEndProps struct {
	Local    bool
	Transfer bool
}

func (*PathEndProps) ProtoId

func (pep *PathEndProps) ProtoId() proto.ProtoIdType

type Request

type Request struct {
	Which                    proto.Request_Which
	SegmentSetup             *SegmentSetup
	SegmentRenewal           *SegmentSetup
	SegmentTelesSetup        *SegmentTelesSetup
	SegmentTelesRenewal      *SegmentTelesSetup
	SegmentTeardown          *SegmentTeardownReq
	SegmentIndexConfirmation *SegmentIndexConfirmation
	SegmentCleanup           *SegmentCleanup
	E2ESetup                 *E2ESetup   `capnp:"e2eSetup"`
	E2ERenewal               *E2ESetup   `capnp:"e2eRenewal"`
	E2ECleanup               *E2ECleanup `capnp:"e2eCleanup"`
}

func (*Request) ProtoId

func (r *Request) ProtoId() proto.ProtoIdType

type Response

type Response struct {
}

type SegmentCleanup

type SegmentCleanup struct {
	ID    *SegmentReservationID `capnp:"id"`
	Index uint8
}

func (*SegmentCleanup) ProtoId

func (s *SegmentCleanup) ProtoId() proto.ProtoIdType

type SegmentIndexConfirmation

type SegmentIndexConfirmation struct {
	Index uint8
	State proto.ReservationIndexState
}

func (*SegmentIndexConfirmation) ProtoId

type SegmentReservationID

type SegmentReservationID struct {
	ASID   []byte `capnp:"asid"`
	Suffix []byte // 4 bytes long
}

func (*SegmentReservationID) ProtoId

func (id *SegmentReservationID) ProtoId() proto.ProtoIdType

type SegmentSetup

type SegmentSetup struct {
	MinBW           uint8
	MaxBW           uint8
	SplitCls        uint8
	StartProps      PathEndProps
	EndProps        PathEndProps
	AllocationTrail []*AllocationBeads
}

func (*SegmentSetup) ProtoId

func (s *SegmentSetup) ProtoId() proto.ProtoIdType

type SegmentTeardownReq

type SegmentTeardownReq struct{}

func (*SegmentTeardownReq) ProtoId

func (s *SegmentTeardownReq) ProtoId() proto.ProtoIdType

type SegmentTelesSetup

type SegmentTelesSetup struct {
	Setup  *SegmentSetup
	BaseID *SegmentReservationID
}

func (*SegmentTelesSetup) ProtoId

func (sts *SegmentTelesSetup) ProtoId() proto.ProtoIdType

Jump to

Keyboard shortcuts

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