Skip to content

Commit

Permalink
Release v2.2.0 (#403)
Browse files Browse the repository at this point in the history
Release v2.2.0

Co-authored-by: Vladimir Lavor <vlavor@cisco.com>
Co-authored-by: Milan Lenčo <milenco@cisco.com>
  • Loading branch information
3 people authored Aug 23, 2019
2 parents 08f0f6b + 3eefbdf commit 61443be
Show file tree
Hide file tree
Showing 221 changed files with 14,842 additions and 60,002 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ examples/cryptodata-plugin/cryptodata-plugin
examples/cryptodata-proto-plugin/cryptodata-proto-plugin
examples/datasync-plugin/datasync-plugin
examples/etcd-lib/editor/editor
examples/etcd-lib/election/election
examples/etcd-lib/view/view
examples/etcd-lib/watcher/watcher
examples/flags-lib/flags-lib
Expand All @@ -36,6 +37,7 @@ examples/redis-lib/simple/simple
examples/redis-plugin/redis-plugin
examples/simple-agent/simple-agent
examples/statuscheck-plugin/statuscheck-plugin
examples/supervisor-plugin/supervisor-plugin
examples/prometheus-plugin/prometheus-plugin
db/keyval/etcd/examples/phonebook/editor/editor
db/keyval/etcd/examples/phonebook/view/view
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# Release v2.2 (2019-08-23)

## Major Topics

**Supervisor plugin**
A new supervisor plugin was introduced, effectively capable to replace supervisord-based environment. The plugin defines a configuration file with a list of programs started by the so-called supervisor agent, or agent-init. More information is available is Ligato [documentation for supervisor plugin][docs-supervisor].

## New Features
* [Supervisor-plugin][supervisor-plugin]
- A new management plugin can start other processes, including other agents or VPP. Every process must specify a unique `name`, `executable-path` and `executable-args` (arguments) if they are used.
- Base logging is done to the standard output/err. Instead, all the output can be written to the file, defining file path in `logfile-path` within the supervisor config file.
- Every process can now have the CPU affinity set. Use `cpu-affinity-mask` field to set hexadecimal CPU mask (the same format as Linux command `taskset`). Another field, `cpu-affinity-setup-delay` can postpone CPU affinity configuration by a given time.
- Hooks are executed for specific process events, like a change of the process state. Every hook is executed in supervisor environment with several environment variables set. See the [documentation][docs-supervisor] for more information.

## Improvements
* [ETCD][etcd-plugin]
- Now supports atomic operations with interface `BytesBrokerWithAtomic`. Also the new API method `CompareAndSwap` was added.
- Added option to use 'expand' environment variable which replaces `$var` in received JSON data.
- Option to set own serialized as a plugin dependency.
- New method `RawAccess()` accesses data in the database as bytes (i.e. not formatted as protobuf).
* [Process-manager][process-manager]
- Now uses a buffered writer to put logs to either stdout/stderr or to file. The file is written if the field `logfile-path` is set.

# Release v2.1 (2019-05-09)

## Improvements
Expand Down Expand Up @@ -454,6 +477,7 @@ different flavors (removed in v1.5) (reusable collection of plugins):
[datasync-plugin]: datasync
[datasync-restsync]: datasync/restsync
[docker]: docker
[docs-supervisor]: https://docs.ligato.io/en/latest/plugins/infra-plugins/#supervisor
[etcd-plugin]: db/keyval/etcd
[examples]: examples
[examples-bolt]: examples/bolt-plugin
Expand All @@ -475,9 +499,11 @@ different flavors (removed in v1.5) (reusable collection of plugins):
[logmanager-plugin]: logging/logmanager
[logrus]: logging/logrus
[probe-plugin]: health/probe
[process-manager]: exec/processmanager
[redis-plugin]: db/keyval/redis
[rest-plugin]: rpc/rest
[resync-plugin]: datasync/resync
[service-label-plugin]: servicelabel
[statuscheck-plugin]: health/statuscheck
[supervisor-plugin]: exec/supervisor
[tracer-plugin]: logging/measure
44 changes: 30 additions & 14 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ required = [
name = "google.golang.org/grpc"
version = "1.14.0"

[[override]]
name = "github.com/grpc-ecosystem/grpc-gateway"
version = "1.4.1"

[[constraint]]
name = "github.com/Shopify/sarama"
version = "1.17.0"
Expand All @@ -34,11 +30,7 @@ required = [

[[constraint]]
name = "github.com/coreos/etcd"
version = "=3.3.10"

[[override]]
name = "github.com/coreos/bbolt"
version = "1.3.1-coreos.6"
version = "~3.3.10"

[[constraint]]
name = "github.com/ghodss/yaml"
Expand Down Expand Up @@ -108,6 +100,14 @@ required = [
branch = "master"
name = "github.com/boltdb/bolt"

[[override]]
name = "github.com/grpc-ecosystem/grpc-gateway"
version = "1.4.1"

[[override]]
name = "github.com/coreos/bbolt"
version = "1.3.1-coreos.6"

[prune]
go-tests = true
unused-packages = true
Loading

0 comments on commit 61443be

Please sign in to comment.