Documentation ¶
Index ¶
- Constants
- type Device
- func (d Device) AddBridgeDomain(nodeName, selectorName, bdName string)
- func (d Device) AddBridgedInterface(niName, ifName string, index int, attachmentType reqv1alpha1.AttachmentType)
- func (d *Device) AddRoutedInterface(niName, ifName string, index int, attachmentType reqv1alpha1.AttachmentType, ...)
- func (d Device) AddRoutingInstance(nodeName, selectorName, rtName string)
- func (d Device) AddRoutingPolicy(prefixes []ipamv1alpha1.Prefix) error
- func (d Device) AddRoutingProtocols(niName string)
Constants ¶
View Source
const ( IRBInterfaceName = "irb0" SystemInterfaceName = "system0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
*ygotsrl.Device
}
func (Device) AddBridgeDomain ¶
create a BridgeDomain (bdName + "-" + selectorName) create BD Index (hash)
func (Device) AddBridgedInterface ¶
func (d Device) AddBridgedInterface(niName, ifName string, index int, attachmentType reqv1alpha1.AttachmentType)
AddBridgedInterface adds a bridge interface to the device config index is the vlan ID or 0 for untagged bridge interfaces
func (*Device) AddRoutedInterface ¶
func (d *Device) AddRoutedInterface(niName, ifName string, index int, attachmentType reqv1alpha1.AttachmentType, prefixes iputil.PrefixClaims)
AddRouteInterface adds a bridge interface to the device config index is the vlan ID or 0 for untagged bridge interfaces
func (Device) AddRoutingInstance ¶
func (Device) AddRoutingPolicy ¶
func (d Device) AddRoutingPolicy(prefixes []ipamv1alpha1.Prefix) error
func (Device) AddRoutingProtocols ¶
Click to show internal directories.
Click to hide internal directories.