Documentation
¶
Overview ¶
Package xconnectns provides an Endpoint implementing the SR-IOV Forwarder networks service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( ctx context.Context, name string, authzServer networkservice.NetworkServiceServer, authzMonitorConnectionServer networkservice.MonitorConnectionServer, tokenGenerator token.GeneratorFunc, pciPool resourcepool.PCIPool, resourcePool resourcepool.ResourcePool, sriovConfig *config.Config, vfioDir, cgroupBaseDir string, clientURL *url.URL, dialTimeout time.Duration, clientDialOptions ...grpc.DialOption, ) endpoint.Endpoint
NewServer - returns an Endpoint implementing the SR-IOV Forwarder networks service
- name - name of the Forwarder
- authzServer - policy for allowing or rejecting requests
- tokenGenerator - token.GeneratorFunc - generates tokens for use in Path
- pciPool - provides PCI functions
- resourcePool - provides SR-IOV resources
- sriovConfig - SR-IOV PCI functions config
- vfioDir - host /dev/vfio directory mount location
- cgroupBaseDir - host /sys/fs/cgroup/devices directory mount location
- clientUrl - *url.URL for the talking to the NSMgr
- ...clientDialOptions - dialOptions for dialing the NSMgr
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.