Documentation ¶
Index ¶
- Variables
- type Mac
- func (*Mac) Descriptor() ([]byte, []int)
- func (m *Mac) GetAge() uint32
- func (m *Mac) GetEventType() MacAllEventType
- func (m *Mac) GetL2Type() MacL2Type
- func (m *Mac) GetMacAddress() string
- func (m *Mac) GetMacInfo() MacInfo
- func (m *Mac) GetMacType() Type
- func (m *Mac) GetNtfy() bool
- func (m *Mac) GetPort() string
- func (m *Mac) GetRouted() bool
- func (m *Mac) GetSecure() bool
- func (m *Mac) GetVlan() uint32
- func (*Mac) ProtoMessage()
- func (m *Mac) Reset()
- func (m *Mac) String() string
- func (m *Mac) XXX_DiscardUnknown()
- func (m *Mac) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mac) XXX_Merge(src proto.Message)
- func (m *Mac) XXX_Size() int
- func (m *Mac) XXX_Unmarshal(b []byte) error
- type MacAllEventType
- type MacInfo
- type MacL2Type
- type Macall
- func (*Macall) Descriptor() ([]byte, []int)
- func (m *Macall) GetList() []*MacallList
- func (*Macall) ProtoMessage()
- func (m *Macall) Reset()
- func (m *Macall) String() string
- func (m *Macall) XXX_DiscardUnknown()
- func (m *Macall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Macall) XXX_Merge(src proto.Message)
- func (m *Macall) XXX_Size() int
- func (m *Macall) XXX_Unmarshal(b []byte) error
- type MacallList
- func (*MacallList) Descriptor() ([]byte, []int)
- func (m *MacallList) GetMac() string
- func (m *MacallList) GetValue() *Mac
- func (m *MacallList) GetVlanId() uint32
- func (*MacallList) ProtoMessage()
- func (m *MacallList) Reset()
- func (m *MacallList) String() string
- func (m *MacallList) XXX_DiscardUnknown()
- func (m *MacallList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacallList) XXX_Merge(src proto.Message)
- func (m *MacallList) XXX_Size() int
- func (m *MacallList) XXX_Unmarshal(b []byte) error
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var MacAllEventType_name = map[int32]string{
0: "MAC_ALL_EVENT_TYPE_NO_EVENT",
1: "MAC_ALL_EVENT_TYPE_ADD",
2: "MAC_ALL_EVENT_TYPE_DELETE",
3: "MAC_ALL_EVENT_TYPE_UPDATE",
4: "MAC_ALL_EVENT_TYPE_DOWNLOAD",
5: "MAC_ALL_EVENT_TYPE_DOWNLOAD_DONE",
}
View Source
var MacAllEventType_value = map[string]int32{
"MAC_ALL_EVENT_TYPE_NO_EVENT": 0,
"MAC_ALL_EVENT_TYPE_ADD": 1,
"MAC_ALL_EVENT_TYPE_DELETE": 2,
"MAC_ALL_EVENT_TYPE_UPDATE": 3,
"MAC_ALL_EVENT_TYPE_DOWNLOAD": 4,
"MAC_ALL_EVENT_TYPE_DOWNLOAD_DONE": 5,
}
View Source
var MacInfo_name = map[int32]string{
0: "MAC_ALL_INFO_STANDARD",
1: "MAC_ALL_INFO_DROP",
2: "MAC_ALL_INFO_SVI_DOWN_FLOOD",
3: "MAC_ALL_INFO_SUP_INBAND_CFSOE",
4: "MAC_ALL_INFO_VPC_PEER_LINK",
5: "MAC_ALL_INFO_NVE",
6: "MAC_ALL_INFO_SUP_ETH",
}
View Source
var MacInfo_value = map[string]int32{
"MAC_ALL_INFO_STANDARD": 0,
"MAC_ALL_INFO_DROP": 1,
"MAC_ALL_INFO_SVI_DOWN_FLOOD": 2,
"MAC_ALL_INFO_SUP_INBAND_CFSOE": 3,
"MAC_ALL_INFO_VPC_PEER_LINK": 4,
"MAC_ALL_INFO_NVE": 5,
"MAC_ALL_INFO_SUP_ETH": 6,
}
View Source
var MacL2Type_name = map[int32]string{
0: "MAC_ALL_MAC_L2_TYPE_UNKNOWN",
1: "MAC_ALL_MAC_L2_TYPE_PRIMARY",
2: "MAC_ALL_MAC_L2_TYPE_GATEWAY",
4: "MAC_ALL_MAC_L2_TYPE_OVERLAY",
5: "MAC_ALL_MAC_L2_TYPE_PRIMARY_VPC_PEER",
6: "MAC_ALL_MAC_L2_TYPE_CONTROL_PLANE",
7: "MAC_ALL_MAC_L2_TYPE_VSAN",
}
View Source
var MacL2Type_value = map[string]int32{
"MAC_ALL_MAC_L2_TYPE_UNKNOWN": 0,
"MAC_ALL_MAC_L2_TYPE_PRIMARY": 1,
"MAC_ALL_MAC_L2_TYPE_GATEWAY": 2,
"MAC_ALL_MAC_L2_TYPE_OVERLAY": 4,
"MAC_ALL_MAC_L2_TYPE_PRIMARY_VPC_PEER": 5,
"MAC_ALL_MAC_L2_TYPE_CONTROL_PLANE": 6,
"MAC_ALL_MAC_L2_TYPE_VSAN": 7,
}
View Source
var Type_name = map[int32]string{
0: "MAC_ALL_ADDRESS_TYPE_NO_TYPE",
1: "MAC_ALL_ADDRESS_TYPE_STATIC",
2: "MAC_ALL_ADDRESS_TYPE_DYNAMIC",
}
View Source
var Type_value = map[string]int32{
"MAC_ALL_ADDRESS_TYPE_NO_TYPE": 0,
"MAC_ALL_ADDRESS_TYPE_STATIC": 1,
"MAC_ALL_ADDRESS_TYPE_DYNAMIC": 2,
}
Functions ¶
This section is empty.
Types ¶
type Mac ¶
type Mac struct { // Age - seconds since last seen Age uint32 `protobuf:"varint,1,opt,name=age,proto3" json:"age,omitempty"` // Additional Information on the MAC MacInfo MacInfo `protobuf:"varint,2,opt,name=mac_info,json=macInfo,proto3,enum=mac_all.MacInfo" json:"mac_info,omitempty"` // NTFY Ntfy bool `protobuf:"varint,3,opt,name=ntfy,proto3" json:"ntfy,omitempty"` // Port - //Must match first field in the output of show intf brief. //Example: Eth1/1 or Vlan100 Port string `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"` // Routed or not Routed bool `protobuf:"varint,5,opt,name=routed,proto3" json:"routed,omitempty"` // Secure or not Secure bool `protobuf:"varint,6,opt,name=secure,proto3" json:"secure,omitempty"` // Static or Dynamic MacType Type `protobuf:"varint,7,opt,name=mac_type,json=macType,proto3,enum=mac_all.Type" json:"mac_type,omitempty"` // MAC L2 Type L2Type MacL2Type `protobuf:"varint,8,opt,name=l2_type,json=l2Type,proto3,enum=mac_all.MacL2Type" json:"l2_type,omitempty"` // MAC address MacAddress string `protobuf:"bytes,9,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // VLAN number Vlan uint32 `protobuf:"varint,10,opt,name=vlan,proto3" json:"vlan,omitempty"` // Event types EventType MacAllEventType `protobuf:"varint,11,opt,name=event_type,json=eventType,proto3,enum=mac_all.MacAllEventType" json:"event_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MAC message
func (*Mac) Descriptor ¶
func (*Mac) GetEventType ¶
func (m *Mac) GetEventType() MacAllEventType
func (*Mac) GetMacAddress ¶
func (*Mac) GetMacInfo ¶
func (*Mac) GetMacType ¶
func (*Mac) ProtoMessage ¶
func (*Mac) ProtoMessage()
func (*Mac) XXX_DiscardUnknown ¶
func (m *Mac) XXX_DiscardUnknown()
func (*Mac) XXX_Unmarshal ¶
type MacAllEventType ¶
type MacAllEventType int32
MAC event types
const ( MacAllEventType_MAC_ALL_EVENT_TYPE_NO_EVENT MacAllEventType = 0 MacAllEventType_MAC_ALL_EVENT_TYPE_ADD MacAllEventType = 1 MacAllEventType_MAC_ALL_EVENT_TYPE_DELETE MacAllEventType = 2 MacAllEventType_MAC_ALL_EVENT_TYPE_UPDATE MacAllEventType = 3 MacAllEventType_MAC_ALL_EVENT_TYPE_DOWNLOAD MacAllEventType = 4 MacAllEventType_MAC_ALL_EVENT_TYPE_DOWNLOAD_DONE MacAllEventType = 5 )
func (MacAllEventType) EnumDescriptor ¶
func (MacAllEventType) EnumDescriptor() ([]byte, []int)
func (MacAllEventType) String ¶
func (x MacAllEventType) String() string
type MacInfo ¶
type MacInfo int32
const ( MacInfo_MAC_ALL_INFO_STANDARD MacInfo = 0 MacInfo_MAC_ALL_INFO_DROP MacInfo = 1 MacInfo_MAC_ALL_INFO_SVI_DOWN_FLOOD MacInfo = 2 MacInfo_MAC_ALL_INFO_SUP_INBAND_CFSOE MacInfo = 3 MacInfo_MAC_ALL_INFO_VPC_PEER_LINK MacInfo = 4 MacInfo_MAC_ALL_INFO_NVE MacInfo = 5 MacInfo_MAC_ALL_INFO_SUP_ETH MacInfo = 6 )
func (MacInfo) EnumDescriptor ¶
type MacL2Type ¶
type MacL2Type int32
const ( MacL2Type_MAC_ALL_MAC_L2_TYPE_UNKNOWN MacL2Type = 0 MacL2Type_MAC_ALL_MAC_L2_TYPE_PRIMARY MacL2Type = 1 MacL2Type_MAC_ALL_MAC_L2_TYPE_GATEWAY MacL2Type = 2 MacL2Type_MAC_ALL_MAC_L2_TYPE_OVERLAY MacL2Type = 4 MacL2Type_MAC_ALL_MAC_L2_TYPE_PRIMARY_VPC_PEER MacL2Type = 5 MacL2Type_MAC_ALL_MAC_L2_TYPE_CONTROL_PLANE MacL2Type = 6 MacL2Type_MAC_ALL_MAC_L2_TYPE_VSAN MacL2Type = 7 )
func (MacL2Type) EnumDescriptor ¶
type Macall ¶
type Macall struct { List []*MacallList `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Macall) Descriptor ¶
func (*Macall) GetList ¶
func (m *Macall) GetList() []*MacallList
func (*Macall) ProtoMessage ¶
func (*Macall) ProtoMessage()
func (*Macall) XXX_DiscardUnknown ¶
func (m *Macall) XXX_DiscardUnknown()
func (*Macall) XXX_Marshal ¶
func (*Macall) XXX_Unmarshal ¶
type MacallList ¶
type MacallList struct { VlanId uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"` Value *Mac `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MacallList) Descriptor ¶
func (*MacallList) Descriptor() ([]byte, []int)
func (*MacallList) GetMac ¶
func (m *MacallList) GetMac() string
func (*MacallList) GetValue ¶
func (m *MacallList) GetValue() *Mac
func (*MacallList) GetVlanId ¶
func (m *MacallList) GetVlanId() uint32
func (*MacallList) ProtoMessage ¶
func (*MacallList) ProtoMessage()
func (*MacallList) Reset ¶
func (m *MacallList) Reset()
func (*MacallList) String ¶
func (m *MacallList) String() string
func (*MacallList) XXX_DiscardUnknown ¶
func (m *MacallList) XXX_DiscardUnknown()
func (*MacallList) XXX_Marshal ¶
func (m *MacallList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MacallList) XXX_Merge ¶
func (m *MacallList) XXX_Merge(src proto.Message)
func (*MacallList) XXX_Size ¶
func (m *MacallList) XXX_Size() int
func (*MacallList) XXX_Unmarshal ¶
func (m *MacallList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.