openconfig / featureprofiles Goto Github PK
View Code? Open in Web Editor NEWFeature Profiles are groups of OpenConfig paths and tests which verify their behavior
License: Apache License 2.0
Feature Profiles are groups of OpenConfig paths and tests which verify their behavior
License: Apache License 2.0
in the .binding files if I specify any username and password, except "admin" "admin" , its not used to authenticate with the ixnetwork web api server
ixnetwork {
# Change this to the Web UI hostname, if it differs from the Ixia
# chassis name.
target: "ate-hostname"
username: "user1"
password: "password1"
skip_verify: true
}
initial ISIS feature profile
Move the feature profiles out of the experimental directory.
Originally posted by @hariramnat in #55 (comment)
Define profile and related tests
Define System NTP profile
Define profile and related tests
Add missing license headers to system profiles.
Hi all,
I think I might be seeing one issue when the gNMI server responds with EOF on Sub ONCE, client sees this as failed test.
=== RUN TestInterface/ifname/Get_Interface_Config
interface_test.go:23: Get(t) at path origin:"openconfig" elem:{name:"interfaces"} elem:{name:"interface" key:{key:"name" value:"lo0"}} elem:{name:"config"} elem:{name:"name"}: error receiving gNMI response: EOF
--- FAIL: TestInterface (0.72s)
--- FAIL: TestInterface/ifname (0.72s)
--- FAIL: TestInterface/ifname/Get_Interface_Config (0.72s)
FAIL
*** Releasing the testbed
FAIL command-line-arguments 1.075s
FAIL
When we run the current test via static binding, it creates a new RESTAPI session and then get the ports and run the tests. after test run is done, the session/port is not clean up. If we run the tests with the same port, the test may fail due to port owned by other session. If we re-use the ATE session id, it could help resolve it. Also the current NewSession way in static binding doesn't work with IXIA windows chassis but the FetchSession way works fine with IXIA windows chassis.
Define profile and initial tests.
Hi all,
This is mostly an inquiry if the only available/completed test is the one outlined in the example?
The reason for my asking is that I've noticed feature/system/tests/ using
func TestMain(m *testing.M) {
fptest.RunTests(m)
}
My understanding was that RunTest was required to create the bindings/run tests as per internal/fptest/runtests.go#L25). Does that mean that a feature_run_test.go file should be created in each feature referencing the appropriate package?
If my understanding is wrong - is there additional documentation that can assist in running these tests?
Many Thanks,
-H
Hi,
I am trying to execute "featureprofiles/feature/bgp/policybase/ate_tests/route_installation_test/route_installation_test.go" using 2 DUT and 2 ATE ports.
Test fails at the step "fptest.LogYgot(t, "DUT BGP Config before", dutConfPath, dutConfPath.Get(t))".
I have run it debugger mode and found below function is returning nil.
// Lookup fetches the value at /openconfig-network-instance/network-instances/network-instance/protocols/protocol/bgp with a ONCE subscription.
// It returns nil if there is no value present at the path.
func (n *NetworkInstance_Protocol_BgpPath) Lookup(t testing.TB) *oc.QualifiedNetworkInstance_Protocol_Bgp {
t.Helper()
goStruct := &oc.NetworkInstance_Protocol_Bgp{}
md, ok := oc.Lookup(t, n, "NetworkInstance_Protocol_Bgp", goStruct, false, true)
if ok {
return (&oc.QualifiedNetworkInstance_Protocol_Bgp{
Metadata: md,
}).SetVal(goStruct)
}
return nil
}
Thanks,
Prabha
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.