vrf

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 vrf is the main package of the application

Package vrf is the main package of the application

Package vrf is the main package of the application

Package vrf is the main package of the application

Package vrf is the main package of the application

Package vrf 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.UnimplementedVrfServiceServer
	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) CreateVrf

func (s *Server) CreateVrf(ctx context.Context, in *pb.CreateVrfRequest) (*pb.Vrf, error)

CreateVrf executes the creation of the VRF

func (*Server) DeleteVrf

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

DeleteVrf deletes a VRF

func (*Server) GetVrf

func (s *Server) GetVrf(ctx context.Context, in *pb.GetVrfRequest) (*pb.Vrf, error)

GetVrf gets an VRF

func (*Server) ListVrfs

func (s *Server) ListVrfs(_ context.Context, in *pb.ListVrfsRequest) (*pb.ListVrfsResponse, error)

ListVrfs lists logical bridges

func (*Server) UpdateVrf

func (s *Server) UpdateVrf(ctx context.Context, in *pb.UpdateVrfRequest) (*pb.Vrf, error)

UpdateVrf updates an VRF

Jump to

Keyboard shortcuts

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