Skip to content

Commit

Permalink
Merge pull request #289 from nokia/0.34.0-changelog
Browse files Browse the repository at this point in the history
add v0.34.0 changelog
  • Loading branch information
karimra authored Nov 12, 2023
2 parents b2f2ba9 + 267d7f9 commit 1d3c87e
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 35 deletions.
25 changes: 25 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
## Changelog

### v 0.34.0 - November 11th 2023

- Prometheus Write Output

- The number of `prometheus_write` writers can now be configured.

- Subscription Encoding

- A subscription encoding can now be set per target. Before, it was either a global attribute or set per subscription.
With this change, it can be set globally, per target or per subscription.

- Processors:

- New `event-combine` processor: A convenience processor that allows combining other processors into a single one.

- New `event-rate-limit` processor: A processor that rate-limits each event with matching tags to the configured amount per-seconds.

- Outputs:

- New `asciigraph` output: https://asciinema.org/a/617477

- Clustering:

- New `redis` locker: For leader election, service discovery and target distribution gNMIc supports both `Consul` and `Kubernetes`. It is now possible to use `redis` for the same purpose.

### v 0.33.0 - October 8th 2023

- Rest API
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ require (
github.com/nsf/termbox-go v1.1.1
github.com/olekukonko/tablewriter v0.0.5
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gnmic/pkg/api v0.33.0
github.com/openconfig/gnmic/pkg/cache v0.33.0
github.com/openconfig/gnmic/pkg/path v0.33.0
github.com/openconfig/gnmic/pkg/target v0.33.0
github.com/openconfig/gnmic/pkg/testutils v0.33.0
github.com/openconfig/gnmic/pkg/types v0.33.0
github.com/openconfig/gnmic/pkg/utils v0.33.0
github.com/openconfig/gnmic/pkg/api v0.34.0
github.com/openconfig/gnmic/pkg/cache v0.34.0
github.com/openconfig/gnmic/pkg/path v0.34.0
github.com/openconfig/gnmic/pkg/target v0.34.0
github.com/openconfig/gnmic/pkg/testutils v0.34.0
github.com/openconfig/gnmic/pkg/types v0.34.0
github.com/openconfig/gnmic/pkg/utils v0.34.0
github.com/openconfig/goyang v1.4.2
github.com/openconfig/ygot v0.29.2
github.com/pkg/sftp v1.13.6
Expand Down
19 changes: 10 additions & 9 deletions pkg/api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ module github.com/openconfig/gnmic/pkg/api
go 1.21.1

replace (
github.com/openconfig/gnmic/pkg/path => ../path
github.com/openconfig/gnmic/pkg/target => ../target
github.com/openconfig/gnmic/pkg/testutils => ../testutils
github.com/openconfig/gnmic/pkg/types => ../types
github.com/openconfig/gnmic/pkg/utils => ../utils
github.com/openconfig/gnmic/pkg/testutils => github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5
github.com/openconfig/gnmic/pkg/types => github.com/openconfig/gnmic/pkg/types v0.0.0-20231111233637-b2f2ba97c7e5
github.com/openconfig/gnmic/pkg/utils => github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5
)

require (
github.com/AlekSi/pointer v1.2.0
github.com/google/go-cmp v0.6.0
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gnmic/pkg/path v0.33.0
github.com/openconfig/gnmic/pkg/target v0.33.0
github.com/openconfig/grpctunnel v0.1.0
google.golang.org/protobuf v1.31.0
)

require (
github.com/openconfig/gnmic/pkg/path v0.0.0-20231111233637-b2f2ba97c7e5
github.com/openconfig/gnmic/pkg/target v0.0.0-20231111233637-b2f2ba97c7e5
github.com/openconfig/gnmic/pkg/testutils v0.33.0
github.com/openconfig/gnmic/pkg/types v0.33.0
github.com/openconfig/gnmic/pkg/utils v0.33.0 // indirect
github.com/openconfig/grpctunnel v0.1.0
google.golang.org/protobuf v1.31.0
)

require (
Expand Down
10 changes: 10 additions & 0 deletions pkg/api/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFo
github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k=
github.com/openconfig/gnmi v0.10.0 h1:kQEZ/9ek3Vp2Y5IVuV2L/ba8/77TgjdXg505QXvYmg8=
github.com/openconfig/gnmi v0.10.0/go.mod h1:Y9os75GmSkhHw2wX8sMsxfI7qRGAEcDh8NTa5a8vj6E=
github.com/openconfig/gnmic/pkg/path v0.0.0-20231111233637-b2f2ba97c7e5 h1:CTo0N1qkN8/Gc344AVGDtMQwGwEAXFkD9SoHihXkZo0=
github.com/openconfig/gnmic/pkg/path v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:Zdslf08cGIDFZm7snTS6H+gTi0PRRoXv7LfOj5WXQQE=
github.com/openconfig/gnmic/pkg/target v0.0.0-20231111233637-b2f2ba97c7e5 h1:AIE1Ian2O/TEyYMsn2L2Usei2rKiBYnn6MdwDlcujHI=
github.com/openconfig/gnmic/pkg/target v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:YdfaUnGmP1Be8aSYnQobdeH7IQFNQ5Qv2FyNXikrLEA=
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5 h1:hAVCM9j7v6qWvk9PTDPToVfoqXfSJD2Q7wc4obgjnuI=
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:/JyhCq6rSbQdmeCbPIQjD8K3ArOqGQZFKUKKUpebonk=
github.com/openconfig/gnmic/pkg/types v0.0.0-20231111233637-b2f2ba97c7e5 h1:EPs1NhmZsYSNDBp0K2aRdx6UCKhPTJBbLqYg6kVb5tc=
github.com/openconfig/gnmic/pkg/types v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:JeHEsiNmTz2NQjDZi5L+28sOUnqtQ6DwRaRSdZ6wxns=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5 h1:mSf0eMbzKOW8NuxagiDnuMqt3f18wIo6u4c2zySo9qk=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:DQm/e8cdRwdmUORjODWteDU0HG0CWNYBAhLWqnPQegE=
github.com/openconfig/grpctunnel v0.1.0 h1:EN99qtlExZczgQgp5ANnHRC/Rs62cAG+Tz2BQ5m/maM=
github.com/openconfig/grpctunnel v0.1.0/go.mod h1:G04Pdu0pml98tdvXrvLaU+EBo3PxYfI9MYqpvdaEHLo=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
Expand Down
10 changes: 3 additions & 7 deletions pkg/cache/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@ module github.com/openconfig/gnmic/pkg/cache

go 1.21.1

replace (
github.com/openconfig/gnmic/pkg/path => ../path
github.com/openconfig/gnmic/pkg/testutils => ../testutils
github.com/openconfig/gnmic/pkg/utils => ../utils
)
replace github.com/openconfig/gnmic/pkg/testutils => github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5

require (
github.com/go-redis/redis/v8 v8.11.5
github.com/nats-io/nats-server/v2 v2.10.4
github.com/nats-io/nats.go v1.31.0
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gnmic/pkg/path v0.33.0
github.com/openconfig/gnmic/pkg/utils v0.33.0
github.com/openconfig/gnmic/pkg/path v0.0.0-20231111233637-b2f2ba97c7e5
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5
google.golang.org/protobuf v1.31.0
)

Expand Down
6 changes: 6 additions & 0 deletions pkg/cache/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3
github.com/openconfig/gnmi v0.0.0-20200414194230-1597cc0f2600/go.mod h1:M/EcuapNQgvzxo1DDXHK4tx3QpYM/uG4l591v33jG2A=
github.com/openconfig/gnmi v0.10.0 h1:kQEZ/9ek3Vp2Y5IVuV2L/ba8/77TgjdXg505QXvYmg8=
github.com/openconfig/gnmi v0.10.0/go.mod h1:Y9os75GmSkhHw2wX8sMsxfI7qRGAEcDh8NTa5a8vj6E=
github.com/openconfig/gnmic/pkg/path v0.0.0-20231111233637-b2f2ba97c7e5 h1:CTo0N1qkN8/Gc344AVGDtMQwGwEAXFkD9SoHihXkZo0=
github.com/openconfig/gnmic/pkg/path v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:Zdslf08cGIDFZm7snTS6H+gTi0PRRoXv7LfOj5WXQQE=
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5 h1:hAVCM9j7v6qWvk9PTDPToVfoqXfSJD2Q7wc4obgjnuI=
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:/JyhCq6rSbQdmeCbPIQjD8K3ArOqGQZFKUKKUpebonk=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5 h1:mSf0eMbzKOW8NuxagiDnuMqt3f18wIo6u4c2zySo9qk=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:DQm/e8cdRwdmUORjODWteDU0HG0CWNYBAhLWqnPQegE=
github.com/openconfig/goyang v0.0.0-20200115183954-d0a48929f0ea/go.mod h1:dhXaV0JgHJzdrHi2l+w0fZrwArtXL7jEFoiqLEdmkvU=
github.com/openconfig/goyang v1.4.2 h1:inJe/BwVSBIhDN003MVKPUNeLDlLPJrvNV+ZsXdKNxc=
github.com/openconfig/goyang v1.4.2/go.mod h1:vX61x01Q46AzbZUzG617vWqh/cB+aisc+RrNkXRd3W8=
Expand Down
4 changes: 1 addition & 3 deletions pkg/path/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ module github.com/openconfig/gnmic/pkg/path

go 1.21.1

replace github.com/openconfig/gnmic/pkg/testutils => ../testutils

require (
github.com/google/go-cmp v0.6.0
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gnmic/pkg/testutils v0.33.0
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5
)

require (
Expand Down
2 changes: 2 additions & 0 deletions pkg/path/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/openconfig/gnmi v0.10.0 h1:kQEZ/9ek3Vp2Y5IVuV2L/ba8/77TgjdXg505QXvYmg8=
github.com/openconfig/gnmi v0.10.0/go.mod h1:Y9os75GmSkhHw2wX8sMsxfI7qRGAEcDh8NTa5a8vj6E=
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5 h1:hAVCM9j7v6qWvk9PTDPToVfoqXfSJD2Q7wc4obgjnuI=
github.com/openconfig/gnmic/pkg/testutils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:/JyhCq6rSbQdmeCbPIQjD8K3ArOqGQZFKUKKUpebonk=
github.com/openconfig/grpctunnel v0.1.0 h1:EN99qtlExZczgQgp5ANnHRC/Rs62cAG+Tz2BQ5m/maM=
github.com/openconfig/grpctunnel v0.1.0/go.mod h1:G04Pdu0pml98tdvXrvLaU+EBo3PxYfI9MYqpvdaEHLo=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
Expand Down
10 changes: 4 additions & 6 deletions pkg/target/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,24 @@ module github.com/openconfig/gnmic/pkg/target

go 1.21.1

replace (
github.com/openconfig/gnmic/pkg/types => ../types
github.com/openconfig/gnmic/pkg/utils => ../utils
)
replace github.com/openconfig/gnmic/pkg/utils => github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5

require (
github.com/jhump/protoreflect v1.15.3
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/gnmic/pkg/types v0.33.0
github.com/openconfig/gnmic/pkg/types v0.0.0-20231111233637-b2f2ba97c7e5
golang.org/x/net v0.17.0
golang.org/x/oauth2 v0.13.0
google.golang.org/grpc v1.59.0
)

require github.com/openconfig/gnmic/pkg/utils v0.33.0 // indirect

require (
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
github.com/bufbuild/protocompile v0.6.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/openconfig/gnmic/pkg/utils v0.33.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down
4 changes: 4 additions & 0 deletions pkg/target/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFo
github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k=
github.com/openconfig/gnmi v0.10.0 h1:kQEZ/9ek3Vp2Y5IVuV2L/ba8/77TgjdXg505QXvYmg8=
github.com/openconfig/gnmi v0.10.0/go.mod h1:Y9os75GmSkhHw2wX8sMsxfI7qRGAEcDh8NTa5a8vj6E=
github.com/openconfig/gnmic/pkg/types v0.0.0-20231111233637-b2f2ba97c7e5 h1:EPs1NhmZsYSNDBp0K2aRdx6UCKhPTJBbLqYg6kVb5tc=
github.com/openconfig/gnmic/pkg/types v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:JeHEsiNmTz2NQjDZi5L+28sOUnqtQ6DwRaRSdZ6wxns=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5 h1:mSf0eMbzKOW8NuxagiDnuMqt3f18wIo6u4c2zySo9qk=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:DQm/e8cdRwdmUORjODWteDU0HG0CWNYBAhLWqnPQegE=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
Expand Down
4 changes: 1 addition & 3 deletions pkg/types/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ module github.com/openconfig/gnmic/pkg/types

go 1.21.1

replace github.com/openconfig/gnmic/pkg/utils => ../utils

require (
github.com/openconfig/gnmic/pkg/utils v0.33.0
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5
golang.org/x/oauth2 v0.13.0
google.golang.org/grpc v1.59.0
)
Expand Down
2 changes: 2 additions & 0 deletions pkg/types/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5 h1:mSf0eMbzKOW8NuxagiDnuMqt3f18wIo6u4c2zySo9qk=
github.com/openconfig/gnmic/pkg/utils v0.0.0-20231111233637-b2f2ba97c7e5/go.mod h1:DQm/e8cdRwdmUORjODWteDU0HG0CWNYBAhLWqnPQegE=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
Expand Down

0 comments on commit 1d3c87e

Please sign in to comment.