Skip to content

Commit

Permalink
Merge pull request #9 from openconfig/update-oc
Browse files Browse the repository at this point in the history
Update OC due to backwards-incompatible change from ygot.
  • Loading branch information
wenovus committed Apr 14, 2022
2 parents 16256df + 36f6943 commit 718851b
Show file tree
Hide file tree
Showing 5 changed files with 8,652 additions and 7,353 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ output it as gNMI Notifications containing OpenConfig encoded data.
Two public APIs are provided:

* `ISISBytesToLSP([]byte, int)`: takes an input byte array containing an IS-IS
PDU beginning at the LSP ID field, and returns a ygot GoStruct containing the
PDU beginning at the LSP ID field, and returns a ygot.ValidatedGoStruct containing the
parsed LSP as per the OpenConfig schema, a bool indicating whether the LSP was
succesfully parsed, and an error.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ require (
github.com/kylelemons/godebug v1.1.0
github.com/openconfig/gnmi v0.0.0-20200508230933-d19cebf5e7be
github.com/openconfig/goyang v1.0.0
github.com/openconfig/ygot v0.16.2
github.com/openconfig/ygot v0.17.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ github.com/openconfig/goyang v1.0.0/go.mod h1:vX61x01Q46AzbZUzG617vWqh/cB+aisc+R
github.com/openconfig/gribi v0.1.1-0.20210423184541-ce37eb4ba92f/go.mod h1:OoH46A2kV42cIXGyviYmAlGmn6cHjGduyC2+I9d/iVs=
github.com/openconfig/ygot v0.6.0/go.mod h1:o30svNf7O0xK+R35tlx95odkDmZWS9JyWWQSmIhqwAs=
github.com/openconfig/ygot v0.10.4/go.mod h1:oCQNdXnv7dWc8scTDgoFkauv1wwplJn5HspHcjlxSAQ=
github.com/openconfig/ygot v0.16.2 h1:G6y/k7JmsSzLA+/ACfFNPQ7whUbbN3HIuhxO29barSs=
github.com/openconfig/ygot v0.16.2/go.mod h1:7ZiBFNc4n/1Hkv2v2dAEpxisqDznp0JVpLR13Toe4AY=
github.com/openconfig/ygot v0.17.0 h1:551DukwP6HKE7M8jhqTiqJ9kZWdmFCLh0UoSRw0sUMQ=
github.com/openconfig/ygot v0.17.0/go.mod h1:7ZiBFNc4n/1Hkv2v2dAEpxisqDznp0JVpLR13Toe4AY=
github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
3 changes: 3 additions & 0 deletions pkg/oc/gen.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package oc

//go:generate ./update.sh
Loading

0 comments on commit 718851b

Please sign in to comment.