ioam_vxlan_gpe

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ioam_vxlan_gpe contains generated bindings for API file ioam_vxlan_gpe.api.

Contents: - 12 messages

Index

Constants

View Source
const (
	APIFile    = "ioam_vxlan_gpe"
	APIVersion = "1.0.0"
	VersionCrc = 0xb49eb0b9
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

type RPCService interface {
	VxlanGpeIoamDisable(ctx context.Context, in *VxlanGpeIoamDisable) (*VxlanGpeIoamDisableReply, error)
	VxlanGpeIoamEnable(ctx context.Context, in *VxlanGpeIoamEnable) (*VxlanGpeIoamEnableReply, error)
	VxlanGpeIoamTransitDisable(ctx context.Context, in *VxlanGpeIoamTransitDisable) (*VxlanGpeIoamTransitDisableReply, error)
	VxlanGpeIoamTransitEnable(ctx context.Context, in *VxlanGpeIoamTransitEnable) (*VxlanGpeIoamTransitEnableReply, error)
	VxlanGpeIoamVniDisable(ctx context.Context, in *VxlanGpeIoamVniDisable) (*VxlanGpeIoamVniDisableReply, error)
	VxlanGpeIoamVniEnable(ctx context.Context, in *VxlanGpeIoamVniEnable) (*VxlanGpeIoamVniEnableReply, error)
}

RPCService defines RPC service ioam_vxlan_gpe.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type VxlanGpeIoamDisable

type VxlanGpeIoamDisable struct {
	ID uint16 `binapi:"u16,name=id" json:"id,omitempty"`
}

iOAM for VxLAN-GPE disable

  • id - profile id

VxlanGpeIoamDisable defines message 'vxlan_gpe_ioam_disable'.

func (*VxlanGpeIoamDisable) GetCrcString

func (*VxlanGpeIoamDisable) GetCrcString() string

func (*VxlanGpeIoamDisable) GetMessageName

func (*VxlanGpeIoamDisable) GetMessageName() string

func (*VxlanGpeIoamDisable) GetMessageType

func (*VxlanGpeIoamDisable) GetMessageType() api.MessageType

func (*VxlanGpeIoamDisable) Marshal

func (m *VxlanGpeIoamDisable) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamDisable) Reset

func (m *VxlanGpeIoamDisable) Reset()

func (*VxlanGpeIoamDisable) Size

func (m *VxlanGpeIoamDisable) Size() (size int)

func (*VxlanGpeIoamDisable) Unmarshal

func (m *VxlanGpeIoamDisable) Unmarshal(b []byte) error

type VxlanGpeIoamDisableReply

type VxlanGpeIoamDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanGpeIoamDisableReply defines message 'vxlan_gpe_ioam_disable_reply'.

func (*VxlanGpeIoamDisableReply) GetCrcString

func (*VxlanGpeIoamDisableReply) GetCrcString() string

func (*VxlanGpeIoamDisableReply) GetMessageName

func (*VxlanGpeIoamDisableReply) GetMessageName() string

func (*VxlanGpeIoamDisableReply) GetMessageType

func (*VxlanGpeIoamDisableReply) GetMessageType() api.MessageType

func (*VxlanGpeIoamDisableReply) Marshal

func (m *VxlanGpeIoamDisableReply) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamDisableReply) Reset

func (m *VxlanGpeIoamDisableReply) Reset()

func (*VxlanGpeIoamDisableReply) Size

func (m *VxlanGpeIoamDisableReply) Size() (size int)

func (*VxlanGpeIoamDisableReply) Unmarshal

func (m *VxlanGpeIoamDisableReply) Unmarshal(b []byte) error

type VxlanGpeIoamEnable

type VxlanGpeIoamEnable struct {
	ID          uint16 `binapi:"u16,name=id" json:"id,omitempty"`
	TracePpc    uint8  `binapi:"u8,name=trace_ppc" json:"trace_ppc,omitempty"`
	PowEnable   bool   `binapi:"bool,name=pow_enable" json:"pow_enable,omitempty"`
	TraceEnable bool   `binapi:"bool,name=trace_enable" json:"trace_enable,omitempty"`
}

iOAM Over VxLAN-GPE - Set iOAM transport for VxLAN-GPE

  • id - profile id
  • trace_ppc - Trace PPC (none/encap/decap)
  • pow_enable - Proof of Work enabled or not flag
  • trace_enable - iOAM Trace enabled or not flag

VxlanGpeIoamEnable defines message 'vxlan_gpe_ioam_enable'.

func (*VxlanGpeIoamEnable) GetCrcString

func (*VxlanGpeIoamEnable) GetCrcString() string

func (*VxlanGpeIoamEnable) GetMessageName

func (*VxlanGpeIoamEnable) GetMessageName() string

func (*VxlanGpeIoamEnable) GetMessageType

func (*VxlanGpeIoamEnable) GetMessageType() api.MessageType

func (*VxlanGpeIoamEnable) Marshal

func (m *VxlanGpeIoamEnable) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamEnable) Reset

func (m *VxlanGpeIoamEnable) Reset()

func (*VxlanGpeIoamEnable) Size

func (m *VxlanGpeIoamEnable) Size() (size int)

func (*VxlanGpeIoamEnable) Unmarshal

func (m *VxlanGpeIoamEnable) Unmarshal(b []byte) error

type VxlanGpeIoamEnableReply

type VxlanGpeIoamEnableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanGpeIoamEnableReply defines message 'vxlan_gpe_ioam_enable_reply'.

func (*VxlanGpeIoamEnableReply) GetCrcString

func (*VxlanGpeIoamEnableReply) GetCrcString() string

func (*VxlanGpeIoamEnableReply) GetMessageName

func (*VxlanGpeIoamEnableReply) GetMessageName() string

func (*VxlanGpeIoamEnableReply) GetMessageType

func (*VxlanGpeIoamEnableReply) GetMessageType() api.MessageType

func (*VxlanGpeIoamEnableReply) Marshal

func (m *VxlanGpeIoamEnableReply) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamEnableReply) Reset

func (m *VxlanGpeIoamEnableReply) Reset()

func (*VxlanGpeIoamEnableReply) Size

func (m *VxlanGpeIoamEnableReply) Size() (size int)

func (*VxlanGpeIoamEnableReply) Unmarshal

func (m *VxlanGpeIoamEnableReply) Unmarshal(b []byte) error

type VxlanGpeIoamTransitDisable

type VxlanGpeIoamTransitDisable struct {
	OuterFibIndex uint32           `binapi:"u32,name=outer_fib_index" json:"outer_fib_index,omitempty"`
	DstAddr       ip_types.Address `binapi:"address,name=dst_addr" json:"dst_addr,omitempty"`
}

Disable iOAM for VXLAN-GPE transit

  • dst_addr - IPv4/6 Address of the local VTEP
  • outer_fib_index- FIB index

VxlanGpeIoamTransitDisable defines message 'vxlan_gpe_ioam_transit_disable'.

func (*VxlanGpeIoamTransitDisable) GetCrcString

func (*VxlanGpeIoamTransitDisable) GetCrcString() string

func (*VxlanGpeIoamTransitDisable) GetMessageName

func (*VxlanGpeIoamTransitDisable) GetMessageName() string

func (*VxlanGpeIoamTransitDisable) GetMessageType

func (*VxlanGpeIoamTransitDisable) GetMessageType() api.MessageType

func (*VxlanGpeIoamTransitDisable) Marshal

func (m *VxlanGpeIoamTransitDisable) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamTransitDisable) Reset

func (m *VxlanGpeIoamTransitDisable) Reset()

func (*VxlanGpeIoamTransitDisable) Size

func (m *VxlanGpeIoamTransitDisable) Size() (size int)

func (*VxlanGpeIoamTransitDisable) Unmarshal

func (m *VxlanGpeIoamTransitDisable) Unmarshal(b []byte) error

type VxlanGpeIoamTransitDisableReply

type VxlanGpeIoamTransitDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanGpeIoamTransitDisableReply defines message 'vxlan_gpe_ioam_transit_disable_reply'.

func (*VxlanGpeIoamTransitDisableReply) GetCrcString

func (*VxlanGpeIoamTransitDisableReply) GetCrcString() string

func (*VxlanGpeIoamTransitDisableReply) GetMessageName

func (*VxlanGpeIoamTransitDisableReply) GetMessageName() string

func (*VxlanGpeIoamTransitDisableReply) GetMessageType

func (*VxlanGpeIoamTransitDisableReply) Marshal

func (m *VxlanGpeIoamTransitDisableReply) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamTransitDisableReply) Reset

func (*VxlanGpeIoamTransitDisableReply) Size

func (m *VxlanGpeIoamTransitDisableReply) Size() (size int)

func (*VxlanGpeIoamTransitDisableReply) Unmarshal

func (m *VxlanGpeIoamTransitDisableReply) Unmarshal(b []byte) error

type VxlanGpeIoamTransitEnable

type VxlanGpeIoamTransitEnable struct {
	OuterFibIndex uint32           `binapi:"u32,name=outer_fib_index" json:"outer_fib_index,omitempty"`
	DstAddr       ip_types.Address `binapi:"address,name=dst_addr" json:"dst_addr,omitempty"`
}

Enable iOAM for a VXLAN-GPE transit

  • dst_addr - IPv4/6 Address of the local VTEP
  • outer_fib_index- FIB index

VxlanGpeIoamTransitEnable defines message 'vxlan_gpe_ioam_transit_enable'.

func (*VxlanGpeIoamTransitEnable) GetCrcString

func (*VxlanGpeIoamTransitEnable) GetCrcString() string

func (*VxlanGpeIoamTransitEnable) GetMessageName

func (*VxlanGpeIoamTransitEnable) GetMessageName() string

func (*VxlanGpeIoamTransitEnable) GetMessageType

func (*VxlanGpeIoamTransitEnable) GetMessageType() api.MessageType

func (*VxlanGpeIoamTransitEnable) Marshal

func (m *VxlanGpeIoamTransitEnable) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamTransitEnable) Reset

func (m *VxlanGpeIoamTransitEnable) Reset()

func (*VxlanGpeIoamTransitEnable) Size

func (m *VxlanGpeIoamTransitEnable) Size() (size int)

func (*VxlanGpeIoamTransitEnable) Unmarshal

func (m *VxlanGpeIoamTransitEnable) Unmarshal(b []byte) error

type VxlanGpeIoamTransitEnableReply

type VxlanGpeIoamTransitEnableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanGpeIoamTransitEnableReply defines message 'vxlan_gpe_ioam_transit_enable_reply'.

func (*VxlanGpeIoamTransitEnableReply) GetCrcString

func (*VxlanGpeIoamTransitEnableReply) GetCrcString() string

func (*VxlanGpeIoamTransitEnableReply) GetMessageName

func (*VxlanGpeIoamTransitEnableReply) GetMessageName() string

func (*VxlanGpeIoamTransitEnableReply) GetMessageType

func (*VxlanGpeIoamTransitEnableReply) Marshal

func (m *VxlanGpeIoamTransitEnableReply) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamTransitEnableReply) Reset

func (m *VxlanGpeIoamTransitEnableReply) Reset()

func (*VxlanGpeIoamTransitEnableReply) Size

func (m *VxlanGpeIoamTransitEnableReply) Size() (size int)

func (*VxlanGpeIoamTransitEnableReply) Unmarshal

func (m *VxlanGpeIoamTransitEnableReply) Unmarshal(b []byte) error

type VxlanGpeIoamVniDisable

type VxlanGpeIoamVniDisable struct {
	Vni    uint32           `binapi:"u32,name=vni" json:"vni,omitempty"`
	Local  ip_types.Address `binapi:"address,name=local" json:"local,omitempty"`
	Remote ip_types.Address `binapi:"address,name=remote" json:"remote,omitempty"`
}

Disable iOAM for a VNI (VXLAN-GPE)

  • vni - VXLAN-GPE VNI
  • local - IPv4/6 Address of the local VTEP
  • remote - IPv4/6 Address of the remote VTEP

VxlanGpeIoamVniDisable defines message 'vxlan_gpe_ioam_vni_disable'.

func (*VxlanGpeIoamVniDisable) GetCrcString

func (*VxlanGpeIoamVniDisable) GetCrcString() string

func (*VxlanGpeIoamVniDisable) GetMessageName

func (*VxlanGpeIoamVniDisable) GetMessageName() string

func (*VxlanGpeIoamVniDisable) GetMessageType

func (*VxlanGpeIoamVniDisable) GetMessageType() api.MessageType

func (*VxlanGpeIoamVniDisable) Marshal

func (m *VxlanGpeIoamVniDisable) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamVniDisable) Reset

func (m *VxlanGpeIoamVniDisable) Reset()

func (*VxlanGpeIoamVniDisable) Size

func (m *VxlanGpeIoamVniDisable) Size() (size int)

func (*VxlanGpeIoamVniDisable) Unmarshal

func (m *VxlanGpeIoamVniDisable) Unmarshal(b []byte) error

type VxlanGpeIoamVniDisableReply

type VxlanGpeIoamVniDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanGpeIoamVniDisableReply defines message 'vxlan_gpe_ioam_vni_disable_reply'.

func (*VxlanGpeIoamVniDisableReply) GetCrcString

func (*VxlanGpeIoamVniDisableReply) GetCrcString() string

func (*VxlanGpeIoamVniDisableReply) GetMessageName

func (*VxlanGpeIoamVniDisableReply) GetMessageName() string

func (*VxlanGpeIoamVniDisableReply) GetMessageType

func (*VxlanGpeIoamVniDisableReply) GetMessageType() api.MessageType

func (*VxlanGpeIoamVniDisableReply) Marshal

func (m *VxlanGpeIoamVniDisableReply) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamVniDisableReply) Reset

func (m *VxlanGpeIoamVniDisableReply) Reset()

func (*VxlanGpeIoamVniDisableReply) Size

func (m *VxlanGpeIoamVniDisableReply) Size() (size int)

func (*VxlanGpeIoamVniDisableReply) Unmarshal

func (m *VxlanGpeIoamVniDisableReply) Unmarshal(b []byte) error

type VxlanGpeIoamVniEnable

type VxlanGpeIoamVniEnable struct {
	Vni    uint32           `binapi:"u32,name=vni" json:"vni,omitempty"`
	Local  ip_types.Address `binapi:"address,name=local" json:"local,omitempty"`
	Remote ip_types.Address `binapi:"address,name=remote" json:"remote,omitempty"`
}

Enable iOAM for a VNI (VXLAN-GPE)

  • vni - VXLAN-GPE VNI
  • local - IPv4/6 Address of the local VTEP
  • remote - IPv4/6 Address of the remote VTEP

VxlanGpeIoamVniEnable defines message 'vxlan_gpe_ioam_vni_enable'.

func (*VxlanGpeIoamVniEnable) GetCrcString

func (*VxlanGpeIoamVniEnable) GetCrcString() string

func (*VxlanGpeIoamVniEnable) GetMessageName

func (*VxlanGpeIoamVniEnable) GetMessageName() string

func (*VxlanGpeIoamVniEnable) GetMessageType

func (*VxlanGpeIoamVniEnable) GetMessageType() api.MessageType

func (*VxlanGpeIoamVniEnable) Marshal

func (m *VxlanGpeIoamVniEnable) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamVniEnable) Reset

func (m *VxlanGpeIoamVniEnable) Reset()

func (*VxlanGpeIoamVniEnable) Size

func (m *VxlanGpeIoamVniEnable) Size() (size int)

func (*VxlanGpeIoamVniEnable) Unmarshal

func (m *VxlanGpeIoamVniEnable) Unmarshal(b []byte) error

type VxlanGpeIoamVniEnableReply

type VxlanGpeIoamVniEnableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanGpeIoamVniEnableReply defines message 'vxlan_gpe_ioam_vni_enable_reply'.

func (*VxlanGpeIoamVniEnableReply) GetCrcString

func (*VxlanGpeIoamVniEnableReply) GetCrcString() string

func (*VxlanGpeIoamVniEnableReply) GetMessageName

func (*VxlanGpeIoamVniEnableReply) GetMessageName() string

func (*VxlanGpeIoamVniEnableReply) GetMessageType

func (*VxlanGpeIoamVniEnableReply) GetMessageType() api.MessageType

func (*VxlanGpeIoamVniEnableReply) Marshal

func (m *VxlanGpeIoamVniEnableReply) Marshal(b []byte) ([]byte, error)

func (*VxlanGpeIoamVniEnableReply) Reset

func (m *VxlanGpeIoamVniEnableReply) Reset()

func (*VxlanGpeIoamVniEnableReply) Size

func (m *VxlanGpeIoamVniEnableReply) Size() (size int)

func (*VxlanGpeIoamVniEnableReply) Unmarshal

func (m *VxlanGpeIoamVniEnableReply) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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