Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test Endpoint #9

Closed
lvfxx opened this issue Jun 5, 2020 · 1 comment
Closed

Add test Endpoint #9

lvfxx opened this issue Jun 5, 2020 · 1 comment

Comments

@lvfxx
Copy link
Member

lvfxx commented Jun 5, 2020

Add test Endpoint which accepts Request with the following parameters

  1. Connection.NetworkService - the name of the requested network service
  2. Request.MechanismPreferences[].PCIAddress - each Mechanism(Kernel or VFIO) in MechanismPreferences has PCIAddress field that contains PCI address of physical function that is available on the Forwarder.

Endpoint selects one of the provided PCI addresses in the availablePorts and returns Connection with the following parameters:

  1. Mechanism.PCIAddress - selected PCIAddress.

Endpoint config example

resources:
-  res1:
    networkServiceName: service1.example.com
    sourceHostName: example.org
    sourcePCIAddress: 0000:01:00:0
    capability: 10G
    targetMACAddress: 00:0a:95:9d:68:16
-  res 2:
    networkServiceName: service2.example.com
    sourceHostName: example.org
    sourcePCIAddress: 0000:02:00:0
    capability: 100G
    targetMACAddress: 00:1b:44:11:3a:b7
@Bolodya1997
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants