Documentation
¶
Index ¶
- type ItfceInfo
- type ItfceInfoOption
- func WithEpgName(s string) ItfceInfoOption
- func WithIpv4Prefixes(s []*string) ItfceInfoOption
- func WithIpv6Prefixes(s []*string) ItfceInfoOption
- func WithItfceName(s string) ItfceInfoOption
- func WithItfceSelectorKind(s nddov1.InterfaceSelectorKind) ItfceInfoOption
- func WithItfceSelectorTags(s []*nddov1.Tag) ItfceInfoOption
- func WithVlan(s uint32) ItfceInfoOption
- type NodeItfceSelection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItfceInfo ¶
type ItfceInfo interface {
GetEpgName() string
GetItfceName() string
GetVlanId() uint32
GetIpv4Prefixes() []*string
GetIpv6Prefixes() []*string
GetItfceSelectorKind() nddov1.InterfaceSelectorKind
GetItfceSelectorTags() []*nddov1.Tag
SetEpgName(s string)
SetItfceName(s string)
SetVlanId(s uint32)
SetIpv4Prefixes(s []*string)
SetIpv6Prefixes(s []*string)
SetItfceSelectorKind(s nddov1.InterfaceSelectorKind)
SetItfceSelectorTags(s []*nddov1.Tag)
IsEpgBased() bool
}
func NewItfceInfo ¶
func NewItfceInfo(opts ...ItfceInfoOption) ItfceInfo
type ItfceInfoOption ¶
type ItfceInfoOption func(*itfceInfo)
func WithEpgName ¶
func WithEpgName(s string) ItfceInfoOption
func WithIpv4Prefixes ¶
func WithIpv4Prefixes(s []*string) ItfceInfoOption
func WithIpv6Prefixes ¶
func WithIpv6Prefixes(s []*string) ItfceInfoOption
func WithItfceName ¶
func WithItfceName(s string) ItfceInfoOption
func WithItfceSelectorKind ¶
func WithItfceSelectorKind(s nddov1.InterfaceSelectorKind) ItfceInfoOption
func WithItfceSelectorTags ¶
func WithItfceSelectorTags(s []*nddov1.Tag) ItfceInfoOption
func WithVlan ¶
func WithVlan(s uint32) ItfceInfoOption
type NodeItfceSelection ¶
type NodeItfceSelection interface {
GetNodeItfcesByEpgSelector(epgSelectors []*nddov1.EpgInfo, nddaItfceList networkv1alpha1.IfList)
GetNodeItfcesByNodeItfceSelector(nodeItfceSelectors map[string]*nddov1.ItfceInfo, nddaItfceList networkv1alpha1.IfList)
GetSelectedNodeItfces() map[string][]ItfceInfo
}
func NewNodeItfceSelection ¶
func NewNodeItfceSelection() NodeItfceSelection
Click to show internal directories.
Click to hide internal directories.