Documentation ¶
Overview ¶
Package _go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package _go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterBridgePortServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBridgePortServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BridgePortServiceClient) error
- func RegisterBridgePortServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBridgePortServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BridgePortServiceServer) error
- func RegisterBridgePortServiceServer(s grpc.ServiceRegistrar, srv BridgePortServiceServer)
- func RegisterLogicalBridgeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLogicalBridgeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LogicalBridgeServiceClient) error
- func RegisterLogicalBridgeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLogicalBridgeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LogicalBridgeServiceServer) error
- func RegisterLogicalBridgeServiceServer(s grpc.ServiceRegistrar, srv LogicalBridgeServiceServer)
- func RegisterSviServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSviServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SviServiceClient) error
- func RegisterSviServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSviServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SviServiceServer) error
- func RegisterSviServiceServer(s grpc.ServiceRegistrar, srv SviServiceServer)
- func RegisterVrfServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVrfServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VrfServiceClient) error
- func RegisterVrfServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVrfServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VrfServiceServer) error
- func RegisterVrfServiceServer(s grpc.ServiceRegistrar, srv VrfServiceServer)
- type BPOperStatus
- func (BPOperStatus) Descriptor() protoreflect.EnumDescriptor
- func (x BPOperStatus) Enum() *BPOperStatus
- func (BPOperStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x BPOperStatus) Number() protoreflect.EnumNumber
- func (x BPOperStatus) String() string
- func (BPOperStatus) Type() protoreflect.EnumType
- type BridgePort
- func (*BridgePort) Descriptor() ([]byte, []int)deprecated
- func (x *BridgePort) GetName() string
- func (x *BridgePort) GetSpec() *BridgePortSpec
- func (x *BridgePort) GetStatus() *BridgePortStatus
- func (*BridgePort) ProtoMessage()
- func (x *BridgePort) ProtoReflect() protoreflect.Message
- func (x *BridgePort) Reset()
- func (x *BridgePort) String() string
- type BridgePortServiceClient
- type BridgePortServiceServer
- type BridgePortSpec
- func (*BridgePortSpec) Descriptor() ([]byte, []int)deprecated
- func (x *BridgePortSpec) GetLogicalBridges() []string
- func (x *BridgePortSpec) GetMacAddress() []byte
- func (x *BridgePortSpec) GetPtype() BridgePortType
- func (*BridgePortSpec) ProtoMessage()
- func (x *BridgePortSpec) ProtoReflect() protoreflect.Message
- func (x *BridgePortSpec) Reset()
- func (x *BridgePortSpec) String() string
- type BridgePortStatus
- func (*BridgePortStatus) Descriptor() ([]byte, []int)deprecated
- func (x *BridgePortStatus) GetComponents() []*Component
- func (x *BridgePortStatus) GetOperStatus() BPOperStatus
- func (*BridgePortStatus) ProtoMessage()
- func (x *BridgePortStatus) ProtoReflect() protoreflect.Message
- func (x *BridgePortStatus) Reset()
- func (x *BridgePortStatus) String() string
- type BridgePortType
- func (BridgePortType) Descriptor() protoreflect.EnumDescriptor
- func (x BridgePortType) Enum() *BridgePortType
- func (BridgePortType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BridgePortType) Number() protoreflect.EnumNumber
- func (x BridgePortType) String() string
- func (BridgePortType) Type() protoreflect.EnumType
- type CompStatus
- type Component
- func (*Component) Descriptor() ([]byte, []int)deprecated
- func (x *Component) GetDetails() string
- func (x *Component) GetName() string
- func (x *Component) GetStatus() CompStatus
- func (*Component) ProtoMessage()
- func (x *Component) ProtoReflect() protoreflect.Message
- func (x *Component) Reset()
- func (x *Component) String() string
- type CreateBridgePortRequest
- func (*CreateBridgePortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBridgePortRequest) GetBridgePort() *BridgePort
- func (x *CreateBridgePortRequest) GetBridgePortId() string
- func (*CreateBridgePortRequest) ProtoMessage()
- func (x *CreateBridgePortRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBridgePortRequest) Reset()
- func (x *CreateBridgePortRequest) String() string
- type CreateLogicalBridgeRequest
- func (*CreateLogicalBridgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogicalBridgeRequest) GetLogicalBridge() *LogicalBridge
- func (x *CreateLogicalBridgeRequest) GetLogicalBridgeId() string
- func (*CreateLogicalBridgeRequest) ProtoMessage()
- func (x *CreateLogicalBridgeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLogicalBridgeRequest) Reset()
- func (x *CreateLogicalBridgeRequest) String() string
- type CreateSviRequest
- func (*CreateSviRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSviRequest) GetSvi() *Svi
- func (x *CreateSviRequest) GetSviId() string
- func (*CreateSviRequest) ProtoMessage()
- func (x *CreateSviRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSviRequest) Reset()
- func (x *CreateSviRequest) String() string
- type CreateVrfRequest
- func (*CreateVrfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVrfRequest) GetVrf() *Vrf
- func (x *CreateVrfRequest) GetVrfId() string
- func (*CreateVrfRequest) ProtoMessage()
- func (x *CreateVrfRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVrfRequest) Reset()
- func (x *CreateVrfRequest) String() string
- type DeleteBridgePortRequest
- func (*DeleteBridgePortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBridgePortRequest) GetAllowMissing() bool
- func (x *DeleteBridgePortRequest) GetName() string
- func (*DeleteBridgePortRequest) ProtoMessage()
- func (x *DeleteBridgePortRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBridgePortRequest) Reset()
- func (x *DeleteBridgePortRequest) String() string
- type DeleteLogicalBridgeRequest
- func (*DeleteLogicalBridgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLogicalBridgeRequest) GetAllowMissing() bool
- func (x *DeleteLogicalBridgeRequest) GetName() string
- func (*DeleteLogicalBridgeRequest) ProtoMessage()
- func (x *DeleteLogicalBridgeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLogicalBridgeRequest) Reset()
- func (x *DeleteLogicalBridgeRequest) String() string
- type DeleteSviRequest
- func (*DeleteSviRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSviRequest) GetAllowMissing() bool
- func (x *DeleteSviRequest) GetName() string
- func (*DeleteSviRequest) ProtoMessage()
- func (x *DeleteSviRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSviRequest) Reset()
- func (x *DeleteSviRequest) String() string
- type DeleteVrfRequest
- func (*DeleteVrfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVrfRequest) GetAllowMissing() bool
- func (x *DeleteVrfRequest) GetName() string
- func (*DeleteVrfRequest) ProtoMessage()
- func (x *DeleteVrfRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVrfRequest) Reset()
- func (x *DeleteVrfRequest) String() string
- type GetBridgePortRequest
- func (*GetBridgePortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBridgePortRequest) GetName() string
- func (*GetBridgePortRequest) ProtoMessage()
- func (x *GetBridgePortRequest) ProtoReflect() protoreflect.Message
- func (x *GetBridgePortRequest) Reset()
- func (x *GetBridgePortRequest) String() string
- type GetLogicalBridgeRequest
- func (*GetLogicalBridgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogicalBridgeRequest) GetName() string
- func (*GetLogicalBridgeRequest) ProtoMessage()
- func (x *GetLogicalBridgeRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogicalBridgeRequest) Reset()
- func (x *GetLogicalBridgeRequest) String() string
- type GetSviRequest
- type GetVrfRequest
- type LBOperStatus
- func (LBOperStatus) Descriptor() protoreflect.EnumDescriptor
- func (x LBOperStatus) Enum() *LBOperStatus
- func (LBOperStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x LBOperStatus) Number() protoreflect.EnumNumber
- func (x LBOperStatus) String() string
- func (LBOperStatus) Type() protoreflect.EnumType
- type ListBridgePortsRequest
- func (*ListBridgePortsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBridgePortsRequest) GetPageSize() int32
- func (x *ListBridgePortsRequest) GetPageToken() string
- func (*ListBridgePortsRequest) ProtoMessage()
- func (x *ListBridgePortsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBridgePortsRequest) Reset()
- func (x *ListBridgePortsRequest) String() string
- type ListBridgePortsResponse
- func (*ListBridgePortsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBridgePortsResponse) GetBridgePorts() []*BridgePort
- func (x *ListBridgePortsResponse) GetNextPageToken() string
- func (*ListBridgePortsResponse) ProtoMessage()
- func (x *ListBridgePortsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBridgePortsResponse) Reset()
- func (x *ListBridgePortsResponse) String() string
- type ListLogicalBridgesRequest
- func (*ListLogicalBridgesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogicalBridgesRequest) GetPageSize() int32
- func (x *ListLogicalBridgesRequest) GetPageToken() string
- func (*ListLogicalBridgesRequest) ProtoMessage()
- func (x *ListLogicalBridgesRequest) ProtoReflect() protoreflect.Message
- func (x *ListLogicalBridgesRequest) Reset()
- func (x *ListLogicalBridgesRequest) String() string
- type ListLogicalBridgesResponse
- func (*ListLogicalBridgesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogicalBridgesResponse) GetLogicalBridges() []*LogicalBridge
- func (x *ListLogicalBridgesResponse) GetNextPageToken() string
- func (*ListLogicalBridgesResponse) ProtoMessage()
- func (x *ListLogicalBridgesResponse) ProtoReflect() protoreflect.Message
- func (x *ListLogicalBridgesResponse) Reset()
- func (x *ListLogicalBridgesResponse) String() string
- type ListSvisRequest
- func (*ListSvisRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvisRequest) GetPageSize() int32
- func (x *ListSvisRequest) GetPageToken() string
- func (*ListSvisRequest) ProtoMessage()
- func (x *ListSvisRequest) ProtoReflect() protoreflect.Message
- func (x *ListSvisRequest) Reset()
- func (x *ListSvisRequest) String() string
- type ListSvisResponse
- func (*ListSvisResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvisResponse) GetNextPageToken() string
- func (x *ListSvisResponse) GetSvis() []*Svi
- func (*ListSvisResponse) ProtoMessage()
- func (x *ListSvisResponse) ProtoReflect() protoreflect.Message
- func (x *ListSvisResponse) Reset()
- func (x *ListSvisResponse) String() string
- type ListVrfsRequest
- func (*ListVrfsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVrfsRequest) GetPageSize() int32
- func (x *ListVrfsRequest) GetPageToken() string
- func (*ListVrfsRequest) ProtoMessage()
- func (x *ListVrfsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVrfsRequest) Reset()
- func (x *ListVrfsRequest) String() string
- type ListVrfsResponse
- func (*ListVrfsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVrfsResponse) GetNextPageToken() string
- func (x *ListVrfsResponse) GetVrfs() []*Vrf
- func (*ListVrfsResponse) ProtoMessage()
- func (x *ListVrfsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVrfsResponse) Reset()
- func (x *ListVrfsResponse) String() string
- type LogicalBridge
- func (*LogicalBridge) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalBridge) GetName() string
- func (x *LogicalBridge) GetSpec() *LogicalBridgeSpec
- func (x *LogicalBridge) GetStatus() *LogicalBridgeStatus
- func (*LogicalBridge) ProtoMessage()
- func (x *LogicalBridge) ProtoReflect() protoreflect.Message
- func (x *LogicalBridge) Reset()
- func (x *LogicalBridge) String() string
- type LogicalBridgeServiceClient
- type LogicalBridgeServiceServer
- type LogicalBridgeSpec
- func (*LogicalBridgeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalBridgeSpec) GetVlanId() uint32
- func (x *LogicalBridgeSpec) GetVni() uint32
- func (x *LogicalBridgeSpec) GetVtepIpPrefix() *_go.IPPrefix
- func (*LogicalBridgeSpec) ProtoMessage()
- func (x *LogicalBridgeSpec) ProtoReflect() protoreflect.Message
- func (x *LogicalBridgeSpec) Reset()
- func (x *LogicalBridgeSpec) String() string
- type LogicalBridgeStatus
- func (*LogicalBridgeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalBridgeStatus) GetComponents() []*Component
- func (x *LogicalBridgeStatus) GetOperStatus() LBOperStatus
- func (*LogicalBridgeStatus) ProtoMessage()
- func (x *LogicalBridgeStatus) ProtoReflect() protoreflect.Message
- func (x *LogicalBridgeStatus) Reset()
- func (x *LogicalBridgeStatus) String() string
- type SVIOperStatus
- func (SVIOperStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SVIOperStatus) Enum() *SVIOperStatus
- func (SVIOperStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SVIOperStatus) Number() protoreflect.EnumNumber
- func (x SVIOperStatus) String() string
- func (SVIOperStatus) Type() protoreflect.EnumType
- type Svi
- type SviServiceClient
- type SviServiceServer
- type SviSpec
- func (*SviSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SviSpec) GetEnableBgp() bool
- func (x *SviSpec) GetGwIpPrefix() []*_go.IPPrefix
- func (x *SviSpec) GetLogicalBridge() string
- func (x *SviSpec) GetMacAddress() []byte
- func (x *SviSpec) GetRemoteAs() uint32
- func (x *SviSpec) GetVrf() string
- func (*SviSpec) ProtoMessage()
- func (x *SviSpec) ProtoReflect() protoreflect.Message
- func (x *SviSpec) Reset()
- func (x *SviSpec) String() string
- type SviStatus
- func (*SviStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SviStatus) GetComponents() []*Component
- func (x *SviStatus) GetOperStatus() SVIOperStatus
- func (*SviStatus) ProtoMessage()
- func (x *SviStatus) ProtoReflect() protoreflect.Message
- func (x *SviStatus) Reset()
- func (x *SviStatus) String() string
- type UnimplementedBridgePortServiceServer
- func (UnimplementedBridgePortServiceServer) CreateBridgePort(context.Context, *CreateBridgePortRequest) (*BridgePort, error)
- func (UnimplementedBridgePortServiceServer) DeleteBridgePort(context.Context, *DeleteBridgePortRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgePortServiceServer) GetBridgePort(context.Context, *GetBridgePortRequest) (*BridgePort, error)
- func (UnimplementedBridgePortServiceServer) ListBridgePorts(context.Context, *ListBridgePortsRequest) (*ListBridgePortsResponse, error)
- func (UnimplementedBridgePortServiceServer) UpdateBridgePort(context.Context, *UpdateBridgePortRequest) (*BridgePort, error)
- type UnimplementedLogicalBridgeServiceServer
- func (UnimplementedLogicalBridgeServiceServer) CreateLogicalBridge(context.Context, *CreateLogicalBridgeRequest) (*LogicalBridge, error)
- func (UnimplementedLogicalBridgeServiceServer) DeleteLogicalBridge(context.Context, *DeleteLogicalBridgeRequest) (*emptypb.Empty, error)
- func (UnimplementedLogicalBridgeServiceServer) GetLogicalBridge(context.Context, *GetLogicalBridgeRequest) (*LogicalBridge, error)
- func (UnimplementedLogicalBridgeServiceServer) ListLogicalBridges(context.Context, *ListLogicalBridgesRequest) (*ListLogicalBridgesResponse, error)
- func (UnimplementedLogicalBridgeServiceServer) UpdateLogicalBridge(context.Context, *UpdateLogicalBridgeRequest) (*LogicalBridge, error)
- type UnimplementedSviServiceServer
- func (UnimplementedSviServiceServer) CreateSvi(context.Context, *CreateSviRequest) (*Svi, error)
- func (UnimplementedSviServiceServer) DeleteSvi(context.Context, *DeleteSviRequest) (*emptypb.Empty, error)
- func (UnimplementedSviServiceServer) GetSvi(context.Context, *GetSviRequest) (*Svi, error)
- func (UnimplementedSviServiceServer) ListSvis(context.Context, *ListSvisRequest) (*ListSvisResponse, error)
- func (UnimplementedSviServiceServer) UpdateSvi(context.Context, *UpdateSviRequest) (*Svi, error)
- type UnimplementedVrfServiceServer
- func (UnimplementedVrfServiceServer) CreateVrf(context.Context, *CreateVrfRequest) (*Vrf, error)
- func (UnimplementedVrfServiceServer) DeleteVrf(context.Context, *DeleteVrfRequest) (*emptypb.Empty, error)
- func (UnimplementedVrfServiceServer) GetVrf(context.Context, *GetVrfRequest) (*Vrf, error)
- func (UnimplementedVrfServiceServer) ListVrfs(context.Context, *ListVrfsRequest) (*ListVrfsResponse, error)
- func (UnimplementedVrfServiceServer) UpdateVrf(context.Context, *UpdateVrfRequest) (*Vrf, error)
- type UnsafeBridgePortServiceServer
- type UnsafeLogicalBridgeServiceServer
- type UnsafeSviServiceServer
- type UnsafeVrfServiceServer
- type UpdateBridgePortRequest
- func (*UpdateBridgePortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBridgePortRequest) GetAllowMissing() bool
- func (x *UpdateBridgePortRequest) GetBridgePort() *BridgePort
- func (x *UpdateBridgePortRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBridgePortRequest) ProtoMessage()
- func (x *UpdateBridgePortRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBridgePortRequest) Reset()
- func (x *UpdateBridgePortRequest) String() string
- type UpdateLogicalBridgeRequest
- func (*UpdateLogicalBridgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLogicalBridgeRequest) GetAllowMissing() bool
- func (x *UpdateLogicalBridgeRequest) GetLogicalBridge() *LogicalBridge
- func (x *UpdateLogicalBridgeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateLogicalBridgeRequest) ProtoMessage()
- func (x *UpdateLogicalBridgeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLogicalBridgeRequest) Reset()
- func (x *UpdateLogicalBridgeRequest) String() string
- type UpdateSviRequest
- func (*UpdateSviRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSviRequest) GetAllowMissing() bool
- func (x *UpdateSviRequest) GetSvi() *Svi
- func (x *UpdateSviRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSviRequest) ProtoMessage()
- func (x *UpdateSviRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSviRequest) Reset()
- func (x *UpdateSviRequest) String() string
- type UpdateVrfRequest
- func (*UpdateVrfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVrfRequest) GetAllowMissing() bool
- func (x *UpdateVrfRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateVrfRequest) GetVrf() *Vrf
- func (*UpdateVrfRequest) ProtoMessage()
- func (x *UpdateVrfRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVrfRequest) Reset()
- func (x *UpdateVrfRequest) String() string
- type VRFOperStatus
- func (VRFOperStatus) Descriptor() protoreflect.EnumDescriptor
- func (x VRFOperStatus) Enum() *VRFOperStatus
- func (VRFOperStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x VRFOperStatus) Number() protoreflect.EnumNumber
- func (x VRFOperStatus) String() string
- func (VRFOperStatus) Type() protoreflect.EnumType
- type Vrf
- type VrfServiceClient
- type VrfServiceServer
- type VrfSpec
- func (*VrfSpec) Descriptor() ([]byte, []int)deprecated
- func (x *VrfSpec) GetLoopbackIpPrefix() *_go.IPPrefix
- func (x *VrfSpec) GetVni() uint32
- func (x *VrfSpec) GetVtepIpPrefix() *_go.IPPrefix
- func (*VrfSpec) ProtoMessage()
- func (x *VrfSpec) ProtoReflect() protoreflect.Message
- func (x *VrfSpec) Reset()
- func (x *VrfSpec) String() string
- type VrfStatus
- func (*VrfStatus) Descriptor() ([]byte, []int)deprecated
- func (x *VrfStatus) GetComponents() []*Component
- func (x *VrfStatus) GetOperStatus() VRFOperStatus
- func (*VrfStatus) ProtoMessage()
- func (x *VrfStatus) ProtoReflect() protoreflect.Message
- func (x *VrfStatus) Reset()
- func (x *VrfStatus) String() string
Constants ¶
const ( LogicalBridgeService_CreateLogicalBridge_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService/CreateLogicalBridge" LogicalBridgeService_ListLogicalBridges_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService/ListLogicalBridges" LogicalBridgeService_GetLogicalBridge_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService/GetLogicalBridge" LogicalBridgeService_DeleteLogicalBridge_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService/DeleteLogicalBridge" LogicalBridgeService_UpdateLogicalBridge_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService/UpdateLogicalBridge" )
const ( BridgePortService_CreateBridgePort_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.BridgePortService/CreateBridgePort" BridgePortService_ListBridgePorts_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.BridgePortService/ListBridgePorts" BridgePortService_GetBridgePort_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.BridgePortService/GetBridgePort" BridgePortService_DeleteBridgePort_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.BridgePortService/DeleteBridgePort" BridgePortService_UpdateBridgePort_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.BridgePortService/UpdateBridgePort" )
const ( VrfService_CreateVrf_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.VrfService/CreateVrf" VrfService_ListVrfs_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.VrfService/ListVrfs" VrfService_GetVrf_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.VrfService/GetVrf" VrfService_DeleteVrf_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.VrfService/DeleteVrf" VrfService_UpdateVrf_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.VrfService/UpdateVrf" )
const ( SviService_CreateSvi_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.SviService/CreateSvi" SviService_ListSvis_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.SviService/ListSvis" SviService_GetSvi_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.SviService/GetSvi" SviService_DeleteSvi_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.SviService/DeleteSvi" SviService_UpdateSvi_FullMethodName = "/opi_api.network.evpn_gw.v1alpha1.SviService/UpdateSvi" )
Variables ¶
var ( CompStatus_name = map[int32]string{ 0: "COMP_STATUS_UNSPECIFIED", 1: "COMP_STATUS_PENDING", 2: "COMP_STATUS_SUCCESS", 3: "COMP_STATUS_ERROR", } CompStatus_value = map[string]int32{ "COMP_STATUS_UNSPECIFIED": 0, "COMP_STATUS_PENDING": 1, "COMP_STATUS_SUCCESS": 2, "COMP_STATUS_ERROR": 3, } )
Enum value maps for CompStatus.
var ( LBOperStatus_name = map[int32]string{ 0: "LB_OPER_STATUS_UNSPECIFIED", 1: "LB_OPER_STATUS_UP", 2: "LB_OPER_STATUS_DOWN", 3: "LB_OPER_STATUS_TO_BE_DELETED", } LBOperStatus_value = map[string]int32{ "LB_OPER_STATUS_UNSPECIFIED": 0, "LB_OPER_STATUS_UP": 1, "LB_OPER_STATUS_DOWN": 2, "LB_OPER_STATUS_TO_BE_DELETED": 3, } )
Enum value maps for LBOperStatus.
var ( BPOperStatus_name = map[int32]string{ 0: "BP_OPER_STATUS_UNSPECIFIED", 1: "BP_OPER_STATUS_UP", 2: "BP_OPER_STATUS_DOWN", 3: "BP_OPER_STATUS_TO_BE_DELETED", } BPOperStatus_value = map[string]int32{ "BP_OPER_STATUS_UNSPECIFIED": 0, "BP_OPER_STATUS_UP": 1, "BP_OPER_STATUS_DOWN": 2, "BP_OPER_STATUS_TO_BE_DELETED": 3, } )
Enum value maps for BPOperStatus.
var ( BridgePortType_name = map[int32]string{ 0: "BRIDGE_PORT_TYPE_UNSPECIFIED", 1: "BRIDGE_PORT_TYPE_ACCESS", 2: "BRIDGE_PORT_TYPE_TRUNK", } BridgePortType_value = map[string]int32{ "BRIDGE_PORT_TYPE_UNSPECIFIED": 0, "BRIDGE_PORT_TYPE_ACCESS": 1, "BRIDGE_PORT_TYPE_TRUNK": 2, } )
Enum value maps for BridgePortType.
var ( VRFOperStatus_name = map[int32]string{ 0: "VRF_OPER_STATUS_UNSPECIFIED", 1: "VRF_OPER_STATUS_UP", 2: "VRF_OPER_STATUS_DOWN", 3: "VRF_OPER_STATUS_TO_BE_DELETED", } VRFOperStatus_value = map[string]int32{ "VRF_OPER_STATUS_UNSPECIFIED": 0, "VRF_OPER_STATUS_UP": 1, "VRF_OPER_STATUS_DOWN": 2, "VRF_OPER_STATUS_TO_BE_DELETED": 3, } )
Enum value maps for VRFOperStatus.
var ( SVIOperStatus_name = map[int32]string{ 0: "SVI_OPER_STATUS_UNSPECIFIED", 1: "SVI_OPER_STATUS_UP", 2: "SVI_OPER_STATUS_DOWN", 3: "SVI_OPER_STATUS_TO_BE_DELETED", } SVIOperStatus_value = map[string]int32{ "SVI_OPER_STATUS_UNSPECIFIED": 0, "SVI_OPER_STATUS_UP": 1, "SVI_OPER_STATUS_DOWN": 2, "SVI_OPER_STATUS_TO_BE_DELETED": 3, } )
Enum value maps for SVIOperStatus.
var BridgePortService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.network.evpn_gw.v1alpha1.BridgePortService", HandlerType: (*BridgePortServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateBridgePort", Handler: _BridgePortService_CreateBridgePort_Handler, }, { MethodName: "ListBridgePorts", Handler: _BridgePortService_ListBridgePorts_Handler, }, { MethodName: "GetBridgePort", Handler: _BridgePortService_GetBridgePort_Handler, }, { MethodName: "DeleteBridgePort", Handler: _BridgePortService_DeleteBridgePort_Handler, }, { MethodName: "UpdateBridgePort", Handler: _BridgePortService_UpdateBridgePort_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "l2_xpu_infra_mgr.proto", }
BridgePortService_ServiceDesc is the grpc.ServiceDesc for BridgePortService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_component_proto protoreflect.FileDescriptor
var File_l2_xpu_infra_mgr_proto protoreflect.FileDescriptor
var File_l3_xpu_infra_mgr_proto protoreflect.FileDescriptor
var LogicalBridgeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService", HandlerType: (*LogicalBridgeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateLogicalBridge", Handler: _LogicalBridgeService_CreateLogicalBridge_Handler, }, { MethodName: "ListLogicalBridges", Handler: _LogicalBridgeService_ListLogicalBridges_Handler, }, { MethodName: "GetLogicalBridge", Handler: _LogicalBridgeService_GetLogicalBridge_Handler, }, { MethodName: "DeleteLogicalBridge", Handler: _LogicalBridgeService_DeleteLogicalBridge_Handler, }, { MethodName: "UpdateLogicalBridge", Handler: _LogicalBridgeService_UpdateLogicalBridge_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "l2_xpu_infra_mgr.proto", }
LogicalBridgeService_ServiceDesc is the grpc.ServiceDesc for LogicalBridgeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SviService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.network.evpn_gw.v1alpha1.SviService", HandlerType: (*SviServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSvi", Handler: _SviService_CreateSvi_Handler, }, { MethodName: "ListSvis", Handler: _SviService_ListSvis_Handler, }, { MethodName: "GetSvi", Handler: _SviService_GetSvi_Handler, }, { MethodName: "DeleteSvi", Handler: _SviService_DeleteSvi_Handler, }, { MethodName: "UpdateSvi", Handler: _SviService_UpdateSvi_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "l3_xpu_infra_mgr.proto", }
SviService_ServiceDesc is the grpc.ServiceDesc for SviService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VrfService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.network.evpn_gw.v1alpha1.VrfService", HandlerType: (*VrfServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateVrf", Handler: _VrfService_CreateVrf_Handler, }, { MethodName: "ListVrfs", Handler: _VrfService_ListVrfs_Handler, }, { MethodName: "GetVrf", Handler: _VrfService_GetVrf_Handler, }, { MethodName: "DeleteVrf", Handler: _VrfService_DeleteVrf_Handler, }, { MethodName: "UpdateVrf", Handler: _VrfService_UpdateVrf_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "l3_xpu_infra_mgr.proto", }
VrfService_ServiceDesc is the grpc.ServiceDesc for VrfService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBridgePortServiceHandler ¶
func RegisterBridgePortServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterBridgePortServiceHandler registers the http handlers for service BridgePortService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBridgePortServiceHandlerClient ¶
func RegisterBridgePortServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BridgePortServiceClient) error
RegisterBridgePortServiceHandlerClient registers the http handlers for service BridgePortService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BridgePortServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BridgePortServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BridgePortServiceClient" to call the correct interceptors.
func RegisterBridgePortServiceHandlerFromEndpoint ¶
func RegisterBridgePortServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBridgePortServiceHandlerFromEndpoint is same as RegisterBridgePortServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBridgePortServiceHandlerServer ¶
func RegisterBridgePortServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BridgePortServiceServer) error
RegisterBridgePortServiceHandlerServer registers the http handlers for service BridgePortService to "mux". UnaryRPC :call BridgePortServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBridgePortServiceHandlerFromEndpoint instead.
func RegisterBridgePortServiceServer ¶
func RegisterBridgePortServiceServer(s grpc.ServiceRegistrar, srv BridgePortServiceServer)
func RegisterLogicalBridgeServiceHandler ¶
func RegisterLogicalBridgeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLogicalBridgeServiceHandler registers the http handlers for service LogicalBridgeService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLogicalBridgeServiceHandlerClient ¶
func RegisterLogicalBridgeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LogicalBridgeServiceClient) error
RegisterLogicalBridgeServiceHandlerClient registers the http handlers for service LogicalBridgeService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LogicalBridgeServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LogicalBridgeServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LogicalBridgeServiceClient" to call the correct interceptors.
func RegisterLogicalBridgeServiceHandlerFromEndpoint ¶
func RegisterLogicalBridgeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLogicalBridgeServiceHandlerFromEndpoint is same as RegisterLogicalBridgeServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLogicalBridgeServiceHandlerServer ¶
func RegisterLogicalBridgeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LogicalBridgeServiceServer) error
RegisterLogicalBridgeServiceHandlerServer registers the http handlers for service LogicalBridgeService to "mux". UnaryRPC :call LogicalBridgeServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLogicalBridgeServiceHandlerFromEndpoint instead.
func RegisterLogicalBridgeServiceServer ¶
func RegisterLogicalBridgeServiceServer(s grpc.ServiceRegistrar, srv LogicalBridgeServiceServer)
func RegisterSviServiceHandler ¶
func RegisterSviServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSviServiceHandler registers the http handlers for service SviService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSviServiceHandlerClient ¶
func RegisterSviServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SviServiceClient) error
RegisterSviServiceHandlerClient registers the http handlers for service SviService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SviServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SviServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SviServiceClient" to call the correct interceptors.
func RegisterSviServiceHandlerFromEndpoint ¶
func RegisterSviServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSviServiceHandlerFromEndpoint is same as RegisterSviServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSviServiceHandlerServer ¶
func RegisterSviServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SviServiceServer) error
RegisterSviServiceHandlerServer registers the http handlers for service SviService to "mux". UnaryRPC :call SviServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSviServiceHandlerFromEndpoint instead.
func RegisterSviServiceServer ¶
func RegisterSviServiceServer(s grpc.ServiceRegistrar, srv SviServiceServer)
func RegisterVrfServiceHandler ¶
func RegisterVrfServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVrfServiceHandler registers the http handlers for service VrfService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVrfServiceHandlerClient ¶
func RegisterVrfServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VrfServiceClient) error
RegisterVrfServiceHandlerClient registers the http handlers for service VrfService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VrfServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VrfServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VrfServiceClient" to call the correct interceptors.
func RegisterVrfServiceHandlerFromEndpoint ¶
func RegisterVrfServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVrfServiceHandlerFromEndpoint is same as RegisterVrfServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVrfServiceHandlerServer ¶
func RegisterVrfServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VrfServiceServer) error
RegisterVrfServiceHandlerServer registers the http handlers for service VrfService to "mux". UnaryRPC :call VrfServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterVrfServiceHandlerFromEndpoint instead.
func RegisterVrfServiceServer ¶
func RegisterVrfServiceServer(s grpc.ServiceRegistrar, srv VrfServiceServer)
Types ¶
type BPOperStatus ¶
type BPOperStatus int32
BPOperStatus status reflects the operational status of a Bridge Port
const ( // unknown BPOperStatus_BP_OPER_STATUS_UNSPECIFIED BPOperStatus = 0 // Bridge Port is up BPOperStatus_BP_OPER_STATUS_UP BPOperStatus = 1 // Bridge Port is down BPOperStatus_BP_OPER_STATUS_DOWN BPOperStatus = 2 // Bridge Port is to be deleted BPOperStatus_BP_OPER_STATUS_TO_BE_DELETED BPOperStatus = 3 )
func (BPOperStatus) Descriptor ¶
func (BPOperStatus) Descriptor() protoreflect.EnumDescriptor
func (BPOperStatus) Enum ¶
func (x BPOperStatus) Enum() *BPOperStatus
func (BPOperStatus) EnumDescriptor
deprecated
func (BPOperStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use BPOperStatus.Descriptor instead.
func (BPOperStatus) Number ¶
func (x BPOperStatus) Number() protoreflect.EnumNumber
func (BPOperStatus) String ¶
func (x BPOperStatus) String() string
func (BPOperStatus) Type ¶
func (BPOperStatus) Type() protoreflect.EnumType
type BridgePort ¶
type BridgePort struct { // The resource name of the Bridge Port. // "name" is an opaque object handle that is not user settable. // "name" will be returned with created object // user can only set {resource}_id on the Create request object // Format: bridge_ports/{bridge_port} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Bridge Port network configuration Spec *BridgePortSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // Bridge Port network status Status *BridgePortStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Bridge Port network configuration and status
func (*BridgePort) Descriptor
deprecated
func (*BridgePort) Descriptor() ([]byte, []int)
Deprecated: Use BridgePort.ProtoReflect.Descriptor instead.
func (*BridgePort) GetName ¶
func (x *BridgePort) GetName() string
func (*BridgePort) GetSpec ¶
func (x *BridgePort) GetSpec() *BridgePortSpec
func (*BridgePort) GetStatus ¶
func (x *BridgePort) GetStatus() *BridgePortStatus
func (*BridgePort) ProtoMessage ¶
func (*BridgePort) ProtoMessage()
func (*BridgePort) ProtoReflect ¶
func (x *BridgePort) ProtoReflect() protoreflect.Message
func (*BridgePort) Reset ¶
func (x *BridgePort) Reset()
func (*BridgePort) String ¶
func (x *BridgePort) String() string
type BridgePortServiceClient ¶
type BridgePortServiceClient interface { // Create a Bridge Port CreateBridgePort(ctx context.Context, in *CreateBridgePortRequest, opts ...grpc.CallOption) (*BridgePort, error) // List Bridge Ports ListBridgePorts(ctx context.Context, in *ListBridgePortsRequest, opts ...grpc.CallOption) (*ListBridgePortsResponse, error) // Retrieve a Bridge Port GetBridgePort(ctx context.Context, in *GetBridgePortRequest, opts ...grpc.CallOption) (*BridgePort, error) // Delete a Bridge Port DeleteBridgePort(ctx context.Context, in *DeleteBridgePortRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update a Bridge Port UpdateBridgePort(ctx context.Context, in *UpdateBridgePortRequest, opts ...grpc.CallOption) (*BridgePort, error) }
BridgePortServiceClient is the client API for BridgePortService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBridgePortServiceClient ¶
func NewBridgePortServiceClient(cc grpc.ClientConnInterface) BridgePortServiceClient
type BridgePortServiceServer ¶
type BridgePortServiceServer interface { // Create a Bridge Port CreateBridgePort(context.Context, *CreateBridgePortRequest) (*BridgePort, error) // List Bridge Ports ListBridgePorts(context.Context, *ListBridgePortsRequest) (*ListBridgePortsResponse, error) // Retrieve a Bridge Port GetBridgePort(context.Context, *GetBridgePortRequest) (*BridgePort, error) // Delete a Bridge Port DeleteBridgePort(context.Context, *DeleteBridgePortRequest) (*emptypb.Empty, error) // Update a Bridge Port UpdateBridgePort(context.Context, *UpdateBridgePortRequest) (*BridgePort, error) // contains filtered or unexported methods }
BridgePortServiceServer is the server API for BridgePortService service. All implementations must embed UnimplementedBridgePortServiceServer for forward compatibility
type BridgePortSpec ¶
type BridgePortSpec struct { // Bridge Port's MAC address. MacAddress []byte `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // Type of Bridge Port Ptype BridgePortType `protobuf:"varint,2,opt,name=ptype,proto3,enum=opi_api.network.evpn_gw.v1alpha1.BridgePortType" json:"ptype,omitempty"` // List of Logical Bridges this Bridge Port will attach. // This will define the VLANs that will be enabled in this Bridge Port LogicalBridges []string `protobuf:"bytes,3,rep,name=logical_bridges,json=logicalBridges,proto3" json:"logical_bridges,omitempty"` // contains filtered or unexported fields }
Bridge Port network configuration
func (*BridgePortSpec) Descriptor
deprecated
func (*BridgePortSpec) Descriptor() ([]byte, []int)
Deprecated: Use BridgePortSpec.ProtoReflect.Descriptor instead.
func (*BridgePortSpec) GetLogicalBridges ¶
func (x *BridgePortSpec) GetLogicalBridges() []string
func (*BridgePortSpec) GetMacAddress ¶
func (x *BridgePortSpec) GetMacAddress() []byte
func (*BridgePortSpec) GetPtype ¶
func (x *BridgePortSpec) GetPtype() BridgePortType
func (*BridgePortSpec) ProtoMessage ¶
func (*BridgePortSpec) ProtoMessage()
func (*BridgePortSpec) ProtoReflect ¶
func (x *BridgePortSpec) ProtoReflect() protoreflect.Message
func (*BridgePortSpec) Reset ¶
func (x *BridgePortSpec) Reset()
func (*BridgePortSpec) String ¶
func (x *BridgePortSpec) String() string
type BridgePortStatus ¶
type BridgePortStatus struct { // operational status of a Bridge Port OperStatus BPOperStatus `` /* 143-byte string literal not displayed */ // status of the components Components []*Component `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
operational status of a Bridge Port
func (*BridgePortStatus) Descriptor
deprecated
func (*BridgePortStatus) Descriptor() ([]byte, []int)
Deprecated: Use BridgePortStatus.ProtoReflect.Descriptor instead.
func (*BridgePortStatus) GetComponents ¶
func (x *BridgePortStatus) GetComponents() []*Component
func (*BridgePortStatus) GetOperStatus ¶
func (x *BridgePortStatus) GetOperStatus() BPOperStatus
func (*BridgePortStatus) ProtoMessage ¶
func (*BridgePortStatus) ProtoMessage()
func (*BridgePortStatus) ProtoReflect ¶
func (x *BridgePortStatus) ProtoReflect() protoreflect.Message
func (*BridgePortStatus) Reset ¶
func (x *BridgePortStatus) Reset()
func (*BridgePortStatus) String ¶
func (x *BridgePortStatus) String() string
type BridgePortType ¶
type BridgePortType int32
BridgePortType reflects the different types of a Bridge Port
const ( // "unknown" bridge port type BridgePortType_BRIDGE_PORT_TYPE_UNSPECIFIED BridgePortType = 0 // "access" bridge port type BridgePortType_BRIDGE_PORT_TYPE_ACCESS BridgePortType = 1 // "trunk" bridge port type BridgePortType_BRIDGE_PORT_TYPE_TRUNK BridgePortType = 2 )
func (BridgePortType) Descriptor ¶
func (BridgePortType) Descriptor() protoreflect.EnumDescriptor
func (BridgePortType) Enum ¶
func (x BridgePortType) Enum() *BridgePortType
func (BridgePortType) EnumDescriptor
deprecated
func (BridgePortType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BridgePortType.Descriptor instead.
func (BridgePortType) Number ¶
func (x BridgePortType) Number() protoreflect.EnumNumber
func (BridgePortType) String ¶
func (x BridgePortType) String() string
func (BridgePortType) Type ¶
func (BridgePortType) Type() protoreflect.EnumType
type CompStatus ¶
type CompStatus int32
CompStatus reflects the status of a component
const ( // component status is "unspecified" CompStatus_COMP_STATUS_UNSPECIFIED CompStatus = 0 // component status is "pending" CompStatus_COMP_STATUS_PENDING CompStatus = 1 // component status is "success" CompStatus_COMP_STATUS_SUCCESS CompStatus = 2 // component status is "error" CompStatus_COMP_STATUS_ERROR CompStatus = 3 )
func (CompStatus) Descriptor ¶
func (CompStatus) Descriptor() protoreflect.EnumDescriptor
func (CompStatus) Enum ¶
func (x CompStatus) Enum() *CompStatus
func (CompStatus) EnumDescriptor
deprecated
func (CompStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompStatus.Descriptor instead.
func (CompStatus) Number ¶
func (x CompStatus) Number() protoreflect.EnumNumber
func (CompStatus) String ¶
func (x CompStatus) String() string
func (CompStatus) Type ¶
func (CompStatus) Type() protoreflect.EnumType
type Component ¶
type Component struct { // Component's name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Component's status Status CompStatus `protobuf:"varint,2,opt,name=status,proto3,enum=opi_api.network.evpn_gw.v1alpha1.CompStatus" json:"status,omitempty"` // Component's details in the form of json string Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
Component represents a subscribed component (e.g. FRR component, Linux component etc...) (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: The name here is not the unique identifier of a DB object just the name of the component that is subscribed. --)
func (*Component) Descriptor
deprecated
func (*Component) GetDetails ¶
func (*Component) GetStatus ¶
func (x *Component) GetStatus() CompStatus
func (*Component) ProtoMessage ¶
func (*Component) ProtoMessage()
func (*Component) ProtoReflect ¶
func (x *Component) ProtoReflect() protoreflect.Message
type CreateBridgePortRequest ¶
type CreateBridgePortRequest struct { // The ID to use for the bridge port, which will become the final component of // the bridge port's resource name. // // This value should be 4-63 characters, and valid characters // are /[a-z][0-9]-/. // If this is not provided the system will auto-generate it. BridgePortId string `protobuf:"bytes,1,opt,name=bridge_port_id,json=bridgePortId,proto3" json:"bridge_port_id,omitempty"` // The bridge port to create BridgePort *BridgePort `protobuf:"bytes,2,opt,name=bridge_port,json=bridgePort,proto3" json:"bridge_port,omitempty"` // contains filtered or unexported fields }
CreateBridgePortRequest structure
func (*CreateBridgePortRequest) Descriptor
deprecated
func (*CreateBridgePortRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBridgePortRequest.ProtoReflect.Descriptor instead.
func (*CreateBridgePortRequest) GetBridgePort ¶
func (x *CreateBridgePortRequest) GetBridgePort() *BridgePort
func (*CreateBridgePortRequest) GetBridgePortId ¶
func (x *CreateBridgePortRequest) GetBridgePortId() string
func (*CreateBridgePortRequest) ProtoMessage ¶
func (*CreateBridgePortRequest) ProtoMessage()
func (*CreateBridgePortRequest) ProtoReflect ¶
func (x *CreateBridgePortRequest) ProtoReflect() protoreflect.Message
func (*CreateBridgePortRequest) Reset ¶
func (x *CreateBridgePortRequest) Reset()
func (*CreateBridgePortRequest) String ¶
func (x *CreateBridgePortRequest) String() string
type CreateLogicalBridgeRequest ¶
type CreateLogicalBridgeRequest struct { // The ID to use for the logical bridge, which will become the final component of // the logical bridge's resource name. // // This value should be 4-63 characters, and valid characters // are /[a-z][0-9]-/. // If this is not provided the system will auto-generate it. LogicalBridgeId string `protobuf:"bytes,1,opt,name=logical_bridge_id,json=logicalBridgeId,proto3" json:"logical_bridge_id,omitempty"` // The logical bridge to create LogicalBridge *LogicalBridge `protobuf:"bytes,2,opt,name=logical_bridge,json=logicalBridge,proto3" json:"logical_bridge,omitempty"` // contains filtered or unexported fields }
CreateLogicalBridgeRequest structure
func (*CreateLogicalBridgeRequest) Descriptor
deprecated
func (*CreateLogicalBridgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogicalBridgeRequest.ProtoReflect.Descriptor instead.
func (*CreateLogicalBridgeRequest) GetLogicalBridge ¶
func (x *CreateLogicalBridgeRequest) GetLogicalBridge() *LogicalBridge
func (*CreateLogicalBridgeRequest) GetLogicalBridgeId ¶
func (x *CreateLogicalBridgeRequest) GetLogicalBridgeId() string
func (*CreateLogicalBridgeRequest) ProtoMessage ¶
func (*CreateLogicalBridgeRequest) ProtoMessage()
func (*CreateLogicalBridgeRequest) ProtoReflect ¶
func (x *CreateLogicalBridgeRequest) ProtoReflect() protoreflect.Message
func (*CreateLogicalBridgeRequest) Reset ¶
func (x *CreateLogicalBridgeRequest) Reset()
func (*CreateLogicalBridgeRequest) String ¶
func (x *CreateLogicalBridgeRequest) String() string
type CreateSviRequest ¶
type CreateSviRequest struct { // The ID to use for the svi, which will become the final component of // the svi's resource name. // // This value should be 4-63 characters, and valid characters // are /[a-z][0-9]-/. // If this is not provided the system will auto-generate it. SviId string `protobuf:"bytes,1,opt,name=svi_id,json=sviId,proto3" json:"svi_id,omitempty"` // The Svi to create Svi *Svi `protobuf:"bytes,2,opt,name=svi,proto3" json:"svi,omitempty"` // contains filtered or unexported fields }
CreateSviRequest structure
func (*CreateSviRequest) Descriptor
deprecated
func (*CreateSviRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSviRequest.ProtoReflect.Descriptor instead.
func (*CreateSviRequest) GetSvi ¶
func (x *CreateSviRequest) GetSvi() *Svi
func (*CreateSviRequest) GetSviId ¶
func (x *CreateSviRequest) GetSviId() string
func (*CreateSviRequest) ProtoMessage ¶
func (*CreateSviRequest) ProtoMessage()
func (*CreateSviRequest) ProtoReflect ¶
func (x *CreateSviRequest) ProtoReflect() protoreflect.Message
func (*CreateSviRequest) Reset ¶
func (x *CreateSviRequest) Reset()
func (*CreateSviRequest) String ¶
func (x *CreateSviRequest) String() string
type CreateVrfRequest ¶
type CreateVrfRequest struct { // The ID to use for the vrf, which will become the final component of // the vrf's resource name. // // This value should be 4-63 characters, and valid characters // are /[a-z][0-9]-/. // If this is not provided the system will auto-generate it. VrfId string `protobuf:"bytes,1,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` // The vrf to create Vrf *Vrf `protobuf:"bytes,2,opt,name=vrf,proto3" json:"vrf,omitempty"` // contains filtered or unexported fields }
CreateVrfRequest structure
func (*CreateVrfRequest) Descriptor
deprecated
func (*CreateVrfRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVrfRequest.ProtoReflect.Descriptor instead.
func (*CreateVrfRequest) GetVrf ¶
func (x *CreateVrfRequest) GetVrf() *Vrf
func (*CreateVrfRequest) GetVrfId ¶
func (x *CreateVrfRequest) GetVrfId() string
func (*CreateVrfRequest) ProtoMessage ¶
func (*CreateVrfRequest) ProtoMessage()
func (*CreateVrfRequest) ProtoReflect ¶
func (x *CreateVrfRequest) ProtoReflect() protoreflect.Message
func (*CreateVrfRequest) Reset ¶
func (x *CreateVrfRequest) Reset()
func (*CreateVrfRequest) String ¶
func (x *CreateVrfRequest) String() string
type DeleteBridgePortRequest ¶
type DeleteBridgePortRequest struct { // The name of the bridge port to retrieve // Format: bridgePorts/{bridge_port} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If set to true, and the resource is not found, the request will succeed // but no action will be taken on the server AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
DeleteBridgePortRequest structure
func (*DeleteBridgePortRequest) Descriptor
deprecated
func (*DeleteBridgePortRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBridgePortRequest.ProtoReflect.Descriptor instead.
func (*DeleteBridgePortRequest) GetAllowMissing ¶
func (x *DeleteBridgePortRequest) GetAllowMissing() bool
func (*DeleteBridgePortRequest) GetName ¶
func (x *DeleteBridgePortRequest) GetName() string
func (*DeleteBridgePortRequest) ProtoMessage ¶
func (*DeleteBridgePortRequest) ProtoMessage()
func (*DeleteBridgePortRequest) ProtoReflect ¶
func (x *DeleteBridgePortRequest) ProtoReflect() protoreflect.Message
func (*DeleteBridgePortRequest) Reset ¶
func (x *DeleteBridgePortRequest) Reset()
func (*DeleteBridgePortRequest) String ¶
func (x *DeleteBridgePortRequest) String() string
type DeleteLogicalBridgeRequest ¶
type DeleteLogicalBridgeRequest struct { // The name of the logical bridge to retrieve // Format: logicalBridges/{logical_bridge} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If set to true, and the resource is not found, the request will succeed // but no action will be taken on the server AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
DeleteLogicalBridgeRequest structure
func (*DeleteLogicalBridgeRequest) Descriptor
deprecated
func (*DeleteLogicalBridgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLogicalBridgeRequest.ProtoReflect.Descriptor instead.
func (*DeleteLogicalBridgeRequest) GetAllowMissing ¶
func (x *DeleteLogicalBridgeRequest) GetAllowMissing() bool
func (*DeleteLogicalBridgeRequest) GetName ¶
func (x *DeleteLogicalBridgeRequest) GetName() string
func (*DeleteLogicalBridgeRequest) ProtoMessage ¶
func (*DeleteLogicalBridgeRequest) ProtoMessage()
func (*DeleteLogicalBridgeRequest) ProtoReflect ¶
func (x *DeleteLogicalBridgeRequest) ProtoReflect() protoreflect.Message
func (*DeleteLogicalBridgeRequest) Reset ¶
func (x *DeleteLogicalBridgeRequest) Reset()
func (*DeleteLogicalBridgeRequest) String ¶
func (x *DeleteLogicalBridgeRequest) String() string
type DeleteSviRequest ¶
type DeleteSviRequest struct { // The name of the svi to delete // Format: svis/{svi} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If set to true, and the resource is not found, the request will succeed // but no action will be taken on the server AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
DeleteSviRequest structure
func (*DeleteSviRequest) Descriptor
deprecated
func (*DeleteSviRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSviRequest.ProtoReflect.Descriptor instead.
func (*DeleteSviRequest) GetAllowMissing ¶
func (x *DeleteSviRequest) GetAllowMissing() bool
func (*DeleteSviRequest) GetName ¶
func (x *DeleteSviRequest) GetName() string
func (*DeleteSviRequest) ProtoMessage ¶
func (*DeleteSviRequest) ProtoMessage()
func (*DeleteSviRequest) ProtoReflect ¶
func (x *DeleteSviRequest) ProtoReflect() protoreflect.Message
func (*DeleteSviRequest) Reset ¶
func (x *DeleteSviRequest) Reset()
func (*DeleteSviRequest) String ¶
func (x *DeleteSviRequest) String() string
type DeleteVrfRequest ¶
type DeleteVrfRequest struct { // The name of the vrf to delete // Format: vrfs/{vrf} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If set to true, and the resource is not found, the request will succeed // but no action will be taken on the server AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
DeleteVrfRequest structure
func (*DeleteVrfRequest) Descriptor
deprecated
func (*DeleteVrfRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVrfRequest.ProtoReflect.Descriptor instead.
func (*DeleteVrfRequest) GetAllowMissing ¶
func (x *DeleteVrfRequest) GetAllowMissing() bool
func (*DeleteVrfRequest) GetName ¶
func (x *DeleteVrfRequest) GetName() string
func (*DeleteVrfRequest) ProtoMessage ¶
func (*DeleteVrfRequest) ProtoMessage()
func (*DeleteVrfRequest) ProtoReflect ¶
func (x *DeleteVrfRequest) ProtoReflect() protoreflect.Message
func (*DeleteVrfRequest) Reset ¶
func (x *DeleteVrfRequest) Reset()
func (*DeleteVrfRequest) String ¶
func (x *DeleteVrfRequest) String() string
type GetBridgePortRequest ¶
type GetBridgePortRequest struct { // The name of the bridge port to retrieve // Format: bridgePorts/{bridge_port} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetBridgePortRequest structure
func (*GetBridgePortRequest) Descriptor
deprecated
func (*GetBridgePortRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBridgePortRequest.ProtoReflect.Descriptor instead.
func (*GetBridgePortRequest) GetName ¶
func (x *GetBridgePortRequest) GetName() string
func (*GetBridgePortRequest) ProtoMessage ¶
func (*GetBridgePortRequest) ProtoMessage()
func (*GetBridgePortRequest) ProtoReflect ¶
func (x *GetBridgePortRequest) ProtoReflect() protoreflect.Message
func (*GetBridgePortRequest) Reset ¶
func (x *GetBridgePortRequest) Reset()
func (*GetBridgePortRequest) String ¶
func (x *GetBridgePortRequest) String() string
type GetLogicalBridgeRequest ¶
type GetLogicalBridgeRequest struct { // The name of the logical bridge to retrieve // Format: logicalBridges/{logical_bridge} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetLogicalBridgeRequest structure
func (*GetLogicalBridgeRequest) Descriptor
deprecated
func (*GetLogicalBridgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogicalBridgeRequest.ProtoReflect.Descriptor instead.
func (*GetLogicalBridgeRequest) GetName ¶
func (x *GetLogicalBridgeRequest) GetName() string
func (*GetLogicalBridgeRequest) ProtoMessage ¶
func (*GetLogicalBridgeRequest) ProtoMessage()
func (*GetLogicalBridgeRequest) ProtoReflect ¶
func (x *GetLogicalBridgeRequest) ProtoReflect() protoreflect.Message
func (*GetLogicalBridgeRequest) Reset ¶
func (x *GetLogicalBridgeRequest) Reset()
func (*GetLogicalBridgeRequest) String ¶
func (x *GetLogicalBridgeRequest) String() string
type GetSviRequest ¶
type GetSviRequest struct { // The name of the svi to retrieve // Format: svis/{svi} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetSviRequest structure
func (*GetSviRequest) Descriptor
deprecated
func (*GetSviRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSviRequest.ProtoReflect.Descriptor instead.
func (*GetSviRequest) GetName ¶
func (x *GetSviRequest) GetName() string
func (*GetSviRequest) ProtoMessage ¶
func (*GetSviRequest) ProtoMessage()
func (*GetSviRequest) ProtoReflect ¶
func (x *GetSviRequest) ProtoReflect() protoreflect.Message
func (*GetSviRequest) Reset ¶
func (x *GetSviRequest) Reset()
func (*GetSviRequest) String ¶
func (x *GetSviRequest) String() string
type GetVrfRequest ¶
type GetVrfRequest struct { // The name of the vrf to retrieve // Format: vrfs/{vrf} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetVrfRequest structure
func (*GetVrfRequest) Descriptor
deprecated
func (*GetVrfRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVrfRequest.ProtoReflect.Descriptor instead.
func (*GetVrfRequest) GetName ¶
func (x *GetVrfRequest) GetName() string
func (*GetVrfRequest) ProtoMessage ¶
func (*GetVrfRequest) ProtoMessage()
func (*GetVrfRequest) ProtoReflect ¶
func (x *GetVrfRequest) ProtoReflect() protoreflect.Message
func (*GetVrfRequest) Reset ¶
func (x *GetVrfRequest) Reset()
func (*GetVrfRequest) String ¶
func (x *GetVrfRequest) String() string
type LBOperStatus ¶
type LBOperStatus int32
LBOperStatus status reflects the operational status of a Logical Bridge
const ( // unknown LBOperStatus_LB_OPER_STATUS_UNSPECIFIED LBOperStatus = 0 // Logical Bridge is up LBOperStatus_LB_OPER_STATUS_UP LBOperStatus = 1 // Logical Bridge is down LBOperStatus_LB_OPER_STATUS_DOWN LBOperStatus = 2 // Logical Bridge is to be deleted LBOperStatus_LB_OPER_STATUS_TO_BE_DELETED LBOperStatus = 3 )
func (LBOperStatus) Descriptor ¶
func (LBOperStatus) Descriptor() protoreflect.EnumDescriptor
func (LBOperStatus) Enum ¶
func (x LBOperStatus) Enum() *LBOperStatus
func (LBOperStatus) EnumDescriptor
deprecated
func (LBOperStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use LBOperStatus.Descriptor instead.
func (LBOperStatus) Number ¶
func (x LBOperStatus) Number() protoreflect.EnumNumber
func (LBOperStatus) String ¶
func (x LBOperStatus) String() string
func (LBOperStatus) Type ¶
func (LBOperStatus) Type() protoreflect.EnumType
type ListBridgePortsRequest ¶
type ListBridgePortsRequest struct { // page size of list request PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page token of list request PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListBridgePortsRequest structure
func (*ListBridgePortsRequest) Descriptor
deprecated
func (*ListBridgePortsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBridgePortsRequest.ProtoReflect.Descriptor instead.
func (*ListBridgePortsRequest) GetPageSize ¶
func (x *ListBridgePortsRequest) GetPageSize() int32
func (*ListBridgePortsRequest) GetPageToken ¶
func (x *ListBridgePortsRequest) GetPageToken() string
func (*ListBridgePortsRequest) ProtoMessage ¶
func (*ListBridgePortsRequest) ProtoMessage()
func (*ListBridgePortsRequest) ProtoReflect ¶
func (x *ListBridgePortsRequest) ProtoReflect() protoreflect.Message
func (*ListBridgePortsRequest) Reset ¶
func (x *ListBridgePortsRequest) Reset()
func (*ListBridgePortsRequest) String ¶
func (x *ListBridgePortsRequest) String() string
type ListBridgePortsResponse ¶
type ListBridgePortsResponse struct { // List of all the bridge ports BridgePorts []*BridgePort `protobuf:"bytes,1,rep,name=bridge_ports,json=bridgePorts,proto3" json:"bridge_ports,omitempty"` // Next page token of list response NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
ListBridgePortsResponse structure
func (*ListBridgePortsResponse) Descriptor
deprecated
func (*ListBridgePortsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBridgePortsResponse.ProtoReflect.Descriptor instead.
func (*ListBridgePortsResponse) GetBridgePorts ¶
func (x *ListBridgePortsResponse) GetBridgePorts() []*BridgePort
func (*ListBridgePortsResponse) GetNextPageToken ¶
func (x *ListBridgePortsResponse) GetNextPageToken() string
func (*ListBridgePortsResponse) ProtoMessage ¶
func (*ListBridgePortsResponse) ProtoMessage()
func (*ListBridgePortsResponse) ProtoReflect ¶
func (x *ListBridgePortsResponse) ProtoReflect() protoreflect.Message
func (*ListBridgePortsResponse) Reset ¶
func (x *ListBridgePortsResponse) Reset()
func (*ListBridgePortsResponse) String ¶
func (x *ListBridgePortsResponse) String() string
type ListLogicalBridgesRequest ¶
type ListLogicalBridgesRequest struct { // page size of list request PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page token of list request PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListLogicalBridgesRequest structure
func (*ListLogicalBridgesRequest) Descriptor
deprecated
func (*ListLogicalBridgesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLogicalBridgesRequest.ProtoReflect.Descriptor instead.
func (*ListLogicalBridgesRequest) GetPageSize ¶
func (x *ListLogicalBridgesRequest) GetPageSize() int32
func (*ListLogicalBridgesRequest) GetPageToken ¶
func (x *ListLogicalBridgesRequest) GetPageToken() string
func (*ListLogicalBridgesRequest) ProtoMessage ¶
func (*ListLogicalBridgesRequest) ProtoMessage()
func (*ListLogicalBridgesRequest) ProtoReflect ¶
func (x *ListLogicalBridgesRequest) ProtoReflect() protoreflect.Message
func (*ListLogicalBridgesRequest) Reset ¶
func (x *ListLogicalBridgesRequest) Reset()
func (*ListLogicalBridgesRequest) String ¶
func (x *ListLogicalBridgesRequest) String() string
type ListLogicalBridgesResponse ¶
type ListLogicalBridgesResponse struct { // List of all the logical bridges LogicalBridges []*LogicalBridge `protobuf:"bytes,1,rep,name=logical_bridges,json=logicalBridges,proto3" json:"logical_bridges,omitempty"` // Next page token of list response NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
ListLogicalBridgesResponse structure
func (*ListLogicalBridgesResponse) Descriptor
deprecated
func (*ListLogicalBridgesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLogicalBridgesResponse.ProtoReflect.Descriptor instead.
func (*ListLogicalBridgesResponse) GetLogicalBridges ¶
func (x *ListLogicalBridgesResponse) GetLogicalBridges() []*LogicalBridge
func (*ListLogicalBridgesResponse) GetNextPageToken ¶
func (x *ListLogicalBridgesResponse) GetNextPageToken() string
func (*ListLogicalBridgesResponse) ProtoMessage ¶
func (*ListLogicalBridgesResponse) ProtoMessage()
func (*ListLogicalBridgesResponse) ProtoReflect ¶
func (x *ListLogicalBridgesResponse) ProtoReflect() protoreflect.Message
func (*ListLogicalBridgesResponse) Reset ¶
func (x *ListLogicalBridgesResponse) Reset()
func (*ListLogicalBridgesResponse) String ¶
func (x *ListLogicalBridgesResponse) String() string
type ListSvisRequest ¶
type ListSvisRequest struct { // page size of list request PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page token of list request PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListSvisRequest structure
func (*ListSvisRequest) Descriptor
deprecated
func (*ListSvisRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSvisRequest.ProtoReflect.Descriptor instead.
func (*ListSvisRequest) GetPageSize ¶
func (x *ListSvisRequest) GetPageSize() int32
func (*ListSvisRequest) GetPageToken ¶
func (x *ListSvisRequest) GetPageToken() string
func (*ListSvisRequest) ProtoMessage ¶
func (*ListSvisRequest) ProtoMessage()
func (*ListSvisRequest) ProtoReflect ¶
func (x *ListSvisRequest) ProtoReflect() protoreflect.Message
func (*ListSvisRequest) Reset ¶
func (x *ListSvisRequest) Reset()
func (*ListSvisRequest) String ¶
func (x *ListSvisRequest) String() string
type ListSvisResponse ¶
type ListSvisResponse struct { // List of all the svis Svis []*Svi `protobuf:"bytes,1,rep,name=svis,proto3" json:"svis,omitempty"` // Next page token of list response NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
ListSvisResponse structure
func (*ListSvisResponse) Descriptor
deprecated
func (*ListSvisResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSvisResponse.ProtoReflect.Descriptor instead.
func (*ListSvisResponse) GetNextPageToken ¶
func (x *ListSvisResponse) GetNextPageToken() string
func (*ListSvisResponse) GetSvis ¶
func (x *ListSvisResponse) GetSvis() []*Svi
func (*ListSvisResponse) ProtoMessage ¶
func (*ListSvisResponse) ProtoMessage()
func (*ListSvisResponse) ProtoReflect ¶
func (x *ListSvisResponse) ProtoReflect() protoreflect.Message
func (*ListSvisResponse) Reset ¶
func (x *ListSvisResponse) Reset()
func (*ListSvisResponse) String ¶
func (x *ListSvisResponse) String() string
type ListVrfsRequest ¶
type ListVrfsRequest struct { // page size of list request PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page token of list request PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListVrfsRequest structure
func (*ListVrfsRequest) Descriptor
deprecated
func (*ListVrfsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVrfsRequest.ProtoReflect.Descriptor instead.
func (*ListVrfsRequest) GetPageSize ¶
func (x *ListVrfsRequest) GetPageSize() int32
func (*ListVrfsRequest) GetPageToken ¶
func (x *ListVrfsRequest) GetPageToken() string
func (*ListVrfsRequest) ProtoMessage ¶
func (*ListVrfsRequest) ProtoMessage()
func (*ListVrfsRequest) ProtoReflect ¶
func (x *ListVrfsRequest) ProtoReflect() protoreflect.Message
func (*ListVrfsRequest) Reset ¶
func (x *ListVrfsRequest) Reset()
func (*ListVrfsRequest) String ¶
func (x *ListVrfsRequest) String() string
type ListVrfsResponse ¶
type ListVrfsResponse struct { // List of all the vrfs Vrfs []*Vrf `protobuf:"bytes,1,rep,name=vrfs,proto3" json:"vrfs,omitempty"` // Next page token of list response NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
ListVrfsResponse structure
func (*ListVrfsResponse) Descriptor
deprecated
func (*ListVrfsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVrfsResponse.ProtoReflect.Descriptor instead.
func (*ListVrfsResponse) GetNextPageToken ¶
func (x *ListVrfsResponse) GetNextPageToken() string
func (*ListVrfsResponse) GetVrfs ¶
func (x *ListVrfsResponse) GetVrfs() []*Vrf
func (*ListVrfsResponse) ProtoMessage ¶
func (*ListVrfsResponse) ProtoMessage()
func (*ListVrfsResponse) ProtoReflect ¶
func (x *ListVrfsResponse) ProtoReflect() protoreflect.Message
func (*ListVrfsResponse) Reset ¶
func (x *ListVrfsResponse) Reset()
func (*ListVrfsResponse) String ¶
func (x *ListVrfsResponse) String() string
type LogicalBridge ¶
type LogicalBridge struct { // The resource name of the Logical Bridge. // "name" is an opaque object handle that is not user settable. // "name" will be returned with created object // user can only set {resource}_id on the Create request object // Format: logicalBridges/{logical_bridge} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Logical Bridge network configuration Spec *LogicalBridgeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // Logical Bridge network status Status *LogicalBridgeStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Logical Bridge network configuration and status
func (*LogicalBridge) Descriptor
deprecated
func (*LogicalBridge) Descriptor() ([]byte, []int)
Deprecated: Use LogicalBridge.ProtoReflect.Descriptor instead.
func (*LogicalBridge) GetName ¶
func (x *LogicalBridge) GetName() string
func (*LogicalBridge) GetSpec ¶
func (x *LogicalBridge) GetSpec() *LogicalBridgeSpec
func (*LogicalBridge) GetStatus ¶
func (x *LogicalBridge) GetStatus() *LogicalBridgeStatus
func (*LogicalBridge) ProtoMessage ¶
func (*LogicalBridge) ProtoMessage()
func (*LogicalBridge) ProtoReflect ¶
func (x *LogicalBridge) ProtoReflect() protoreflect.Message
func (*LogicalBridge) Reset ¶
func (x *LogicalBridge) Reset()
func (*LogicalBridge) String ¶
func (x *LogicalBridge) String() string
type LogicalBridgeServiceClient ¶
type LogicalBridgeServiceClient interface { // Create a Logical Bridge CreateLogicalBridge(ctx context.Context, in *CreateLogicalBridgeRequest, opts ...grpc.CallOption) (*LogicalBridge, error) // List Logical Bridges ListLogicalBridges(ctx context.Context, in *ListLogicalBridgesRequest, opts ...grpc.CallOption) (*ListLogicalBridgesResponse, error) // Retrieve a Logical Bridge GetLogicalBridge(ctx context.Context, in *GetLogicalBridgeRequest, opts ...grpc.CallOption) (*LogicalBridge, error) // Delete a Logical Bridge DeleteLogicalBridge(ctx context.Context, in *DeleteLogicalBridgeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update a Logical Bridge UpdateLogicalBridge(ctx context.Context, in *UpdateLogicalBridgeRequest, opts ...grpc.CallOption) (*LogicalBridge, error) }
LogicalBridgeServiceClient is the client API for LogicalBridgeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLogicalBridgeServiceClient ¶
func NewLogicalBridgeServiceClient(cc grpc.ClientConnInterface) LogicalBridgeServiceClient
type LogicalBridgeServiceServer ¶
type LogicalBridgeServiceServer interface { // Create a Logical Bridge CreateLogicalBridge(context.Context, *CreateLogicalBridgeRequest) (*LogicalBridge, error) // List Logical Bridges ListLogicalBridges(context.Context, *ListLogicalBridgesRequest) (*ListLogicalBridgesResponse, error) // Retrieve a Logical Bridge GetLogicalBridge(context.Context, *GetLogicalBridgeRequest) (*LogicalBridge, error) // Delete a Logical Bridge DeleteLogicalBridge(context.Context, *DeleteLogicalBridgeRequest) (*emptypb.Empty, error) // Update a Logical Bridge UpdateLogicalBridge(context.Context, *UpdateLogicalBridgeRequest) (*LogicalBridge, error) // contains filtered or unexported methods }
LogicalBridgeServiceServer is the server API for LogicalBridgeService service. All implementations must embed UnimplementedLogicalBridgeServiceServer for forward compatibility
type LogicalBridgeSpec ¶
type LogicalBridgeSpec struct { // the VLAN of the L2 domain // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: vlan cannot be negative number. --) VlanId uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // VXLAN VNI for the L2 EVPN. Also used as EVPN route target // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: vni cannot be negative number. --) Vni *uint32 `protobuf:"varint,2,opt,name=vni,proto3,oneof" json:"vni,omitempty"` // IPv4 or IPv6 IP address prefix for the VXLAN TEP VtepIpPrefix *_go.IPPrefix `protobuf:"bytes,3,opt,name=vtep_ip_prefix,json=vtepIpPrefix,proto3" json:"vtep_ip_prefix,omitempty"` // contains filtered or unexported fields }
Logical Bridge network configuration
func (*LogicalBridgeSpec) Descriptor
deprecated
func (*LogicalBridgeSpec) Descriptor() ([]byte, []int)
Deprecated: Use LogicalBridgeSpec.ProtoReflect.Descriptor instead.
func (*LogicalBridgeSpec) GetVlanId ¶
func (x *LogicalBridgeSpec) GetVlanId() uint32
func (*LogicalBridgeSpec) GetVni ¶
func (x *LogicalBridgeSpec) GetVni() uint32
func (*LogicalBridgeSpec) GetVtepIpPrefix ¶
func (x *LogicalBridgeSpec) GetVtepIpPrefix() *_go.IPPrefix
func (*LogicalBridgeSpec) ProtoMessage ¶
func (*LogicalBridgeSpec) ProtoMessage()
func (*LogicalBridgeSpec) ProtoReflect ¶
func (x *LogicalBridgeSpec) ProtoReflect() protoreflect.Message
func (*LogicalBridgeSpec) Reset ¶
func (x *LogicalBridgeSpec) Reset()
func (*LogicalBridgeSpec) String ¶
func (x *LogicalBridgeSpec) String() string
type LogicalBridgeStatus ¶
type LogicalBridgeStatus struct { // operational state of a Logical Bridge OperStatus LBOperStatus `` /* 143-byte string literal not displayed */ // status of the components Components []*Component `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
operational status of a Logical Bridge
func (*LogicalBridgeStatus) Descriptor
deprecated
func (*LogicalBridgeStatus) Descriptor() ([]byte, []int)
Deprecated: Use LogicalBridgeStatus.ProtoReflect.Descriptor instead.
func (*LogicalBridgeStatus) GetComponents ¶
func (x *LogicalBridgeStatus) GetComponents() []*Component
func (*LogicalBridgeStatus) GetOperStatus ¶
func (x *LogicalBridgeStatus) GetOperStatus() LBOperStatus
func (*LogicalBridgeStatus) ProtoMessage ¶
func (*LogicalBridgeStatus) ProtoMessage()
func (*LogicalBridgeStatus) ProtoReflect ¶
func (x *LogicalBridgeStatus) ProtoReflect() protoreflect.Message
func (*LogicalBridgeStatus) Reset ¶
func (x *LogicalBridgeStatus) Reset()
func (*LogicalBridgeStatus) String ¶
func (x *LogicalBridgeStatus) String() string
type SVIOperStatus ¶
type SVIOperStatus int32
SVIOperStatus status reflects the operational status of a Svi
const ( // unknown SVIOperStatus_SVI_OPER_STATUS_UNSPECIFIED SVIOperStatus = 0 // Svi is up SVIOperStatus_SVI_OPER_STATUS_UP SVIOperStatus = 1 // Svi is down SVIOperStatus_SVI_OPER_STATUS_DOWN SVIOperStatus = 2 // Svi is to be deleted SVIOperStatus_SVI_OPER_STATUS_TO_BE_DELETED SVIOperStatus = 3 )
func (SVIOperStatus) Descriptor ¶
func (SVIOperStatus) Descriptor() protoreflect.EnumDescriptor
func (SVIOperStatus) Enum ¶
func (x SVIOperStatus) Enum() *SVIOperStatus
func (SVIOperStatus) EnumDescriptor
deprecated
func (SVIOperStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SVIOperStatus.Descriptor instead.
func (SVIOperStatus) Number ¶
func (x SVIOperStatus) Number() protoreflect.EnumNumber
func (SVIOperStatus) String ¶
func (x SVIOperStatus) String() string
func (SVIOperStatus) Type ¶
func (SVIOperStatus) Type() protoreflect.EnumType
type Svi ¶
type Svi struct { // The resource name of the Svi. // "name" is an opaque object handle that is not user settable. // "name" will be returned with created object // user can only set {resource}_id on the Create request object // Format: svis/{svi} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Svi's network configuration Spec *SviSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // Svi's network status Status *SviStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Svi network configuration
func (*Svi) Descriptor
deprecated
func (*Svi) ProtoMessage ¶
func (*Svi) ProtoMessage()
func (*Svi) ProtoReflect ¶
func (x *Svi) ProtoReflect() protoreflect.Message
type SviServiceClient ¶
type SviServiceClient interface { // Create a Svi CreateSvi(ctx context.Context, in *CreateSviRequest, opts ...grpc.CallOption) (*Svi, error) // List Svis ListSvis(ctx context.Context, in *ListSvisRequest, opts ...grpc.CallOption) (*ListSvisResponse, error) // Retrieve a Svi GetSvi(ctx context.Context, in *GetSviRequest, opts ...grpc.CallOption) (*Svi, error) // Delete a Svi DeleteSvi(ctx context.Context, in *DeleteSviRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update a Svi UpdateSvi(ctx context.Context, in *UpdateSviRequest, opts ...grpc.CallOption) (*Svi, error) }
SviServiceClient is the client API for SviService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSviServiceClient ¶
func NewSviServiceClient(cc grpc.ClientConnInterface) SviServiceClient
type SviServiceServer ¶
type SviServiceServer interface { // Create a Svi CreateSvi(context.Context, *CreateSviRequest) (*Svi, error) // List Svis ListSvis(context.Context, *ListSvisRequest) (*ListSvisResponse, error) // Retrieve a Svi GetSvi(context.Context, *GetSviRequest) (*Svi, error) // Delete a Svi DeleteSvi(context.Context, *DeleteSviRequest) (*emptypb.Empty, error) // Update a Svi UpdateSvi(context.Context, *UpdateSviRequest) (*Svi, error) // contains filtered or unexported methods }
SviServiceServer is the server API for SviService service. All implementations must embed UnimplementedSviServiceServer for forward compatibility
type SviSpec ¶
type SviSpec struct { // Vrf name // Format is `vrfs/{vrf}` Vrf string `protobuf:"bytes,1,opt,name=vrf,proto3" json:"vrf,omitempty"` // Logical Bridge name // Format is `logicalBridges/{logical_bridge}` LogicalBridge string `protobuf:"bytes,2,opt,name=logical_bridge,json=logicalBridge,proto3" json:"logical_bridge,omitempty"` // Svi's MAC address. MacAddress []byte `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // The GW IP addresses assigned to the SVI GwIpPrefix []*_go.IPPrefix `protobuf:"bytes,4,rep,name=gw_ip_prefix,json=gwIpPrefix,proto3" json:"gw_ip_prefix,omitempty"` // Set to true to enable BGP peering with Vrf on Svi EnableBgp bool `protobuf:"varint,5,opt,name=enable_bgp,json=enableBgp,proto3" json:"enable_bgp,omitempty"` // Conditional: The remote AS used by BGP speakers on LB (1-65535) // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: remote_as cannot be negative number. --) RemoteAs uint32 `protobuf:"varint,6,opt,name=remote_as,json=remoteAs,proto3" json:"remote_as,omitempty"` // contains filtered or unexported fields }
Svi's network configuration
func (*SviSpec) Descriptor
deprecated
func (*SviSpec) GetEnableBgp ¶
func (*SviSpec) GetGwIpPrefix ¶
func (*SviSpec) GetLogicalBridge ¶
func (*SviSpec) GetMacAddress ¶
func (*SviSpec) GetRemoteAs ¶
func (*SviSpec) ProtoMessage ¶
func (*SviSpec) ProtoMessage()
func (*SviSpec) ProtoReflect ¶
func (x *SviSpec) ProtoReflect() protoreflect.Message
type SviStatus ¶
type SviStatus struct { // operational status of a Svi OperStatus SVIOperStatus `` /* 144-byte string literal not displayed */ // status of the components Components []*Component `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
operational status of a Svi
func (*SviStatus) Descriptor
deprecated
func (*SviStatus) GetComponents ¶
func (*SviStatus) GetOperStatus ¶
func (x *SviStatus) GetOperStatus() SVIOperStatus
func (*SviStatus) ProtoMessage ¶
func (*SviStatus) ProtoMessage()
func (*SviStatus) ProtoReflect ¶
func (x *SviStatus) ProtoReflect() protoreflect.Message
type UnimplementedBridgePortServiceServer ¶
type UnimplementedBridgePortServiceServer struct { }
UnimplementedBridgePortServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBridgePortServiceServer) CreateBridgePort ¶
func (UnimplementedBridgePortServiceServer) CreateBridgePort(context.Context, *CreateBridgePortRequest) (*BridgePort, error)
func (UnimplementedBridgePortServiceServer) DeleteBridgePort ¶
func (UnimplementedBridgePortServiceServer) DeleteBridgePort(context.Context, *DeleteBridgePortRequest) (*emptypb.Empty, error)
func (UnimplementedBridgePortServiceServer) GetBridgePort ¶
func (UnimplementedBridgePortServiceServer) GetBridgePort(context.Context, *GetBridgePortRequest) (*BridgePort, error)
func (UnimplementedBridgePortServiceServer) ListBridgePorts ¶
func (UnimplementedBridgePortServiceServer) ListBridgePorts(context.Context, *ListBridgePortsRequest) (*ListBridgePortsResponse, error)
func (UnimplementedBridgePortServiceServer) UpdateBridgePort ¶
func (UnimplementedBridgePortServiceServer) UpdateBridgePort(context.Context, *UpdateBridgePortRequest) (*BridgePort, error)
type UnimplementedLogicalBridgeServiceServer ¶
type UnimplementedLogicalBridgeServiceServer struct { }
UnimplementedLogicalBridgeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLogicalBridgeServiceServer) CreateLogicalBridge ¶
func (UnimplementedLogicalBridgeServiceServer) CreateLogicalBridge(context.Context, *CreateLogicalBridgeRequest) (*LogicalBridge, error)
func (UnimplementedLogicalBridgeServiceServer) DeleteLogicalBridge ¶
func (UnimplementedLogicalBridgeServiceServer) DeleteLogicalBridge(context.Context, *DeleteLogicalBridgeRequest) (*emptypb.Empty, error)
func (UnimplementedLogicalBridgeServiceServer) GetLogicalBridge ¶
func (UnimplementedLogicalBridgeServiceServer) GetLogicalBridge(context.Context, *GetLogicalBridgeRequest) (*LogicalBridge, error)
func (UnimplementedLogicalBridgeServiceServer) ListLogicalBridges ¶
func (UnimplementedLogicalBridgeServiceServer) ListLogicalBridges(context.Context, *ListLogicalBridgesRequest) (*ListLogicalBridgesResponse, error)
func (UnimplementedLogicalBridgeServiceServer) UpdateLogicalBridge ¶
func (UnimplementedLogicalBridgeServiceServer) UpdateLogicalBridge(context.Context, *UpdateLogicalBridgeRequest) (*LogicalBridge, error)
type UnimplementedSviServiceServer ¶
type UnimplementedSviServiceServer struct { }
UnimplementedSviServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSviServiceServer) CreateSvi ¶
func (UnimplementedSviServiceServer) CreateSvi(context.Context, *CreateSviRequest) (*Svi, error)
func (UnimplementedSviServiceServer) DeleteSvi ¶
func (UnimplementedSviServiceServer) DeleteSvi(context.Context, *DeleteSviRequest) (*emptypb.Empty, error)
func (UnimplementedSviServiceServer) GetSvi ¶
func (UnimplementedSviServiceServer) GetSvi(context.Context, *GetSviRequest) (*Svi, error)
func (UnimplementedSviServiceServer) ListSvis ¶
func (UnimplementedSviServiceServer) ListSvis(context.Context, *ListSvisRequest) (*ListSvisResponse, error)
func (UnimplementedSviServiceServer) UpdateSvi ¶
func (UnimplementedSviServiceServer) UpdateSvi(context.Context, *UpdateSviRequest) (*Svi, error)
type UnimplementedVrfServiceServer ¶
type UnimplementedVrfServiceServer struct { }
UnimplementedVrfServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedVrfServiceServer) CreateVrf ¶
func (UnimplementedVrfServiceServer) CreateVrf(context.Context, *CreateVrfRequest) (*Vrf, error)
func (UnimplementedVrfServiceServer) DeleteVrf ¶
func (UnimplementedVrfServiceServer) DeleteVrf(context.Context, *DeleteVrfRequest) (*emptypb.Empty, error)
func (UnimplementedVrfServiceServer) GetVrf ¶
func (UnimplementedVrfServiceServer) GetVrf(context.Context, *GetVrfRequest) (*Vrf, error)
func (UnimplementedVrfServiceServer) ListVrfs ¶
func (UnimplementedVrfServiceServer) ListVrfs(context.Context, *ListVrfsRequest) (*ListVrfsResponse, error)
func (UnimplementedVrfServiceServer) UpdateVrf ¶
func (UnimplementedVrfServiceServer) UpdateVrf(context.Context, *UpdateVrfRequest) (*Vrf, error)
type UnsafeBridgePortServiceServer ¶
type UnsafeBridgePortServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBridgePortServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BridgePortServiceServer will result in compilation errors.
type UnsafeLogicalBridgeServiceServer ¶
type UnsafeLogicalBridgeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLogicalBridgeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogicalBridgeServiceServer will result in compilation errors.
type UnsafeSviServiceServer ¶
type UnsafeSviServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSviServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SviServiceServer will result in compilation errors.
type UnsafeVrfServiceServer ¶
type UnsafeVrfServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVrfServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VrfServiceServer will result in compilation errors.
type UpdateBridgePortRequest ¶
type UpdateBridgePortRequest struct { // The object's `name` field is used to identify the object to be updated. BridgePort *BridgePort `protobuf:"bytes,1,opt,name=bridge_port,json=bridgePort,proto3" json:"bridge_port,omitempty"` // The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the object is not found, a new object will be created. // In this situation, `update_mask` is ignored. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
UpdateBridgePortRequest structure
func (*UpdateBridgePortRequest) Descriptor
deprecated
func (*UpdateBridgePortRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBridgePortRequest.ProtoReflect.Descriptor instead.
func (*UpdateBridgePortRequest) GetAllowMissing ¶
func (x *UpdateBridgePortRequest) GetAllowMissing() bool
func (*UpdateBridgePortRequest) GetBridgePort ¶
func (x *UpdateBridgePortRequest) GetBridgePort() *BridgePort
func (*UpdateBridgePortRequest) GetUpdateMask ¶
func (x *UpdateBridgePortRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBridgePortRequest) ProtoMessage ¶
func (*UpdateBridgePortRequest) ProtoMessage()
func (*UpdateBridgePortRequest) ProtoReflect ¶
func (x *UpdateBridgePortRequest) ProtoReflect() protoreflect.Message
func (*UpdateBridgePortRequest) Reset ¶
func (x *UpdateBridgePortRequest) Reset()
func (*UpdateBridgePortRequest) String ¶
func (x *UpdateBridgePortRequest) String() string
type UpdateLogicalBridgeRequest ¶
type UpdateLogicalBridgeRequest struct { // The object's `name` field is used to identify the object to be updated. LogicalBridge *LogicalBridge `protobuf:"bytes,1,opt,name=logical_bridge,json=logicalBridge,proto3" json:"logical_bridge,omitempty"` // The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the object is not found, a new object will be created. // In this situation, `update_mask` is ignored. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
UpdateLogicalBridgeRequest structure
func (*UpdateLogicalBridgeRequest) Descriptor
deprecated
func (*UpdateLogicalBridgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLogicalBridgeRequest.ProtoReflect.Descriptor instead.
func (*UpdateLogicalBridgeRequest) GetAllowMissing ¶
func (x *UpdateLogicalBridgeRequest) GetAllowMissing() bool
func (*UpdateLogicalBridgeRequest) GetLogicalBridge ¶
func (x *UpdateLogicalBridgeRequest) GetLogicalBridge() *LogicalBridge
func (*UpdateLogicalBridgeRequest) GetUpdateMask ¶
func (x *UpdateLogicalBridgeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateLogicalBridgeRequest) ProtoMessage ¶
func (*UpdateLogicalBridgeRequest) ProtoMessage()
func (*UpdateLogicalBridgeRequest) ProtoReflect ¶
func (x *UpdateLogicalBridgeRequest) ProtoReflect() protoreflect.Message
func (*UpdateLogicalBridgeRequest) Reset ¶
func (x *UpdateLogicalBridgeRequest) Reset()
func (*UpdateLogicalBridgeRequest) String ¶
func (x *UpdateLogicalBridgeRequest) String() string
type UpdateSviRequest ¶
type UpdateSviRequest struct { // The object's `name` field is used to identify the object to be updated. Svi *Svi `protobuf:"bytes,1,opt,name=svi,proto3" json:"svi,omitempty"` // The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the object is not found, a new object will be created. // In this situation, `update_mask` is ignored. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
UpdateSviRequest structure
func (*UpdateSviRequest) Descriptor
deprecated
func (*UpdateSviRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSviRequest.ProtoReflect.Descriptor instead.
func (*UpdateSviRequest) GetAllowMissing ¶
func (x *UpdateSviRequest) GetAllowMissing() bool
func (*UpdateSviRequest) GetSvi ¶
func (x *UpdateSviRequest) GetSvi() *Svi
func (*UpdateSviRequest) GetUpdateMask ¶
func (x *UpdateSviRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSviRequest) ProtoMessage ¶
func (*UpdateSviRequest) ProtoMessage()
func (*UpdateSviRequest) ProtoReflect ¶
func (x *UpdateSviRequest) ProtoReflect() protoreflect.Message
func (*UpdateSviRequest) Reset ¶
func (x *UpdateSviRequest) Reset()
func (*UpdateSviRequest) String ¶
func (x *UpdateSviRequest) String() string
type UpdateVrfRequest ¶
type UpdateVrfRequest struct { // The object's `name` field is used to identify the object to be updated. Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf,proto3" json:"vrf,omitempty"` // The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If set to true, and the object is not found, a new object will be created. // In this situation, `update_mask` is ignored. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
UpdateVrfRequest structure
func (*UpdateVrfRequest) Descriptor
deprecated
func (*UpdateVrfRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVrfRequest.ProtoReflect.Descriptor instead.
func (*UpdateVrfRequest) GetAllowMissing ¶
func (x *UpdateVrfRequest) GetAllowMissing() bool
func (*UpdateVrfRequest) GetUpdateMask ¶
func (x *UpdateVrfRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVrfRequest) GetVrf ¶
func (x *UpdateVrfRequest) GetVrf() *Vrf
func (*UpdateVrfRequest) ProtoMessage ¶
func (*UpdateVrfRequest) ProtoMessage()
func (*UpdateVrfRequest) ProtoReflect ¶
func (x *UpdateVrfRequest) ProtoReflect() protoreflect.Message
func (*UpdateVrfRequest) Reset ¶
func (x *UpdateVrfRequest) Reset()
func (*UpdateVrfRequest) String ¶
func (x *UpdateVrfRequest) String() string
type VRFOperStatus ¶
type VRFOperStatus int32
VRFOperStatus status reflects the operational status of a Vrf
const ( // unknown VRFOperStatus_VRF_OPER_STATUS_UNSPECIFIED VRFOperStatus = 0 // Vrf is up VRFOperStatus_VRF_OPER_STATUS_UP VRFOperStatus = 1 // Vrf is down VRFOperStatus_VRF_OPER_STATUS_DOWN VRFOperStatus = 2 // Vrf is to be deleted VRFOperStatus_VRF_OPER_STATUS_TO_BE_DELETED VRFOperStatus = 3 )
func (VRFOperStatus) Descriptor ¶
func (VRFOperStatus) Descriptor() protoreflect.EnumDescriptor
func (VRFOperStatus) Enum ¶
func (x VRFOperStatus) Enum() *VRFOperStatus
func (VRFOperStatus) EnumDescriptor
deprecated
func (VRFOperStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use VRFOperStatus.Descriptor instead.
func (VRFOperStatus) Number ¶
func (x VRFOperStatus) Number() protoreflect.EnumNumber
func (VRFOperStatus) String ¶
func (x VRFOperStatus) String() string
func (VRFOperStatus) Type ¶
func (VRFOperStatus) Type() protoreflect.EnumType
type Vrf ¶
type Vrf struct { // The resource name of the Vrf. // "name" is an opaque object handle that is not user settable. // "name" will be returned with created object // user can only set {resource}_id on the Create request object // Format: vrfs/{vrf} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Vrf's network configuration Spec *VrfSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // Vrf's network status Status *VrfStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Vrf level network configuration
func (*Vrf) Descriptor
deprecated
func (*Vrf) ProtoMessage ¶
func (*Vrf) ProtoMessage()
func (*Vrf) ProtoReflect ¶
func (x *Vrf) ProtoReflect() protoreflect.Message
type VrfServiceClient ¶
type VrfServiceClient interface { // Create a Vrf CreateVrf(ctx context.Context, in *CreateVrfRequest, opts ...grpc.CallOption) (*Vrf, error) // List Vrfs ListVrfs(ctx context.Context, in *ListVrfsRequest, opts ...grpc.CallOption) (*ListVrfsResponse, error) // Retrieve a Vrf GetVrf(ctx context.Context, in *GetVrfRequest, opts ...grpc.CallOption) (*Vrf, error) // Delete a Vrf DeleteVrf(ctx context.Context, in *DeleteVrfRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update a Vrf UpdateVrf(ctx context.Context, in *UpdateVrfRequest, opts ...grpc.CallOption) (*Vrf, error) }
VrfServiceClient is the client API for VrfService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVrfServiceClient ¶
func NewVrfServiceClient(cc grpc.ClientConnInterface) VrfServiceClient
type VrfServiceServer ¶
type VrfServiceServer interface { // Create a Vrf CreateVrf(context.Context, *CreateVrfRequest) (*Vrf, error) // List Vrfs ListVrfs(context.Context, *ListVrfsRequest) (*ListVrfsResponse, error) // Retrieve a Vrf GetVrf(context.Context, *GetVrfRequest) (*Vrf, error) // Delete a Vrf DeleteVrf(context.Context, *DeleteVrfRequest) (*emptypb.Empty, error) // Update a Vrf UpdateVrf(context.Context, *UpdateVrfRequest) (*Vrf, error) // contains filtered or unexported methods }
VrfServiceServer is the server API for VrfService service. All implementations must embed UnimplementedVrfServiceServer for forward compatibility
type VrfSpec ¶
type VrfSpec struct { // VXLAN VNI for L3 EVPN. Also used as EVPN route target // (-- api-linter: core::0141::forbidden-types=disabled // // aip.dev/not-precedent: vni cannot be negative number. --) Vni *uint32 `protobuf:"varint,1,opt,name=vni,proto3,oneof" json:"vni,omitempty"` // IPv4 or IPv6 loopback address prefix. Also serves as basis for RD in FRR LoopbackIpPrefix *_go.IPPrefix `protobuf:"bytes,2,opt,name=loopback_ip_prefix,json=loopbackIpPrefix,proto3" json:"loopback_ip_prefix,omitempty"` // IPv4 or IPv6 IP address prefix for the VXLAN TEP VtepIpPrefix *_go.IPPrefix `protobuf:"bytes,3,opt,name=vtep_ip_prefix,json=vtepIpPrefix,proto3" json:"vtep_ip_prefix,omitempty"` // contains filtered or unexported fields }
Vrf network configuration
func (*VrfSpec) Descriptor
deprecated
func (*VrfSpec) GetLoopbackIpPrefix ¶
func (*VrfSpec) GetVtepIpPrefix ¶
func (*VrfSpec) ProtoMessage ¶
func (*VrfSpec) ProtoMessage()
func (*VrfSpec) ProtoReflect ¶
func (x *VrfSpec) ProtoReflect() protoreflect.Message
type VrfStatus ¶
type VrfStatus struct { // operational status of a Vrf OperStatus VRFOperStatus `` /* 144-byte string literal not displayed */ // status of the components Components []*Component `protobuf:"bytes,9,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
operational status of a Vrf
func (*VrfStatus) Descriptor
deprecated
func (*VrfStatus) GetComponents ¶
func (*VrfStatus) GetOperStatus ¶
func (x *VrfStatus) GetOperStatus() VRFOperStatus
func (*VrfStatus) ProtoMessage ¶
func (*VrfStatus) ProtoMessage()
func (*VrfStatus) ProtoReflect ¶
func (x *VrfStatus) ProtoReflect() protoreflect.Message