Documentation ¶
Index ¶
- Variables
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)
- func (m *Interface) GetDescription() string
- func (m *Interface) GetEnabled() bool
- func (m *Interface) GetLinkUpDownTrapEnable() Interface_LinkUpDownTrapEnableType
- func (m *Interface) GetName() string
- func (m *Interface) GetType() string
- func (*Interface) ProtoMessage()
- func (m *Interface) Reset()
- func (m *Interface) String() string
- func (m *Interface) XXX_DiscardUnknown()
- func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interface) XXX_Merge(src proto.Message)
- func (m *Interface) XXX_Size() int
- func (m *Interface) XXX_Unmarshal(b []byte) error
- type InterfaceState
- func (*InterfaceState) Descriptor() ([]byte, []int)
- func (m *InterfaceState) GetAdminStatus() InterfaceState_AdminStatusType
- func (m *InterfaceState) GetHigherLayerIf() []string
- func (m *InterfaceState) GetIfIndex() int32
- func (m *InterfaceState) GetLastChange() string
- func (m *InterfaceState) GetLowerLayerIf() []string
- func (m *InterfaceState) GetName() string
- func (m *InterfaceState) GetOperStatus() InterfaceState_OperStatusType
- func (m *InterfaceState) GetPhysAddress() string
- func (m *InterfaceState) GetSpeed() uint64
- func (m *InterfaceState) GetType() string
- func (*InterfaceState) ProtoMessage()
- func (m *InterfaceState) Reset()
- func (m *InterfaceState) String() string
- func (m *InterfaceState) XXX_DiscardUnknown()
- func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfaceState) XXX_Merge(src proto.Message)
- func (m *InterfaceState) XXX_Size() int
- func (m *InterfaceState) XXX_Unmarshal(b []byte) error
- type InterfaceState_AdminStatusType
- type InterfaceState_OperStatusType
- type Interface_LinkUpDownTrapEnableType
- type Interfaces
- func (*Interfaces) Descriptor() ([]byte, []int)
- func (m *Interfaces) GetAllInterfaces() []*Interface
- func (*Interfaces) ProtoMessage()
- func (m *Interfaces) Reset()
- func (m *Interfaces) String() string
- func (m *Interfaces) XXX_DiscardUnknown()
- func (m *Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interfaces) XXX_Merge(src proto.Message)
- func (m *Interfaces) XXX_Size() int
- func (m *Interfaces) XXX_Unmarshal(b []byte) error
- type InterfacesState
- func (*InterfacesState) Descriptor() ([]byte, []int)
- func (m *InterfacesState) GetAllInterfacs() []*InterfaceState
- func (*InterfacesState) ProtoMessage()
- func (m *InterfacesState) Reset()
- func (m *InterfacesState) String() string
- func (m *InterfacesState) XXX_DiscardUnknown()
- func (m *InterfacesState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterfacesState) XXX_Merge(src proto.Message)
- func (m *InterfacesState) XXX_Size() int
- func (m *InterfacesState) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var InterfaceState_AdminStatusType_name = map[int32]string{
0: "ADMIN_DOWN",
1: "ADMIN_TESTING",
2: "ADMIN_UP",
}
View Source
var InterfaceState_AdminStatusType_value = map[string]int32{
"ADMIN_DOWN": 0,
"ADMIN_TESTING": 1,
"ADMIN_UP": 2,
}
View Source
var InterfaceState_OperStatusType_name = map[int32]string{
0: "DORMANT",
1: "LOWER_LAYER_DOWN",
2: "UNKNOWN",
3: "TESTING",
4: "UP",
5: "DOWN",
6: "NOT_PRESENT",
}
View Source
var InterfaceState_OperStatusType_value = map[string]int32{
"DORMANT": 0,
"LOWER_LAYER_DOWN": 1,
"UNKNOWN": 2,
"TESTING": 3,
"UP": 4,
"DOWN": 5,
"NOT_PRESENT": 6,
}
View Source
var Interface_LinkUpDownTrapEnableType_name = map[int32]string{
0: "TRAP_DISABLED",
1: "TRAP_ENABLED",
}
View Source
var Interface_LinkUpDownTrapEnableType_value = map[string]int32{
"TRAP_DISABLED": 0,
"TRAP_ENABLED": 1,
}
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface 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 string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` LinkUpDownTrapEnable Interface_LinkUpDownTrapEnableType `` /* 173-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface) Descriptor ¶
func (*Interface) GetDescription ¶
func (*Interface) GetEnabled ¶
func (*Interface) GetLinkUpDownTrapEnable ¶
func (m *Interface) GetLinkUpDownTrapEnable() Interface_LinkUpDownTrapEnableType
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) XXX_DiscardUnknown ¶
func (m *Interface) XXX_DiscardUnknown()
func (*Interface) XXX_Marshal ¶
func (*Interface) XXX_Unmarshal ¶
type InterfaceState ¶
type InterfaceState struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` AdminStatus InterfaceState_AdminStatusType `` /* 136-byte string literal not displayed */ OperStatus InterfaceState_OperStatusType `` /* 132-byte string literal not displayed */ LastChange string `protobuf:"bytes,5,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` IfIndex int32 `protobuf:"varint,6,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"` PhysAddress string `protobuf:"bytes,7,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` HigherLayerIf []string `protobuf:"bytes,8,rep,name=higher_layer_if,json=higherLayerIf,proto3" json:"higher_layer_if,omitempty"` LowerLayerIf []string `protobuf:"bytes,9,rep,name=lower_layer_if,json=lowerLayerIf,proto3" json:"lower_layer_if,omitempty"` Speed uint64 `protobuf:"varint,10,opt,name=speed,proto3" json:"speed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceState) Descriptor ¶
func (*InterfaceState) Descriptor() ([]byte, []int)
func (*InterfaceState) GetAdminStatus ¶
func (m *InterfaceState) GetAdminStatus() InterfaceState_AdminStatusType
func (*InterfaceState) GetHigherLayerIf ¶
func (m *InterfaceState) GetHigherLayerIf() []string
func (*InterfaceState) GetIfIndex ¶
func (m *InterfaceState) GetIfIndex() int32
func (*InterfaceState) GetLastChange ¶
func (m *InterfaceState) GetLastChange() string
func (*InterfaceState) GetLowerLayerIf ¶
func (m *InterfaceState) GetLowerLayerIf() []string
func (*InterfaceState) GetName ¶
func (m *InterfaceState) GetName() string
func (*InterfaceState) GetOperStatus ¶
func (m *InterfaceState) GetOperStatus() InterfaceState_OperStatusType
func (*InterfaceState) GetPhysAddress ¶
func (m *InterfaceState) GetPhysAddress() string
func (*InterfaceState) GetSpeed ¶
func (m *InterfaceState) GetSpeed() uint64
func (*InterfaceState) GetType ¶
func (m *InterfaceState) GetType() string
func (*InterfaceState) ProtoMessage ¶
func (*InterfaceState) ProtoMessage()
func (*InterfaceState) Reset ¶
func (m *InterfaceState) Reset()
func (*InterfaceState) String ¶
func (m *InterfaceState) String() string
func (*InterfaceState) XXX_DiscardUnknown ¶
func (m *InterfaceState) XXX_DiscardUnknown()
func (*InterfaceState) XXX_Marshal ¶
func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceState) XXX_Merge ¶
func (m *InterfaceState) XXX_Merge(src proto.Message)
func (*InterfaceState) XXX_Size ¶
func (m *InterfaceState) XXX_Size() int
func (*InterfaceState) XXX_Unmarshal ¶
func (m *InterfaceState) XXX_Unmarshal(b []byte) error
type InterfaceState_AdminStatusType ¶
type InterfaceState_AdminStatusType int32
const ( InterfaceState_ADMIN_DOWN InterfaceState_AdminStatusType = 0 InterfaceState_ADMIN_TESTING InterfaceState_AdminStatusType = 1 InterfaceState_ADMIN_UP InterfaceState_AdminStatusType = 2 )
func (InterfaceState_AdminStatusType) EnumDescriptor ¶
func (InterfaceState_AdminStatusType) EnumDescriptor() ([]byte, []int)
func (InterfaceState_AdminStatusType) String ¶
func (x InterfaceState_AdminStatusType) String() string
type InterfaceState_OperStatusType ¶
type InterfaceState_OperStatusType int32
const ( InterfaceState_DORMANT InterfaceState_OperStatusType = 0 InterfaceState_LOWER_LAYER_DOWN InterfaceState_OperStatusType = 1 InterfaceState_UNKNOWN InterfaceState_OperStatusType = 2 InterfaceState_TESTING InterfaceState_OperStatusType = 3 InterfaceState_UP InterfaceState_OperStatusType = 4 InterfaceState_DOWN InterfaceState_OperStatusType = 5 InterfaceState_NOT_PRESENT InterfaceState_OperStatusType = 6 )
func (InterfaceState_OperStatusType) EnumDescriptor ¶
func (InterfaceState_OperStatusType) EnumDescriptor() ([]byte, []int)
func (InterfaceState_OperStatusType) String ¶
func (x InterfaceState_OperStatusType) String() string
type Interface_LinkUpDownTrapEnableType ¶
type Interface_LinkUpDownTrapEnableType int32
const ( Interface_TRAP_DISABLED Interface_LinkUpDownTrapEnableType = 0 Interface_TRAP_ENABLED Interface_LinkUpDownTrapEnableType = 1 )
func (Interface_LinkUpDownTrapEnableType) EnumDescriptor ¶
func (Interface_LinkUpDownTrapEnableType) EnumDescriptor() ([]byte, []int)
func (Interface_LinkUpDownTrapEnableType) String ¶
func (x Interface_LinkUpDownTrapEnableType) String() string
type Interfaces ¶
type Interfaces struct { AllInterfaces []*Interface `protobuf:"bytes,1,rep,name=all_interfaces,json=allInterfaces,proto3" json:"all_interfaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interfaces) Descriptor ¶
func (*Interfaces) Descriptor() ([]byte, []int)
func (*Interfaces) GetAllInterfaces ¶
func (m *Interfaces) GetAllInterfaces() []*Interface
func (*Interfaces) ProtoMessage ¶
func (*Interfaces) ProtoMessage()
func (*Interfaces) Reset ¶
func (m *Interfaces) Reset()
func (*Interfaces) String ¶
func (m *Interfaces) String() string
func (*Interfaces) XXX_DiscardUnknown ¶
func (m *Interfaces) XXX_DiscardUnknown()
func (*Interfaces) XXX_Marshal ¶
func (m *Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interfaces) XXX_Merge ¶
func (m *Interfaces) XXX_Merge(src proto.Message)
func (*Interfaces) XXX_Size ¶
func (m *Interfaces) XXX_Size() int
func (*Interfaces) XXX_Unmarshal ¶
func (m *Interfaces) XXX_Unmarshal(b []byte) error
type InterfacesState ¶
type InterfacesState struct { AllInterfacs []*InterfaceState `protobuf:"bytes,1,rep,name=all_interfacs,json=allInterfacs,proto3" json:"all_interfacs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfacesState) Descriptor ¶
func (*InterfacesState) Descriptor() ([]byte, []int)
func (*InterfacesState) GetAllInterfacs ¶
func (m *InterfacesState) GetAllInterfacs() []*InterfaceState
func (*InterfacesState) ProtoMessage ¶
func (*InterfacesState) ProtoMessage()
func (*InterfacesState) Reset ¶
func (m *InterfacesState) Reset()
func (*InterfacesState) String ¶
func (m *InterfacesState) String() string
func (*InterfacesState) XXX_DiscardUnknown ¶
func (m *InterfacesState) XXX_DiscardUnknown()
func (*InterfacesState) XXX_Marshal ¶
func (m *InterfacesState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfacesState) XXX_Merge ¶
func (m *InterfacesState) XXX_Merge(src proto.Message)
func (*InterfacesState) XXX_Size ¶
func (m *InterfacesState) XXX_Size() int
func (*InterfacesState) XXX_Unmarshal ¶
func (m *InterfacesState) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.