You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I have been trying to generate state Go structs (with ygot 0.24.4) for SR Linux and noticed that ygot doesn't support keys of type binary.
F0217 13:43:59.166924 21437 generator.go:376] ERROR Generating GoStruct Code: list /srl_nokia-macsec/macsec/interfaces/interface/mka/state/mka-peer has a binary key -- this is unsupported, list /srl_nokia-system/system/sync/ptp/instance/port-ds-list/neighbor-list has a binary key -- this is unsupported
Unfortunately, binary types are quite common in IETF, and some derived data elements follow IETF, for instance, sync:
typedef clock-identity-type {
typebinary {
length"8";
srl_nokia-ext:output-flavor "hex";
}
description"Identifies unique entities within a PTP Network. The identity is an 8-octet array, constructed according to specifications in IEEE Std 1588";
reference"IEEE Std 1588-2019: 5.3.4, 7.5.2.2";
}
I wonder what made ygot resistance to binary keys, given that they are encoded as base64 string
Binary values are encoded with the base64 encoding scheme (see [RFC4648], Section 4).
Hi all,
I have been trying to generate state Go structs (with ygot 0.24.4) for SR Linux and noticed that ygot doesn't support keys of type
binary
.Unfortunately, binary types are quite common in IETF, and some derived data elements follow IETF, for instance, sync:
I wonder what made ygot resistance to
binary
keys, given that they are encoded as base64 stringADD1: some refs
The text was updated successfully, but these errors were encountered: