-
I think I've found an issue with ygot in YANG models that have an `augment` inside a `uses`. I've greated a repo with a reproduction case here - https://github.com/ccakes/ygot-uses-augment
In short…
-
Hi,
Given two structs (generated with `-yangpresence=true` flag), the `ygot.Diff()` do not diff based on presence or not.
Given the struct below, where `AllowImportedVpn` is a presence contain…
-
I used ygot/generator/generator.go to generate the gostruct file using yang files as input.
I have a scenario where following heirarchy of elements causing the error.
/container/choice/case/contai…
-
Hi,
We are using YGOT for yang to go-struct conversion. I can see in generated go struct code it seems Identity type is being treated as ENUM.
Do we have support for Identity type in Ygot and if n…
-
This should use ygot.Marshal7951() with a special handling for GoStructs that have shadow paths, such that you see
```
// Human formatted GoStruct: DO NOT USE for submitting to device.
{
"open…
-
1: need to enable AF under isis interface
solution:
intf.GetOrCreateAf(telemetry.IsisTypes_AFI_TYPE_IPV4, telemetry.IsisTypes_SAFI_TYPE_UNICAST).Enabled = ygot.Bool(true)
intf.GetOrCreateAf(teleme…
-
With the current set of tools/support (YGOT & GoYang), there are 3 different ways to generate the Go Structs for a given YANG schema.
## 1 YGOT-Generator
This generates the related Go artifacts d…
-
Hi @wenovus @robshakir,
I use ygot to generate structs that I later on publish as a go package. My workflows are run in CI and currently I pin the ygot version due to gnmi 0.7 dependencies.
Ygot i…
-
Hi
My question is about reusing/referring the same the generated ygot structure in the other places of the generated code.
For example, I have a grouping called "G" which contains a container "…
-
I used ygot to convert openconfig-interfaces.yang to proto file. The value of the enum Operstatus was not properly generated by ygot. The same enum issue was observed in few other modules like lacp e…