Closed agvarghe-cisco closed 1 year ago
@DanG100, can you take a look? If there is a problem that would be fixed by conversion to ygnmi, that would be the better fix
It looks like something with ygot, Wen's going to take a look
This leaf is set as not-supported
by a YANG file in gNSI https://github.com/openconfig/gnsi/blob/main/credentialz/gnsi-credentialz.yang#L171. It is thus not generated in the telemetry library.
@DanG100 , This is the openconfig model/leaf in context .Is this not supported model/leaf ? https://github.com/openconfig/public/blob/ddfeaf5deb4c195b32287dc2e6d48034faa19473/release/models/system/openconfig-aaa.yang#L376
That is where the leaf is original defined, however Ondatra also generates the telemetry library using the gNSI yang located here https://github.com/openconfig/gnsi. (see https://github.com/openconfig/ondatra/blob/main/internal/gnmigen/generate.sh). In the gNSI yang there is a deviation that marks the config leaf as not supported https://github.com/openconfig/gnsi/blob/c2ebf3eb57aa7fe9f5671920d5986dc86836168b/console/gnsi-console.yang#L80
@agvarghe-cisco, we'll discuss this some more and get back to you
This should be fixed with the latest commit. Let us know if you are still having issues.
Doing a replace operation on User with below test https://github.com/openconfig/featureprofiles/blob/00a6330e677c649b0c7a1fb869411905312b9812/feature/experimental/security/aaa/kne_tests/tls_authentication_over_grpc_test/tls_authentication_over_grpc_test.go#L79 In replace operation password node is coming as state leaf
Both user and password nodes should be config
Not seeing a shadow path for Password in System_Aaa_Authentication_User for config https://github.com/openconfig/ondatra/blob/d07fe7fc95393607f4ffe6f276a6d61e002b9dd3/telemetry/structs-9.go#L6929