Documentation ¶
Overview ¶
Package sr is a generated from VPP binary API module 'sr'. It contains following objects: 18 messages 3 types 9 services
Index ¶
- type Services
- type SrIP6Address
- type SrLocalsidAddDel
- type SrLocalsidAddDelReply
- type SrLocalsidsDetails
- type SrLocalsidsDump
- type SrPoliciesDetails
- type SrPoliciesDump
- type SrPolicyAdd
- type SrPolicyAddReply
- type SrPolicyDel
- type SrPolicyDelReply
- type SrPolicyMod
- type SrPolicyModReply
- type SrSetEncapSource
- type SrSetEncapSourceReply
- type SrSteeringAddDel
- type SrSteeringAddDelReply
- type SrSteeringPolDetails
- type SrSteeringPolDump
- type Srv6Sid
- type Srv6SidList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Services ¶ added in v1.8.1
type Services interface { DumpSrLocalsids(*SrLocalsidsDump) (*SrLocalsidsDetails, error) DumpSrPolicies(*SrPoliciesDump) (*SrPoliciesDetails, error) DumpSrSteeringPol(*SrSteeringPolDump) (*SrSteeringPolDetails, error) SrLocalsidAddDel(*SrLocalsidAddDel) (*SrLocalsidAddDelReply, error) SrPolicyAdd(*SrPolicyAdd) (*SrPolicyAddReply, error) SrPolicyDel(*SrPolicyDel) (*SrPolicyDelReply, error) SrPolicyMod(*SrPolicyMod) (*SrPolicyModReply, error) SrSetEncapSource(*SrSetEncapSource) (*SrSetEncapSourceReply, error) SrSteeringAddDel(*SrSteeringAddDel) (*SrSteeringAddDelReply, error) }
type SrIP6Address ¶
type SrIP6Address struct {
Data []byte `struc:"[16]byte"`
}
SrIP6Address represents the VPP binary API type 'sr_ip6_address'.
"sr_ip6_address", [ "u8", "data", 16 ], { "crc": "0xbea0c5e6" }
func (*SrIP6Address) GetCrcString ¶
func (*SrIP6Address) GetCrcString() string
func (*SrIP6Address) GetTypeName ¶
func (*SrIP6Address) GetTypeName() string
type SrLocalsidAddDel ¶
type SrLocalsidAddDel struct { IsDel uint8 Localsid Srv6Sid EndPsp uint8 Behavior uint8 SwIfIndex uint32 VlanIndex uint32 FibTable uint32 NhAddr6 []byte `struc:"[16]byte"` NhAddr4 []byte `struc:"[4]byte"` }
SrLocalsidAddDel represents the VPP binary API message 'sr_localsid_add_del'.
"sr_localsid_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_del" ], [ "vl_api_srv6_sid_t", "localsid" ], [ "u8", "end_psp" ], [ "u8", "behavior" ], [ "u32", "sw_if_index" ], [ "u32", "vlan_index" ], [ "u32", "fib_table" ], [ "u8", "nh_addr6", 16 ], [ "u8", "nh_addr4", 4 ], { "crc": "0x20d478a0" }
func (*SrLocalsidAddDel) GetCrcString ¶
func (*SrLocalsidAddDel) GetCrcString() string
func (*SrLocalsidAddDel) GetMessageName ¶
func (*SrLocalsidAddDel) GetMessageName() string
func (*SrLocalsidAddDel) GetMessageType ¶
func (*SrLocalsidAddDel) GetMessageType() api.MessageType
type SrLocalsidAddDelReply ¶
type SrLocalsidAddDelReply struct {
Retval int32
}
SrLocalsidAddDelReply represents the VPP binary API message 'sr_localsid_add_del_reply'.
"sr_localsid_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*SrLocalsidAddDelReply) GetCrcString ¶
func (*SrLocalsidAddDelReply) GetCrcString() string
func (*SrLocalsidAddDelReply) GetMessageName ¶
func (*SrLocalsidAddDelReply) GetMessageName() string
func (*SrLocalsidAddDelReply) GetMessageType ¶
func (*SrLocalsidAddDelReply) GetMessageType() api.MessageType
type SrLocalsidsDetails ¶
type SrLocalsidsDetails struct { Addr Srv6Sid EndPsp uint8 Behavior uint16 FibTable uint32 VlanIndex uint32 XconnectNhAddr6 []byte `struc:"[16]byte"` XconnectNhAddr4 []byte `struc:"[4]byte"` XconnectIfaceOrVrfTable uint32 }
SrLocalsidsDetails represents the VPP binary API message 'sr_localsids_details'.
"sr_localsids_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "vl_api_srv6_sid_t", "addr" ], [ "u8", "end_psp" ], [ "u16", "behavior" ], [ "u32", "fib_table" ], [ "u32", "vlan_index" ], [ "u8", "xconnect_nh_addr6", 16 ], [ "u8", "xconnect_nh_addr4", 4 ], [ "u32", "xconnect_iface_or_vrf_table" ], { "crc": "0x7ff35765" }
func (*SrLocalsidsDetails) GetCrcString ¶
func (*SrLocalsidsDetails) GetCrcString() string
func (*SrLocalsidsDetails) GetMessageName ¶
func (*SrLocalsidsDetails) GetMessageName() string
func (*SrLocalsidsDetails) GetMessageType ¶
func (*SrLocalsidsDetails) GetMessageType() api.MessageType
type SrLocalsidsDump ¶
type SrLocalsidsDump struct{}
SrLocalsidsDump represents the VPP binary API message 'sr_localsids_dump'.
"sr_localsids_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
func (*SrLocalsidsDump) GetCrcString ¶
func (*SrLocalsidsDump) GetCrcString() string
func (*SrLocalsidsDump) GetMessageName ¶
func (*SrLocalsidsDump) GetMessageName() string
func (*SrLocalsidsDump) GetMessageType ¶
func (*SrLocalsidsDump) GetMessageType() api.MessageType
type SrPoliciesDetails ¶ added in v1.8.1
type SrPoliciesDetails struct { Bsid Srv6Sid Type uint8 IsEncap uint8 FibTable uint32 NumSidLists uint8 `struc:"sizeof=SidLists"` SidLists []Srv6SidList }
SrPoliciesDetails represents the VPP binary API message 'sr_policies_details'.
"sr_policies_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "vl_api_srv6_sid_t", "bsid" ], [ "u8", "type" ], [ "u8", "is_encap" ], [ "u32", "fib_table" ], [ "u8", "num_sid_lists" ], [ "vl_api_srv6_sid_list_t", "sid_lists", 0, "num_sid_lists" ], { "crc": "0xae838a76" }
func (*SrPoliciesDetails) GetCrcString ¶ added in v1.8.1
func (*SrPoliciesDetails) GetCrcString() string
func (*SrPoliciesDetails) GetMessageName ¶ added in v1.8.1
func (*SrPoliciesDetails) GetMessageName() string
func (*SrPoliciesDetails) GetMessageType ¶ added in v1.8.1
func (*SrPoliciesDetails) GetMessageType() api.MessageType
type SrPoliciesDump ¶ added in v1.8.1
type SrPoliciesDump struct{}
SrPoliciesDump represents the VPP binary API message 'sr_policies_dump'.
"sr_policies_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
func (*SrPoliciesDump) GetCrcString ¶ added in v1.8.1
func (*SrPoliciesDump) GetCrcString() string
func (*SrPoliciesDump) GetMessageName ¶ added in v1.8.1
func (*SrPoliciesDump) GetMessageName() string
func (*SrPoliciesDump) GetMessageType ¶ added in v1.8.1
func (*SrPoliciesDump) GetMessageType() api.MessageType
type SrPolicyAdd ¶
type SrPolicyAdd struct { BsidAddr []byte `struc:"[16]byte"` Weight uint32 IsEncap uint8 Type uint8 FibTable uint32 Sids Srv6SidList }
SrPolicyAdd represents the VPP binary API message 'sr_policy_add'.
"sr_policy_add", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "bsid_addr", 16 ], [ "u32", "weight" ], [ "u8", "is_encap" ], [ "u8", "type" ], [ "u32", "fib_table" ], [ "vl_api_srv6_sid_list_t", "sids" ], { "crc": "0xa1676c1f" }
func (*SrPolicyAdd) GetCrcString ¶
func (*SrPolicyAdd) GetCrcString() string
func (*SrPolicyAdd) GetMessageName ¶
func (*SrPolicyAdd) GetMessageName() string
func (*SrPolicyAdd) GetMessageType ¶
func (*SrPolicyAdd) GetMessageType() api.MessageType
type SrPolicyAddReply ¶
type SrPolicyAddReply struct {
Retval int32
}
SrPolicyAddReply represents the VPP binary API message 'sr_policy_add_reply'.
"sr_policy_add_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*SrPolicyAddReply) GetCrcString ¶
func (*SrPolicyAddReply) GetCrcString() string
func (*SrPolicyAddReply) GetMessageName ¶
func (*SrPolicyAddReply) GetMessageName() string
func (*SrPolicyAddReply) GetMessageType ¶
func (*SrPolicyAddReply) GetMessageType() api.MessageType
type SrPolicyDel ¶
SrPolicyDel represents the VPP binary API message 'sr_policy_del'.
"sr_policy_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "vl_api_srv6_sid_t", "bsid_addr" ], [ "u32", "sr_policy_index" ], { "crc": "0x168e1a98" }
func (*SrPolicyDel) GetCrcString ¶
func (*SrPolicyDel) GetCrcString() string
func (*SrPolicyDel) GetMessageName ¶
func (*SrPolicyDel) GetMessageName() string
func (*SrPolicyDel) GetMessageType ¶
func (*SrPolicyDel) GetMessageType() api.MessageType
type SrPolicyDelReply ¶
type SrPolicyDelReply struct {
Retval int32
}
SrPolicyDelReply represents the VPP binary API message 'sr_policy_del_reply'.
"sr_policy_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*SrPolicyDelReply) GetCrcString ¶
func (*SrPolicyDelReply) GetCrcString() string
func (*SrPolicyDelReply) GetMessageName ¶
func (*SrPolicyDelReply) GetMessageName() string
func (*SrPolicyDelReply) GetMessageType ¶
func (*SrPolicyDelReply) GetMessageType() api.MessageType
type SrPolicyMod ¶
type SrPolicyMod struct { BsidAddr []byte `struc:"[16]byte"` SrPolicyIndex uint32 FibTable uint32 Operation uint8 SlIndex uint32 Weight uint32 Sids Srv6SidList }
SrPolicyMod represents the VPP binary API message 'sr_policy_mod'.
"sr_policy_mod", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "bsid_addr", 16 ], [ "u32", "sr_policy_index" ], [ "u32", "fib_table" ], [ "u8", "operation" ], [ "u32", "sl_index" ], [ "u32", "weight" ], [ "vl_api_srv6_sid_list_t", "sids" ], { "crc": "0x51252136" }
func (*SrPolicyMod) GetCrcString ¶
func (*SrPolicyMod) GetCrcString() string
func (*SrPolicyMod) GetMessageName ¶
func (*SrPolicyMod) GetMessageName() string
func (*SrPolicyMod) GetMessageType ¶
func (*SrPolicyMod) GetMessageType() api.MessageType
type SrPolicyModReply ¶
type SrPolicyModReply struct {
Retval int32
}
SrPolicyModReply represents the VPP binary API message 'sr_policy_mod_reply'.
"sr_policy_mod_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*SrPolicyModReply) GetCrcString ¶
func (*SrPolicyModReply) GetCrcString() string
func (*SrPolicyModReply) GetMessageName ¶
func (*SrPolicyModReply) GetMessageName() string
func (*SrPolicyModReply) GetMessageType ¶
func (*SrPolicyModReply) GetMessageType() api.MessageType
type SrSetEncapSource ¶
type SrSetEncapSource struct {
EncapsSource []byte `struc:"[16]byte"`
}
SrSetEncapSource represents the VPP binary API message 'sr_set_encap_source'.
"sr_set_encap_source", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "encaps_source", 16 ], { "crc": "0xd05bb4de" }
func (*SrSetEncapSource) GetCrcString ¶
func (*SrSetEncapSource) GetCrcString() string
func (*SrSetEncapSource) GetMessageName ¶
func (*SrSetEncapSource) GetMessageName() string
func (*SrSetEncapSource) GetMessageType ¶
func (*SrSetEncapSource) GetMessageType() api.MessageType
type SrSetEncapSourceReply ¶
type SrSetEncapSourceReply struct {
Retval int32
}
SrSetEncapSourceReply represents the VPP binary API message 'sr_set_encap_source_reply'.
"sr_set_encap_source_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*SrSetEncapSourceReply) GetCrcString ¶
func (*SrSetEncapSourceReply) GetCrcString() string
func (*SrSetEncapSourceReply) GetMessageName ¶
func (*SrSetEncapSourceReply) GetMessageName() string
func (*SrSetEncapSourceReply) GetMessageType ¶
func (*SrSetEncapSourceReply) GetMessageType() api.MessageType
type SrSteeringAddDel ¶
type SrSteeringAddDel struct { IsDel uint8 BsidAddr []byte `struc:"[16]byte"` SrPolicyIndex uint32 TableID uint32 PrefixAddr []byte `struc:"[16]byte"` MaskWidth uint32 SwIfIndex uint32 TrafficType uint8 }
SrSteeringAddDel represents the VPP binary API message 'sr_steering_add_del'.
"sr_steering_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_del" ], [ "u8", "bsid_addr", 16 ], [ "u32", "sr_policy_index" ], [ "u32", "table_id" ], [ "u8", "prefix_addr", 16 ], [ "u32", "mask_width" ], [ "u32", "sw_if_index" ], [ "u8", "traffic_type" ], { "crc": "0x28b5dcab" }
func (*SrSteeringAddDel) GetCrcString ¶
func (*SrSteeringAddDel) GetCrcString() string
func (*SrSteeringAddDel) GetMessageName ¶
func (*SrSteeringAddDel) GetMessageName() string
func (*SrSteeringAddDel) GetMessageType ¶
func (*SrSteeringAddDel) GetMessageType() api.MessageType
type SrSteeringAddDelReply ¶
type SrSteeringAddDelReply struct {
Retval int32
}
SrSteeringAddDelReply represents the VPP binary API message 'sr_steering_add_del_reply'.
"sr_steering_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*SrSteeringAddDelReply) GetCrcString ¶
func (*SrSteeringAddDelReply) GetCrcString() string
func (*SrSteeringAddDelReply) GetMessageName ¶
func (*SrSteeringAddDelReply) GetMessageName() string
func (*SrSteeringAddDelReply) GetMessageType ¶
func (*SrSteeringAddDelReply) GetMessageType() api.MessageType
type SrSteeringPolDetails ¶ added in v1.8.1
type SrSteeringPolDetails struct { TrafficType uint8 FibTable uint32 PrefixAddr []byte `struc:"[16]byte"` MaskWidth uint32 SwIfIndex uint32 Bsid Srv6Sid }
SrSteeringPolDetails represents the VPP binary API message 'sr_steering_pol_details'.
"sr_steering_pol_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u8", "traffic_type" ], [ "u32", "fib_table" ], [ "u8", "prefix_addr", 16 ], [ "u32", "mask_width" ], [ "u32", "sw_if_index" ], [ "vl_api_srv6_sid_t", "bsid" ], { "crc": "0x1c756f85" }
func (*SrSteeringPolDetails) GetCrcString ¶ added in v1.8.1
func (*SrSteeringPolDetails) GetCrcString() string
func (*SrSteeringPolDetails) GetMessageName ¶ added in v1.8.1
func (*SrSteeringPolDetails) GetMessageName() string
func (*SrSteeringPolDetails) GetMessageType ¶ added in v1.8.1
func (*SrSteeringPolDetails) GetMessageType() api.MessageType
type SrSteeringPolDump ¶ added in v1.8.1
type SrSteeringPolDump struct{}
SrSteeringPolDump represents the VPP binary API message 'sr_steering_pol_dump'.
"sr_steering_pol_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
func (*SrSteeringPolDump) GetCrcString ¶ added in v1.8.1
func (*SrSteeringPolDump) GetCrcString() string
func (*SrSteeringPolDump) GetMessageName ¶ added in v1.8.1
func (*SrSteeringPolDump) GetMessageName() string
func (*SrSteeringPolDump) GetMessageType ¶ added in v1.8.1
func (*SrSteeringPolDump) GetMessageType() api.MessageType
type Srv6Sid ¶ added in v1.8.1
type Srv6Sid struct {
Addr []byte `struc:"[16]byte"`
}
Srv6Sid represents the VPP binary API type 'srv6_sid'.
"srv6_sid", [ "u8", "addr", 16 ], { "crc": "0x6ee67284" }
func (*Srv6Sid) GetCrcString ¶ added in v1.8.1
func (*Srv6Sid) GetTypeName ¶ added in v1.8.1
type Srv6SidList ¶ added in v1.8.1
Srv6SidList represents the VPP binary API type 'srv6_sid_list'.
"srv6_sid_list", [ "u8", "num_sids" ], [ "u32", "weight" ], [ "vl_api_srv6_sid_t", "sids", 16 ], { "crc": "0x4066af74" }
func (*Srv6SidList) GetCrcString ¶ added in v1.8.1
func (*Srv6SidList) GetCrcString() string
func (*Srv6SidList) GetTypeName ¶ added in v1.8.1
func (*Srv6SidList) GetTypeName() string