-
Notifications
You must be signed in to change notification settings - Fork 37
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
OTG-HW binding for Ondatra-featureprofile to run OTG test #36
Comments
@jasdeep-hundal @greg-dennis Would you please offer your feedback and comment on this. |
Please give us a week to review as we have current Sprint tasks that need to be complete. Added @liulk for any comments he may have on the static binding changes. |
Does ixia-c really need to run inside a container as opposed to a standalone binary? Docker seems rather heavyweight. If we can run ixia-c gnmi/snappi server, controller, and hw controller from a shell script as an unprivileged user, then the static binding can just start them on demand and use reasonable defaults for the otg/gnmi ports. By the way, the name of the dial options fields refer to the protocol or service that we expect to find there rather than the API. I know that |
As per communication with @greg-dennis This is a new docker which has a relatively lesser memory footprint compared to regular IxNetwork. I have proposed |
Yes, Greg and I also talked about this yesterday, and he brought up the possibility of running the Ixia-C docker on a different host than the test as a long running service. Also, as far as the static binding is concerned, it makes sense that the otg represents the hw chassis and therefore are synonymous. I think given that, otg seems like a reasonable name for the dial option. |
|
Please find inline comments:
Yes, user can run test from any system
No, It is not possible.
Yes,
] I feel you are referring to ( ondatra/internal/ate/topology.go Line 57 in 5011bd2
Yes, for ixia-c-hw also require similar mapping. At the same time our plan is to run OTG test against ixia-c-hw. But, if bd.Otg != nil {
p.Name = fmt.Sprintf("%s;%s", bd.Name, strings.ReplaceAll(bport.Name, "/", ";"))
} else {
p.Name = bport.Name
} As an alternative we also think to provide port location within port name ports {
id: "port1"
name: "10.39.33.143;1;1"
} |
@alakendu I think it makes sense for the port name to be rewritten to the "fully-qualified location" of the port that includes the chassis hostname/IP. Sound good? I have also filed a GoSnappi feature request that would eliminate the need for you to encode the full location in the port name: open-traffic-generator/snappi#187 |
@greg-dennis Thanks! |
Great! Closing issue as the design seems substantially resolved and reviewed. |
Requirements
Proposal
otg
within device bindingThe text was updated successfully, but these errors were encountered: