Skip to content

Commit

Permalink
Release v2.2.0-beta (#1434)
Browse files Browse the repository at this point in the history
* Update NAT example for VPP 19.04.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Remove unused dep from Gopkg.toml

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Install vpp-plugin-dpdk package

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Install python3-cffi package (dependency for python3-vpp-api)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Rework RxPlacement and RxMode to allow per-queue configuration

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Fix build.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* remove tapv1 test and fix tests (#1339)

Signed-off-by: AndrejKilvady <andrej.kilvady@pantheon.tech>

* Use arrays instead of maps for RxMode and placement.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Fix for SRv6 localsid delete in nonzero vrf tables (#1338)

Signed-off-by: Filip Gschwandtner <filip.gschwandtner@pantheon.tech>

* fix robot test (#1340)

Signed-off-by: AndrejKilvady <andrej.kilvady@pantheon.tech>

* Add etcd ansible python plugin (#1336)

* Add etcd ansible python plugin
* Add example ansible playbook
* Fix indentation
* Update example playbook

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Fix stats publishers (#1341)

* Fix *-ifplugin config names
* Unset default stats publishers used as fallback without config

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Define datasyncs used for setting publishers from config or env

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add dependency on link-state for rx placement and rx mode.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Update and add UTs for rx placement and rx mode

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Adapter for rx mode descriptor

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Update GoVPP (#1342)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Bug fixing txn post-processing in kvscheduler.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Add example for rx-placement and rx-mode.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Pluralize rx-mode and rx-placement

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Add check for multiple descriptors matching the same key.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Pluralize also key for all rx-modes of an interface

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Remove unnecessary LinkIsUp from interface metadata

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Refactor image building to use ligato/vpp-base (#1343)

* Refactor image builds to use ligato/vpp-base

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fixed automatic launching of SRv6 crud robot tests (#1346)

Signed-off-by: Filip Gschwandtner <filip.gschwandtner@pantheon.tech>

* remove agent-ctl and kafka (#1345)

Signed-off-by: AndrejKilvady <andrej.kilvady@pantheon.tech>

* Define env vars for overriding start/stop timeouts of agent

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Support building images with different VPP versions (#1348)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Pass image_tag

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix installing deb packages for VPP 19.01

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* DHCP proxy for VPP (#1349)

* Add DHCP proxy plugin initial commit

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Fix nil dump

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update dhcp_proxy.go

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update plugin

  fix namings

  add validate and dependecy implementation

  fix validation in write new dhcp proxy

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Change isIPv6 to 0 if IPv4

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update dump function

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update Ip formatting

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Fix older version

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Add DHCPv6 support

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Fix bugs, clean up

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Clean up and update validate implementation

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Add messages to handler

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update error message

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* remove unused ipToAddress

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update error message

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update validate implementation

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Update error message

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>

* Regenerate proto files

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix travis errors

Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>


Co-authored-by: Ondrej Fabry <ofabry@cisco.com>

* Fix caching for building docker images

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Make channel for notifications buffered (#1352)

Even though notifications are processed quickly in separate go
routines, it still may not be enough if multiple of them are
received at roughly the same time, causing potential drops.
Added small buffer for the notification channel.

* Remove default for agent version and add grpc perf to dockerignore

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add interfaces metrics to telemetry plugin (#1351)

* Add interface metrics to telemetry plugin
* Change telemetry URL for prometheus export to `/metrics/vpp`
* Cleanup metric names
* Rename node count to counter

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix IPv6 detection (#1355)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* add ABF to config data model (#1356)

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Improve error logs for invalid key value pairs (#1359)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Minor Code Fixes (#1361)

* fix panic if model is registered without name

* fix key variable shadowed

* Allow disabling interface stats reading

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* replace supervisord with vpp-agent-init (#1318)

* update cn-infra dep

* add vpp-agent-init

* fix deps

* remove logfile paths from supervisor conf

* update to latest supervisor

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Allow skipping binapi check in dev docker image

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* fix crash for iptables rulechain with default microservice

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Support for VPP 19.08-rc0 (#1357)

* Add preliminary support for VPP 19.08

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* updated govppmux to 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* updated abf and acl plugins to 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* updated ifplugin and ipsec plugin to 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* update l2 and l3 plugin to 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* updated nat and punt plugins to 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* update sr and stn plugin to 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* regenerate binapi for ip, nat and session

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* improvements

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* telemetry 1908

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Update VPP images

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix VPP version in vppcalls handlers

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add config status publishing for config items (#1364)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add some (temporary) debug logs for interface state updates (#1367)

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* vpp updated to v19.08-rc0.324-g2ecf18a55 (#1366)

* update govpp
* update vpp to v19.08-rc0~324-g2ecf18a55
* update vppcalls
* update punt tests

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Update CHANGELOG for v2.1.1

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update README.md

* add rest support for ipsec and punt (#1368)

* remove nul chars from retrieved punt socket path
* add rest support for ipsec and punt

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Fix init order of state channel (#1369)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* initialize abf plugin handler in configurator (#1371)

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Add env var (RESYNC_TIMEOUT) for setting resync timeout (#1372)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Minor enhancements in Linux interface descriptor (#1374)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* tweaked interface statistics

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* wip

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Revert "wip"

This reverts commit e993d3b.

* Revert "tweaked interface statistics"

This reverts commit 8715c96.

* Retrieve cmdline (config) after conencting to VPP (#1381)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* fix punt dump for all vpp versions (#1379)

* fix dump punt log
* fix punt dump for all vpp versions

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Fix dumps for unavailable handlers

- do not return error for dumps when some handlers are not available
- log all unavailable handlers during initialization of restapi/configurator
- remove unused dump channels from vppcalls

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Revert "fix punt dump for all vpp versions" (#1385)

This reverts commit 36636ab.

* Remove unused dump channel

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* vpp.punt: Add support for punt exceptions (#1384)

* Add support for punt exceptions

- added support for punt exceptions in puntplugin
- fixed deleting of registered sockets after resync
- forcing recreation of registered sockets using prefix '!' in socket path
- SetPunt is not used anymore

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update documentation for VPP Punt API

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add punt exceptions to clientv2

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add fixes for punt plugin (#1389)

- do not check socket path for punt exceptions to prevent recreation
- add depenency for RX interface to ip redirect punt
- implement IP redirect dump (only for 19.08)
- add workaround for publishing socket to punt exceptions as well
- properly deregister punt exeption on delete
- return pathname from registration when adding punt exception
- add workaround with ! prefix to punt exceptions
- publish socket paths to status with client TTL

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update VPP 19.08 (#1394)

* update to vpp v19.08-rc0~432-gb63dbc537 (#1390)

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* Update GoVPP and vpp.env

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix nil stats in telemetry

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Regenerate binapi for VPP 19.04

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* fix IPSec security associations tunnel mode (#1395)

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* fix building of docker images for ARM64 (make images) (#1376)

* agentctl: Add import command for importing config from file

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* agentctl: Fix import of full keys

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* agentctl: Add flag to set number of ops per transaction

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* agentctl: Add gRPC support to import command

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Move debugging into debug package (#1397)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* govppmux stats REST handler (#1396)

* Add govppmux stats handler for REST and improve stats

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Allow disabling status publishing and interface stats collection

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* agentctl: Remove unused type

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update README.md (#1400)

* Performance improvements around isNodeReady (#1402)

* Add some (temporary) debug logs for interface state updates

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Performance improvements around isNodeReady

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Update GoVPP and use pure Go client adapters by default (#1401)

* Update GoVPP and use pure Go client adapters by default

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update GoVPP with fix for duplicate objects

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add derived (property) key-value marking interface with at leas… (#1403)

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Update perf tests (#1404)

* Update perf test

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update perf test

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update perf test

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Cleanup puntplugin (#1405)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* vpp19.08 updated to rc0.581-g3eea9de89 (#1407)

* update abf plugin
* update interface plugin
* update l2 plugin
* update L3 plugin
* removed redundant log
* code improvements and cleanup
* added support for VRF index map
* l3 plugin dumps ipv4 and ipv6 routes
* add vrf proto to metadata

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>

* VPP integration tests (#1409)

* Add initial vpp integration test

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Test integration tests on travis

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Skip integration tests on travis

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update vpp integration tests

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Set govpp logger level on debug

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add integration test for interface

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Run integration tests and verify binapi for each VPP version in travis

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix env matrix

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Try fix env

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Try travis fix

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add README for vpp integration tests

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Clean stages

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix stages

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add go_import_path back

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Regenerate binapi for VPP 19.01

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update Go in docker

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add abf patch to VPP 1901 binapi

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix binapi patches for VPP 19.08

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix binapi patches for VPP 19.08

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update GoVPP & aggregated watcher (#1410)

* Update GoVPP

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add aggregated watcher from vpp1908 branch

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix key collisions for vpp routes (#1411)

* Add outgoing interface to route key

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add unit tests for vpp route key

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* added memif interface test to tests/integration (#1412)

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* Update VPP to 19.08-rc0.666-g9082b43dd (#1413)

* Update VPP to 19.08-rc0.666-g9082b43dd

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update VPP to 19.08-rc0.673-ga2e4451db

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix in Telemetry plugin and improvements for integration tests (#1414)

* Add DumpInterface to vppcalls in ifplugin

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Cleanup vpp integration tests

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix file name

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Hide iptables warning when no config found

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Print shm warning directly into stderr

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix single interface dump for older VPP

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix retrieving memory stats in telemetry for VPP 19.08

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add tests for telemetry to VPP integration tests

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix integration tests

 - Skip some telemetry integration tests for VPP<=19.04
 - Fix GetMemory in telemetry for VPP<=19.04
 - Use hard-coded config for VPP
 - Use DOCKER_ARGS for custom arguments for docker

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update GoVPP

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix URL for VPP metrics in telemetry plugin (#1416)

* Fix URL for VPP metrics in telemetry plugin

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update Gopkg.lock

* Optimize interface state dump for specific interfaces (#1415)

* Optimize interface state dump for specific interfaces

- define env var for printing debug logs about interface states
- extend interface state info in vppcalls for ifplugin
- return error when loading config fails
- minor improvements for VPP integration testing

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Remove obsolete function

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add option for skipping metrics in telemetry plugin (#1417)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Added CRUD integration tests for IPv4/IPv6 (#1419)

* Added CRUD integration tests for IPv4/IPv6 routes in default VRF and VRF=2

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* improving code

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* removed comments and parametrized value of VRF (vrfMetaIdx)

* removed redundant initialisation to default value

causes warnings in travis

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* Minor enhancements and code cleanups (#1420)

* Minor enhancement for transaction summary log

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add make target for remote debugging with delve

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Minor code cleanup in vpp ifplugin

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix error check when renaming tap and cleanup code

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Add integration test for IP address (#1421)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* added arp crud integration test (#1422)

* added arp crud integration test

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* comments removed

* added more asserts

- asserts related to number of arp entries in arp dump
- asserting of fields of arp entry
- assert non presence in arp dump
- hard-coded index replaced by generated one stored in the variable ifIdx

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* simplify assert (omitting assert of Static field)

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* Update VPP to 19.08-rc0.699-gf7c30df4b (#1424)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* kvscheduler: keep node in the graph during recreate (#1423)

This patch fixes issues reported in #1418.
During recreate (Delete+Create) the node would be completely
removed from the graph by Delete and all the associated flags
(metadata) were therefore lost.
When the subsequent Create fails, the scheduler needs to access
the flags, which in this case are undefined, causing the scheduler
to panic by dereferencing nil pointer.
This patch ensures that the node and its flags are preserved
during re-creation.

An in-progress refactor of the scheduling algorithm
will approach value recreation in a much cleaner
way...

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

* Update VPP to 19.08-rc0.706-ga58fec168 (#1426)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Define VRF as retrieve dependency for routes (#1429)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* extend linux plugin (#1431)

* add "EXISTING" interface type

Signed-off-by: Matus Mrekaj <matus.mrekaj@pantheon.tech>

* update interface descriptor

Signed-off-by: Matus Mrekaj <matus.mrekaj@pantheon.tech>

* update interface descriptor

Signed-off-by: Matus Mrekaj <matus.mrekaj@pantheon.tech>

* WIP integration test ACL IP CRUD (#1428)

* integration test ACL IP rule CRUD

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* renamed to 040_acl_test.go

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* to satisfy lint

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* Trying to loop over acl dump

* Looping over IP rule

* acl IP rule CRUD almost finished

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* acl IP rule CRUD

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* satisfy lint

* added acl integration test for MAC IP rules
fixed comments in interface definition

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* fix comments - they should start with space

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* create a helper function that returns ACL rule
- for IP rule
- for IP MAC rule

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* acl integration test - refactoring
- introducing of helper functions to eliminate declaration of acl_rule variables
- removing needless convert with uint32
- simplifying code with expect functions
- improving logged messages to improve understanding

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* satisfy lint

Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>

* Fix Retrieve for TAPv2 interface without Linux-side NB config (#1432)

Signed-off-by: Milan Lenco <milenco@cisco.com>

* Update VPP 19.08 to stable (rc1)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update VPP 19.08 to stable (rc1) (#1433)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Release v2.2.0-beta

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Changelog for vpp-agent v2.2.0-beta

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
  • Loading branch information
ondrej-fabry authored and VladoLavor committed Aug 13, 2019
1 parent 58f912a commit 2c193f2
Show file tree
Hide file tree
Showing 568 changed files with 71,381 additions and 9,028 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ examples/
k8s/
cmd/agentctl/agentctl
cmd/vpp-agent/vpp-agent
cmd/vpp-agent-ctl/vpp-agent-ctl
cmd/vpp-agent-ctl/vpp-agent-ctl
docker/dev/build.sh
docker/prod/build.sh
tests/perf/grpc-perf/grpc-perf
91 changes: 58 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,72 @@ sudo: required

language: go
go:
- "1.11.x"

addons:
apt:
packages:
- npm
- "1.12.x"

go_import_path: github.com/ligato/vpp-agent

services:
- docker

git:
depth: 10
depth: 5
submodules: false

cache:
directories:
- $HOME/.cache/go-build
- $HOME/build-cache
- $HOME/.npm
- $(npm config get prefix)/lib/node_modules

env:
- GO_BUILD_TAGS=mockvpp

before_install:
- make travis
- make get-linkcheck
- make get-linters
- make get-dep
- go get github.com/mattn/goveralls

script:
- make yamllint
- make check-links || true
- make lint
- make dep-check
- make verify-binapi
- make
- make test-cover

after_success:
- goveralls -coverprofile=/tmp/coverage.out -service=travis-ci
- ${HOME}/.cache

install: true

stages:
- Check
- Test
- Build
- Integration

jobs:
include:
- stage: Check
language: shell
name: "Check formatting"
addons:
apt:
packages:
- npm
script:
- make yamllint
- make check-links || true
- name: "Go dependency check"
script: make dep-check

- stage: Test
name: "Code linter"
script: make lint
- name: "Unit tests"
before_script:
- go get github.com/mattn/goveralls
script: make test-cover
after_success:
- goveralls -coverprofile=/tmp/coverage.out -service=travis-ci

- stage: Build
script:
- make cmd
- make examples

- stage: Integration
env: VPP_VERSION=1904
script:
- make verify-binapi
- make integration-tests
- env: VPP_VERSION=1908
script:
- make verify-binapi
- make integration-tests
- env: VPP_VERSION=1901
script:
- make verify-binapi
- make integration-tests

notifications:
slack:
Expand Down
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

## Release Notes

- [v2.2.0-beta](#v2.2.0-beta)
- [v2.1.0](#v2.1.0)
- [v2.1.1](#v2.1.1)
- [v2.0.0](#v2.0.0)
Expand Down Expand Up @@ -44,6 +45,70 @@ RELEASE CHANGELOG TEMPLATE:
-->


<a name="v2.2.0-beta"></a>
# [2.2.0-beta](https://github.com/ligato/vpp-agent/compare/v2.1.1...v2.2.0-beta) (2019-08-09)

### Compatibility
- **VPP 19.08** (rc1)
- **VPP 19.04** (default)
- **VPP 19.01** (backward compatible)

### Bug Fixes
* Fixed SRv6 localsid delete case for non-zero VRF tables.
* Fixed interface IPv6 detection in the descriptor.
* Various bugs fixed in KV scheduler TXN post-processing.
* Interface plugin config names fixed, no stats publishers are now used by default. Instead, datasync is used (by default ETCD, Redis and Consul).
* Rx-placement and rx-mode is now correctly dependent on interface link state.
* Fixed crash for iptables rulechain with default microservice.
* Punt dump fixed in all supported VPP versions.
* Removal of registered punt sockets fixed after a resync.
* Punt socket paths should no longer be unintentionally recreated.
* IP redirect is now correctly dependent on RX interface.
* Fixed IPSec security association configuration for tunnel mode.
* Fixed URL for VPP metrics in telemetry plugin
* Routes are now properly dependent on VRF.

### New Features
* Defined new environment variable `DISABLE_INTERFACE_STATS` to generally disable interface plugin stats.
* Defined new environment variable `RESYNC_TIMEOU` to override default resync timeout.
* Added [ETCD ansible python plugin][ansible] with example playbook. Consult [readme](ansible/README.md) for more information.

### Improvements
* [govppmux-plugin][govppmux-plugin]
- GoVPPMux stats can be read with rest under path `/govppmux/stats`.
- Added disabling of interface stats via the environment variable `DISABLE_INTERFACE_STATS`.
- Added disabling of interface status publishing via environment variable `DISABLE_STATUS_PUBLISHING`.
* [kv-scheduler][kv-scheduler]
- Added some more performance improvements.
- The same key can be no more matched by multiple descriptors.
* [abf-plugin][vpp-abf-plugin]
- ABF plugin was added to config data model and is now initialized in configurator.
* [if-plugin][vpp-interface-plugin]
- Interface rx-placement and rx-mode was enhanced and now allows per-queue configuration.
- Added [examples](examples/kvscheduler/rxplacement) for rx-placement and rx-mode.
* [nat-plugin][vpp-nat-plugin]
- NAT example updated for VPP 19.04
* [l3-plugin][vpp-l3-plugin]
- Route keys were changed to prevent collisions with some types of configuration. Route with outgoing interface now contains the interface name in the key.
- Added support for DHCP proxy. A new descriptor allows calling CRUD operations to VPP DHCP proxy servers.
* [punt-plugin][vpp-punt-plugin]
- Added support for Punt exceptions.
- IP redirect dump was implemented for VPP 19.08.
* [Telemetry][vpp-telemetry]
- Interface metrics added to telemetry plugin. Note that the URL for prometheus export was changed to `/metrics/vpp`.
- Plugin configuration file now has an option to skip certain metrics.
* [rest-plugin][rest-plugin]
- Added support for IPSec plugin
- Added support for punt plugin
* [agentctl][agentctl]
- We continuously update the new CTL tool. Various bugs were fixed some new features added.
- Added new command `import` which can import configuration from file.

### Docker Images
* The supervisor was replaced with VPP-Agent init plugin.
* Images now use pre-built VPP images from [ligato/vpp-base](https://github.com/ligato/vpp-base)


<a name="v2.1.1"></a>
# [2.1.1](https://github.com/ligato/vpp-agent/compare/v2.1.0...v2.1.1) (2019-04-05)

Expand Down Expand Up @@ -829,6 +894,7 @@ Data replication and events:
- remote client - for remote configuration of VPP Agent (while integrating for example with control plane)

[agentctl]: cmd/agentctl
[ansible]: ansible
[configurator-plugin]: plugins/configurator
[consul]: https://www.consul.io/
[contiv-vpp1810]: https://github.com/vpp-dev/vpp/tree/stable-1801-contiv
Expand Down
49 changes: 41 additions & 8 deletions Gopkg.lock

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

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ required = [
# Constraints

[[constraint]]
branch = "dev"
name = "github.com/ligato/cn-infra"
version = "2.1.0"

[[constraint]]
branch = "master"
Expand Down
Loading

0 comments on commit 2c193f2

Please sign in to comment.