svi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package svi is the main package of the application

Package svi is the main package of the application

Package svi is the main package of the application

Package svi is the main package of the application

Package svi is the main package of the application

Package svi is the main package of the application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	pb.UnimplementedSviServiceServer
	Pagination map[string]int
	ListHelper map[string]bool
	// contains filtered or unexported fields
}

Server represents the Server object

func NewServer

func NewServer(store gokv.Store) *Server

NewServer creates initialized instance of EVPN server

func NewServerWithArgs

func NewServerWithArgs(nLink utils.Netlink, frr utils.Frr, store gokv.Store) *Server

NewServerWithArgs creates initialized instance of EVPN server with externally created Netlink

func (*Server) CreateSvi

func (s *Server) CreateSvi(ctx context.Context, in *pb.CreateSviRequest) (*pb.Svi, error)

CreateSvi executes the creation of the VLAN

func (*Server) DeleteSvi

func (s *Server) DeleteSvi(ctx context.Context, in *pb.DeleteSviRequest) (*emptypb.Empty, error)

DeleteSvi deletes a VLAN

func (*Server) GetSvi

func (s *Server) GetSvi(ctx context.Context, in *pb.GetSviRequest) (*pb.Svi, error)

GetSvi gets an VLAN

func (*Server) ListSvis

func (s *Server) ListSvis(_ context.Context, in *pb.ListSvisRequest) (*pb.ListSvisResponse, error)

ListSvis lists logical bridges

func (*Server) UpdateSvi

func (s *Server) UpdateSvi(ctx context.Context, in *pb.UpdateSviRequest) (*pb.Svi, error)

UpdateSvi updates an VLAN

Jump to

Keyboard shortcuts

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