ixia

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(nodeImpl *node.Impl) (node.Node, error)

Types

type Node

type Node struct {
	*node.Impl
}

func (*Node) Create

func (n *Node) Create(ctx context.Context) error

For the actual pod create, update the IxiaTG object state to DEPLOYED for the operator.

func (*Node) Delete

func (n *Node) Delete(ctx context.Context) error

func (*Node) FixInterfaces

func (n *Node) FixInterfaces()

func (*Node) Pods

func (n *Node) Pods(ctx context.Context) ([]*corev1.Pod, error)

Pods returns the pod definitions for the node.

func (*Node) Services

func (n *Node) Services(ctx context.Context) ([]*corev1.Service, error)

Services returns the service definition for the node.

func (*Node) Status

func (n *Node) Status(ctx context.Context) (node.Status, error)

func (*Node) TopologySpecs

func (n *Node) TopologySpecs(ctx context.Context) ([]*topologyv1.Topology, error)

Based on OTG node config, get the network topology spec from operator; this will actually create the IxiaTG objects in INITIATED state.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL