Documentation ¶
Overview ¶
Package evpn is the main package of the application
Package evpn is the main package of the application ¶
Package evpn is the main package of the application ¶
Package evpn is the main package of the application ¶
Package evpn is the main package of the application
Index ¶
- type Server
- func (s *Server) CreateBridgePort(_ context.Context, in *pb.CreateBridgePortRequest) (*pb.BridgePort, error)
- func (s *Server) CreateLogicalBridge(_ context.Context, in *pb.CreateLogicalBridgeRequest) (*pb.LogicalBridge, error)
- func (s *Server) CreateSvi(_ context.Context, in *pb.CreateSviRequest) (*pb.Svi, error)
- func (s *Server) CreateVrf(_ context.Context, in *pb.CreateVrfRequest) (*pb.Vrf, error)
- func (s *Server) DeleteBridgePort(_ context.Context, in *pb.DeleteBridgePortRequest) (*emptypb.Empty, error)
- func (s *Server) DeleteLogicalBridge(_ context.Context, in *pb.DeleteLogicalBridgeRequest) (*emptypb.Empty, error)
- func (s *Server) DeleteSvi(_ context.Context, in *pb.DeleteSviRequest) (*emptypb.Empty, error)
- func (s *Server) DeleteVrf(_ context.Context, in *pb.DeleteVrfRequest) (*emptypb.Empty, error)
- func (s *Server) GetBridgePort(_ context.Context, in *pb.GetBridgePortRequest) (*pb.BridgePort, error)
- func (s *Server) GetLogicalBridge(_ context.Context, in *pb.GetLogicalBridgeRequest) (*pb.LogicalBridge, error)
- func (s *Server) GetSvi(_ context.Context, in *pb.GetSviRequest) (*pb.Svi, error)
- func (s *Server) GetVrf(_ context.Context, in *pb.GetVrfRequest) (*pb.Vrf, error)
- func (s *Server) UpdateBridgePort(_ context.Context, in *pb.UpdateBridgePortRequest) (*pb.BridgePort, error)
- func (s *Server) UpdateLogicalBridge(_ context.Context, in *pb.UpdateLogicalBridgeRequest) (*pb.LogicalBridge, error)
- func (s *Server) UpdateSvi(_ context.Context, in *pb.UpdateSviRequest) (*pb.Svi, error)
- func (s *Server) UpdateVrf(_ context.Context, in *pb.UpdateVrfRequest) (*pb.Vrf, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { pe.UnimplementedVrfServiceServer pe.UnimplementedSviServiceServer pe.UnimplementedLogicalBridgeServiceServer pe.UnimplementedBridgePortServiceServer Bridges map[string]*pe.LogicalBridge Ports map[string]*pe.BridgePort Svis map[string]*pe.Svi Vrfs map[string]*pe.Vrf // contains filtered or unexported fields }
Server represents the Server object
func NewServerWithArgs ¶
NewServerWithArgs creates initialized instance of EVPN server with externally created Netlink
func (*Server) CreateBridgePort ¶
func (s *Server) CreateBridgePort(_ context.Context, in *pb.CreateBridgePortRequest) (*pb.BridgePort, error)
CreateBridgePort executes the creation of the port
func (*Server) CreateLogicalBridge ¶
func (s *Server) CreateLogicalBridge(_ context.Context, in *pb.CreateLogicalBridgeRequest) (*pb.LogicalBridge, error)
CreateLogicalBridge executes the creation of the LogicalBridge
func (*Server) DeleteBridgePort ¶
func (s *Server) DeleteBridgePort(_ context.Context, in *pb.DeleteBridgePortRequest) (*emptypb.Empty, error)
DeleteBridgePort deletes a port
func (*Server) DeleteLogicalBridge ¶
func (s *Server) DeleteLogicalBridge(_ context.Context, in *pb.DeleteLogicalBridgeRequest) (*emptypb.Empty, error)
DeleteLogicalBridge deletes a LogicalBridge
func (*Server) GetBridgePort ¶
func (s *Server) GetBridgePort(_ context.Context, in *pb.GetBridgePortRequest) (*pb.BridgePort, error)
GetBridgePort gets an BridgePort
func (*Server) GetLogicalBridge ¶
func (s *Server) GetLogicalBridge(_ context.Context, in *pb.GetLogicalBridgeRequest) (*pb.LogicalBridge, error)
GetLogicalBridge gets a LogicalBridge
func (*Server) UpdateBridgePort ¶
func (s *Server) UpdateBridgePort(_ context.Context, in *pb.UpdateBridgePortRequest) (*pb.BridgePort, error)
UpdateBridgePort updates an Nvme Subsystem
func (*Server) UpdateLogicalBridge ¶
func (s *Server) UpdateLogicalBridge(_ context.Context, in *pb.UpdateLogicalBridgeRequest) (*pb.LogicalBridge, error)
UpdateLogicalBridge updates a LogicalBridge
Click to show internal directories.
Click to hide internal directories.