Documentation ¶
Index ¶
- type DeviceBuilder
- func (r *DeviceBuilder) Build(ctx context.Context, nd *netwv1alpha1.NetworkDesign) error
- func (r *DeviceBuilder) BuildNew(ctx context.Context) error
- func (r *DeviceBuilder) BuildOverlay(ctx context.Context) error
- func (r *DeviceBuilder) BuildUnderlay(ctx context.Context) error
- func (r *DeviceBuilder) GetLinks(ctx context.Context) ([]*infrabev1alpha1.Link, error)
- func (r *DeviceBuilder) GetNetworkDeviceConfigs() []*netwv1alpha1.NetworkDevice
- func (r *DeviceBuilder) GetNodes(ctx context.Context) ([]*infrabev1alpha1.Node, error)
- type Devices
- func (r *Devices) AddBFDInterface(nodeName string, x *netwv1alpha1.NetworkDeviceBFDInterface)
- func (r *Devices) AddInterface(nodeName string, x *netwv1alpha1.NetworkDeviceInterface)
- func (r *Devices) AddNetworkInstance(nodeName string, newNI *netwv1alpha1.NetworkDeviceNetworkInstance)
- func (r *Devices) AddNetworkInstanceProtocolsBGPAS(nodeName, niName string, as uint32)
- func (r *Devices) AddNetworkInstanceProtocolsBGPAddressFamilies(nodeName, niName string, afs []string)
- func (r *Devices) AddNetworkInstanceProtocolsBGPEVPN(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceProtocolsBGPRouterID(nodeName, niName string, routerID string)
- func (r *Devices) AddNetworkInstanceProtocolsBGPVPN(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceProtocolsISISInstance(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceProtocolsISISInstanceInterface(nodeName, niName, instanceName string, ...)
- func (r *Devices) AddNetworkInstanceProtocolsOSPFInstance(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceProtocolsOSPFInstanceArea(nodeName, niName, instanceName string, ...)
- func (r *Devices) AddNetworkInstanceProtocolsOSPFInstanceAreaInterface(nodeName, niName, instanceName, area string, ...)
- func (r *Devices) AddNetworkInstanceSubInterface(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceSubInterfaceVXLAN(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceprotocolsBGPDynamicNeighbor(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceprotocolsBGPNeighbor(nodeName, niName string, ...)
- func (r *Devices) AddNetworkInstanceprotocolsBGPPeerGroup(nodeName, niName string, ...)
- func (r *Devices) AddProvider(nodeName, provider string)
- func (r *Devices) AddRoutingPolicy(nodeName, policyName string, ipv4, ipv6 []string)
- func (r *Devices) AddSubInterface(nodeName, ifName string, x *netwv1alpha1.NetworkDeviceInterfaceSubInterface)
- func (r *Devices) AddSystemProtocolsBGPVPN(nodeName string, x *netwv1alpha1.NetworkDeviceSystemProtocolsBGPVPN)
- func (r *Devices) AddTunnelInterface(nodeName string, x *netwv1alpha1.NetworkDeviceTunnelInterface)
- func (r *Devices) AddTunnelSubInterface(nodeName, ifName string, ...)
- func (r *Devices) GetNetworkDeviceConfigs() []*netwv1alpha1.NetworkDevice
- func (r *Devices) GetSystemIP(nodeName, ifName string, id uint32, ipv4 bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceBuilder ¶
func New ¶
func New(client client.Client, network *netwv1alpha1.Network, networkDesign *netwv1alpha1.NetworkDesign) *DeviceBuilder
func (*DeviceBuilder) Build ¶
func (r *DeviceBuilder) Build(ctx context.Context, nd *netwv1alpha1.NetworkDesign) error
func (*DeviceBuilder) BuildNew ¶ added in v0.0.16
func (r *DeviceBuilder) BuildNew(ctx context.Context) error
func (*DeviceBuilder) BuildOverlay ¶ added in v0.0.16
func (r *DeviceBuilder) BuildOverlay(ctx context.Context) error
func (*DeviceBuilder) BuildUnderlay ¶ added in v0.0.16
func (r *DeviceBuilder) BuildUnderlay(ctx context.Context) error
func (*DeviceBuilder) GetLinks ¶
func (r *DeviceBuilder) GetLinks(ctx context.Context) ([]*infrabev1alpha1.Link, error)
func (*DeviceBuilder) GetNetworkDeviceConfigs ¶
func (r *DeviceBuilder) GetNetworkDeviceConfigs() []*netwv1alpha1.NetworkDevice
func (*DeviceBuilder) GetNodes ¶
func (r *DeviceBuilder) GetNodes(ctx context.Context) ([]*infrabev1alpha1.Node, error)
type Devices ¶
type Devices struct {
// contains filtered or unexported fields
}
func NewDevices ¶
func NewDevices(nsn types.NamespacedName) *Devices
func (*Devices) AddBFDInterface ¶ added in v0.0.16
func (r *Devices) AddBFDInterface(nodeName string, x *netwv1alpha1.NetworkDeviceBFDInterface)
func (*Devices) AddInterface ¶
func (r *Devices) AddInterface(nodeName string, x *netwv1alpha1.NetworkDeviceInterface)
func (*Devices) AddNetworkInstance ¶
func (r *Devices) AddNetworkInstance(nodeName string, newNI *netwv1alpha1.NetworkDeviceNetworkInstance)
func (*Devices) AddNetworkInstanceProtocolsBGPAS ¶ added in v0.0.8
func (*Devices) AddNetworkInstanceProtocolsBGPAddressFamilies ¶ added in v0.0.11
func (*Devices) AddNetworkInstanceProtocolsBGPEVPN ¶
func (r *Devices) AddNetworkInstanceProtocolsBGPEVPN(nodeName, niName string, x *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolBGPEVPN)
func (*Devices) AddNetworkInstanceProtocolsBGPRouterID ¶ added in v0.0.8
func (*Devices) AddNetworkInstanceProtocolsBGPVPN ¶
func (r *Devices) AddNetworkInstanceProtocolsBGPVPN(nodeName, niName string, x *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolBGPVPN)
func (*Devices) AddNetworkInstanceProtocolsISISInstance ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceProtocolsISISInstance(nodeName, niName string, instance *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolISISInstance)
func (*Devices) AddNetworkInstanceProtocolsISISInstanceInterface ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceProtocolsISISInstanceInterface(nodeName, niName, instanceName string, itfce *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolISISInstanceInterface)
func (*Devices) AddNetworkInstanceProtocolsOSPFInstance ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceProtocolsOSPFInstance(nodeName, niName string, instance *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolOSPFInstance)
func (*Devices) AddNetworkInstanceProtocolsOSPFInstanceArea ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceProtocolsOSPFInstanceArea(nodeName, niName, instanceName string, area *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolOSPFInstanceArea)
func (*Devices) AddNetworkInstanceProtocolsOSPFInstanceAreaInterface ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceProtocolsOSPFInstanceAreaInterface(nodeName, niName, instanceName, area string, itfce *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolOSPFInstanceAreaInterface)
func (*Devices) AddNetworkInstanceSubInterface ¶
func (r *Devices) AddNetworkInstanceSubInterface(nodeName, niName string, niItfce *netwv1alpha1.NetworkDeviceNetworkInstanceInterface)
func (*Devices) AddNetworkInstanceSubInterfaceVXLAN ¶
func (r *Devices) AddNetworkInstanceSubInterfaceVXLAN(nodeName, niName string, vxlanItfce *netwv1alpha1.NetworkDeviceNetworkInstanceInterface)
func (*Devices) AddNetworkInstanceprotocolsBGPDynamicNeighbor ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceprotocolsBGPDynamicNeighbor(nodeName, niName string, new *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolBGPDynamicNeighborsInterface)
func (*Devices) AddNetworkInstanceprotocolsBGPNeighbor ¶ added in v0.0.8
func (r *Devices) AddNetworkInstanceprotocolsBGPNeighbor(nodeName, niName string, x *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolBGPNeighbor)
func (*Devices) AddNetworkInstanceprotocolsBGPPeerGroup ¶ added in v0.0.11
func (r *Devices) AddNetworkInstanceprotocolsBGPPeerGroup(nodeName, niName string, x *netwv1alpha1.NetworkDeviceNetworkInstanceProtocolBGPPeerGroup)
func (*Devices) AddProvider ¶
func (*Devices) AddRoutingPolicy ¶
func (*Devices) AddSubInterface ¶
func (r *Devices) AddSubInterface(nodeName, ifName string, x *netwv1alpha1.NetworkDeviceInterfaceSubInterface)
func (*Devices) AddSystemProtocolsBGPVPN ¶
func (r *Devices) AddSystemProtocolsBGPVPN(nodeName string, x *netwv1alpha1.NetworkDeviceSystemProtocolsBGPVPN)
func (*Devices) AddTunnelInterface ¶
func (r *Devices) AddTunnelInterface(nodeName string, x *netwv1alpha1.NetworkDeviceTunnelInterface)
func (*Devices) AddTunnelSubInterface ¶
func (r *Devices) AddTunnelSubInterface(nodeName, ifName string, x *netwv1alpha1.NetworkDeviceTunnelInterfaceSubInterface)
func (*Devices) GetNetworkDeviceConfigs ¶
func (r *Devices) GetNetworkDeviceConfigs() []*netwv1alpha1.NetworkDevice
Click to show internal directories.
Click to hide internal directories.