Documentation ¶
Overview ¶
Package controller is a generated protocol buffer package.
It is generated from these files:
controller.proto
It has these top-level messages:
ExternalEntity HostEntity CustomInfoType SfcEntity
Index ¶
- Variables
- func ExternalEntitiesHttpPrefix() string
- func ExternalEntityKeyPrefix() string
- func ExternalEntityNameKey(name string) string
- func HostEntitiesHttpPrefix() string
- func HostEntityKeyPrefix() string
- func HostEntityNameKey(name string) string
- func SfcControllerPrefix() string
- func SfcEntityHttpPrefix() string
- func SfcEntityKeyPrefix() string
- func SfcEntityNameKey(name string) string
- type CustomInfoType
- type ExtEntDriverType
- type ExternalEntity
- func (m *ExternalEntity) GetHostBd() *ExternalEntity_HostBD
- func (m *ExternalEntity) GetHostInterface() *ExternalEntity_HostInterface
- func (m *ExternalEntity) GetHostVxlan() *ExternalEntity_HostVxlan
- func (*ExternalEntity) ProtoMessage()
- func (m *ExternalEntity) Reset()
- func (m *ExternalEntity) String() string
- type ExternalEntity_HostBD
- type ExternalEntity_HostInterface
- type ExternalEntity_HostVxlan
- type HostEntity
- type SfcElementType
- type SfcEntity
- type SfcEntity_SfcElement
- type SfcType
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtEntDriverType_name = map[int32]string{
0: "EE_DRIVER_TYPE_UNKNOWN",
1: "EE_DRIVER_TYPE_IOSXE_SSH",
}
View Source
var ExtEntDriverType_value = map[string]int32{
"EE_DRIVER_TYPE_UNKNOWN": 0,
"EE_DRIVER_TYPE_IOSXE_SSH": 1,
}
View Source
var SfcElementType_name = map[int32]string{
0: "ELEMENT_UNKNOWN",
1: "EXTERNAL_ENTITY",
2: "CONTAINER_AGENT_VPP_MEMIF",
3: "CONTAINER_AGENT_NOVPP_AFP",
4: "CONTAINER_AGENT_NOVPP_MEMIF",
5: "HOST_ENTITY",
6: "CONTAINER_AGENT_VPP_AFP",
}
View Source
var SfcElementType_value = map[string]int32{
"ELEMENT_UNKNOWN": 0,
"EXTERNAL_ENTITY": 1,
"CONTAINER_AGENT_VPP_MEMIF": 2,
"CONTAINER_AGENT_NOVPP_AFP": 3,
"CONTAINER_AGENT_NOVPP_MEMIF": 4,
"HOST_ENTITY": 5,
"CONTAINER_AGENT_VPP_AFP": 6,
}
View Source
var SfcType_name = map[int32]string{
0: "SFC_UNKNOWN_TYPE",
1: "SFC_NS_VXLAN",
2: "SFC_EW_BD",
3: "SFC_NS_NIC_BD",
4: "SFC_NS_NIC_L2XCONN",
5: "SFC_EW_L2XCONN",
}
View Source
var SfcType_value = map[string]int32{
"SFC_UNKNOWN_TYPE": 0,
"SFC_NS_VXLAN": 1,
"SFC_EW_BD": 2,
"SFC_NS_NIC_BD": 3,
"SFC_NS_NIC_L2XCONN": 4,
"SFC_EW_L2XCONN": 5,
}
Functions ¶
func ExternalEntitiesHttpPrefix ¶
func ExternalEntitiesHttpPrefix() string
func ExternalEntityKeyPrefix ¶
func ExternalEntityKeyPrefix() string
func ExternalEntityNameKey ¶
func HostEntitiesHttpPrefix ¶
func HostEntitiesHttpPrefix() string
func HostEntityKeyPrefix ¶
func HostEntityKeyPrefix() string
func HostEntityNameKey ¶
func SfcControllerPrefix ¶
func SfcControllerPrefix() string
func SfcEntityHttpPrefix ¶
func SfcEntityHttpPrefix() string
func SfcEntityKeyPrefix ¶
func SfcEntityKeyPrefix() string
func SfcEntityNameKey ¶
Types ¶
type CustomInfoType ¶
type CustomInfoType struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
}
func (*CustomInfoType) ProtoMessage ¶
func (*CustomInfoType) ProtoMessage()
func (*CustomInfoType) Reset ¶
func (m *CustomInfoType) Reset()
func (*CustomInfoType) String ¶
func (m *CustomInfoType) String() string
type ExtEntDriverType ¶
type ExtEntDriverType int32
const ( ExtEntDriverType_EE_DRIVER_TYPE_UNKNOWN ExtEntDriverType = 0 ExtEntDriverType_EE_DRIVER_TYPE_IOSXE_SSH ExtEntDriverType = 1 )
func (ExtEntDriverType) String ¶
func (x ExtEntDriverType) String() string
type ExternalEntity ¶
type ExternalEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MgmntIpAddress string `protobuf:"bytes,2,opt,name=mgmnt_ip_address,proto3" json:"mgmnt_ip_address,omitempty"` MgmntPort uint32 `protobuf:"varint,3,opt,name=mgmnt_port,proto3" json:"mgmnt_port,omitempty"` BasicAuthUser string `protobuf:"bytes,4,opt,name=basic_auth_user,proto3" json:"basic_auth_user,omitempty"` BasicAuthPasswd string `protobuf:"bytes,5,opt,name=basic_auth_passwd,proto3" json:"basic_auth_passwd,omitempty"` EeDriverType ExtEntDriverType `protobuf:"varint,6,opt,name=ee_driver_type,proto3,enum=controller.ExtEntDriverType" json:"ee_driver_type,omitempty"` HostInterface *ExternalEntity_HostInterface `protobuf:"bytes,7,opt,name=host_interface" json:"host_interface,omitempty"` HostVxlan *ExternalEntity_HostVxlan `protobuf:"bytes,8,opt,name=host_vxlan" json:"host_vxlan,omitempty"` HostBd *ExternalEntity_HostBD `protobuf:"bytes,9,opt,name=host_bd" json:"host_bd,omitempty"` }
func (*ExternalEntity) GetHostBd ¶
func (m *ExternalEntity) GetHostBd() *ExternalEntity_HostBD
func (*ExternalEntity) GetHostInterface ¶
func (m *ExternalEntity) GetHostInterface() *ExternalEntity_HostInterface
func (*ExternalEntity) GetHostVxlan ¶
func (m *ExternalEntity) GetHostVxlan() *ExternalEntity_HostVxlan
func (*ExternalEntity) ProtoMessage ¶
func (*ExternalEntity) ProtoMessage()
func (*ExternalEntity) Reset ¶
func (m *ExternalEntity) Reset()
func (*ExternalEntity) String ¶
func (m *ExternalEntity) String() string
type ExternalEntity_HostBD ¶
type ExternalEntity_HostBD struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` BdiIpv4 string `protobuf:"bytes,2,opt,name=bdi_ipv4,proto3" json:"bdi_ipv4,omitempty"` Interfaces []string `protobuf:"bytes,3,rep,name=interfaces" json:"interfaces,omitempty"` }
func (*ExternalEntity_HostBD) ProtoMessage ¶
func (*ExternalEntity_HostBD) ProtoMessage()
func (*ExternalEntity_HostBD) Reset ¶
func (m *ExternalEntity_HostBD) Reset()
func (*ExternalEntity_HostBD) String ¶
func (m *ExternalEntity_HostBD) String() string
type ExternalEntity_HostInterface ¶
type ExternalEntity_HostInterface struct { IfName string `protobuf:"bytes,1,opt,name=if_name,proto3" json:"if_name,omitempty"` Ipv4Addr string `protobuf:"bytes,2,opt,name=ipv4_addr,proto3" json:"ipv4_addr,omitempty"` }
func (*ExternalEntity_HostInterface) ProtoMessage ¶
func (*ExternalEntity_HostInterface) ProtoMessage()
func (*ExternalEntity_HostInterface) Reset ¶
func (m *ExternalEntity_HostInterface) Reset()
func (*ExternalEntity_HostInterface) String ¶
func (m *ExternalEntity_HostInterface) String() string
type ExternalEntity_HostVxlan ¶
type ExternalEntity_HostVxlan struct { IfName string `protobuf:"bytes,1,opt,name=if_name,proto3" json:"if_name,omitempty"` SourceIpv4 string `protobuf:"bytes,2,opt,name=source_ipv4,proto3" json:"source_ipv4,omitempty"` }
func (*ExternalEntity_HostVxlan) ProtoMessage ¶
func (*ExternalEntity_HostVxlan) ProtoMessage()
func (*ExternalEntity_HostVxlan) Reset ¶
func (m *ExternalEntity_HostVxlan) Reset()
func (*ExternalEntity_HostVxlan) String ¶
func (m *ExternalEntity_HostVxlan) String() string
type HostEntity ¶
type HostEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` EthIfName string `protobuf:"bytes,2,opt,name=eth_if_name,proto3" json:"eth_if_name,omitempty"` EthIpv4 string `protobuf:"bytes,3,opt,name=eth_ipv4,proto3" json:"eth_ipv4,omitempty"` LoopbackMacAddr string `protobuf:"bytes,4,opt,name=loopback_mac_addr,proto3" json:"loopback_mac_addr,omitempty"` LoopbackIpv4 string `protobuf:"bytes,5,opt,name=loopback_ipv4,proto3" json:"loopback_ipv4,omitempty"` }
func (*HostEntity) ProtoMessage ¶
func (*HostEntity) ProtoMessage()
func (*HostEntity) Reset ¶
func (m *HostEntity) Reset()
func (*HostEntity) String ¶
func (m *HostEntity) String() string
type SfcElementType ¶
type SfcElementType int32
const ( SfcElementType_ELEMENT_UNKNOWN SfcElementType = 0 SfcElementType_EXTERNAL_ENTITY SfcElementType = 1 SfcElementType_CONTAINER_AGENT_VPP_MEMIF SfcElementType = 2 SfcElementType_CONTAINER_AGENT_NOVPP_AFP SfcElementType = 3 SfcElementType_CONTAINER_AGENT_NOVPP_MEMIF SfcElementType = 4 SfcElementType_HOST_ENTITY SfcElementType = 5 SfcElementType_CONTAINER_AGENT_VPP_AFP SfcElementType = 6 )
func (SfcElementType) String ¶
func (x SfcElementType) String() string
type SfcEntity ¶
type SfcEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type SfcType `protobuf:"varint,3,opt,name=type,proto3,enum=controller.SfcType" json:"type,omitempty"` SfcIpv4Prefix string `protobuf:"bytes,4,opt,name=sfc_ipv4_prefix,proto3" json:"sfc_ipv4_prefix,omitempty"` SfcIpv4PrefixLen uint32 `protobuf:"varint,5,opt,name=sfc_ipv4_prefix_len,proto3" json:"sfc_ipv4_prefix_len,omitempty"` Elements []*SfcEntity_SfcElement `protobuf:"bytes,7,rep,name=elements" json:"elements,omitempty"` }
func (*SfcEntity) GetElements ¶
func (m *SfcEntity) GetElements() []*SfcEntity_SfcElement
func (*SfcEntity) ProtoMessage ¶
func (*SfcEntity) ProtoMessage()
type SfcEntity_SfcElement ¶
type SfcEntity_SfcElement struct { Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` PortLabel string `protobuf:"bytes,2,opt,name=port_label,proto3" json:"port_label,omitempty"` EtcdVppSwitchKey string `protobuf:"bytes,3,opt,name=etcd_vpp_switch_key,proto3" json:"etcd_vpp_switch_key,omitempty"` Ipv4Addr string `protobuf:"bytes,4,opt,name=ipv4_addr,proto3" json:"ipv4_addr,omitempty"` MacAddr string `protobuf:"bytes,5,opt,name=mac_addr,proto3" json:"mac_addr,omitempty"` Type SfcElementType `protobuf:"varint,6,opt,name=type,proto3,enum=controller.SfcElementType" json:"type,omitempty"` CustomInfo *CustomInfoType `protobuf:"bytes,7,opt,name=custom_info" json:"custom_info,omitempty"` }
func (*SfcEntity_SfcElement) GetCustomInfo ¶
func (m *SfcEntity_SfcElement) GetCustomInfo() *CustomInfoType
func (*SfcEntity_SfcElement) ProtoMessage ¶
func (*SfcEntity_SfcElement) ProtoMessage()
func (*SfcEntity_SfcElement) Reset ¶
func (m *SfcEntity_SfcElement) Reset()
func (*SfcEntity_SfcElement) String ¶
func (m *SfcEntity_SfcElement) String() string
Click to show internal directories.
Click to hide internal directories.