- v3.1.0
- v3.0.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.2.0-beta
- v2.1.0
- v2.0.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
3.1.0 (2020-03-13)
-
Switch cn-infra dependency to using vanity import path #1620
To migrate, replace all cn-infra import paths (
github.com/ligato/cn-infra
->go.ligato.io/cn-infra/v2
)To update cn-infra dependency, run
go get -u go.ligato.io/cn-infra/v2@master
.
- Allow customizing polling from stats poller #1634
- IPIP tunnel + IPSec tunnel protection support #1638
- Add prometheus metrics to govppmux #1626
- Add prometheus metrics to kvscheduler #1630
- Improve performance testing suite #1630
3.0.1 (2020-02-20)
- Add missing models to ConfigData (ligato#1625)
3.0.0 (2020-02-10)
- VPP 20.01 (default)
- VPP 19.08.1 (recommended)
- VPP 19.04.4
- VPP L3 plugin:
IPScanNeighbor
was disabled for VPP 20.01 due to VPP API changes (will be implemented later using new model) - VPP NAT plugin:
VirtualReassembly
inNat44Global
was disabled for VPP 20.01 due to VPP API changes (will be implemented later in VPP L3 plugin using new model)
- migrate from dep to Go modules for dependency management and remove vendor directory (#1599)
- use vanity import path
go.ligato.io/vpp-agent/v3
in Go files (#1599) - move all .proto files into
proto/ligato
directory and add check for breaking changes (#1599)
- check for duplicate Linux interface IP address (#1586)
- VPP interface plugin: Allow AF-PACKET to reference target Linux interface via logical name (#1616)
- VPP L3 plugin: add support for L3 cross-connects (#1602)
- VPP L3 plugin: IP flow hash settings support (#1610)
- VPP NAT plugin: NAT interface and AddressPool API changes (#1595)
- VPP plugins: support disabling VPP plugins (#1593)
- VPP client: add support for govpp proxy (#1593)
- optimize getting model keys, with up to 20% faster transactions (#1615)
- agentctl output formatting improvements (#1581, #1582, #1589)
- generated VPP binary API now imports common types from
*_types
packages - development docker images now have smaller size (~400MB less)
- start using Github Workflows for CI/CD pipeline
- add gRPC reflection service
2.5.1 (2019-12-06)
- VPP 20.01-379 (
20.01-rc0~379-ga6b93eac5
) - VPP 20.01-324 (
20.01-rc0~324-g66a332cf1
) - VPP 19.08.1 (default)
- VPP 19.04 (backward compatible)
- cn-infra v2.2
2.5.0 (2019-11-29)
- VPP 20.01-379 (
20.01-rc0~379-ga6b93eac5
) - VPP 20.01-324 (
20.01-rc0~324-g66a332cf1
) - VPP 19.08.1 (default)
- VPP 19.04 (backward compatible)
- cn-infra v2.2
- SRv6 global config (encap source address)
- Support for Linux configuration dumping
- Update GoVPP with fix for stats conversion panic
2.4.0 (2019-10-21)
- VPP 20.01-379 (
20.01-rc0~379-ga6b93eac5
) - VPP 20.01-324 (
20.01-rc0~324-g66a332cf1
) - VPP 19.08.1 (default)
- VPP 19.04 (backward compatible)
- cn-infra v2.2
This release introduces compatibility with two different commits of the VPP 20.01. Previously compatible version was updated to commit 324-g66a332cf1
, and support for 379-ga6b93eac5
was added. Other previous versions remained.
- Telemetry
- Added
StatsPoller
service periodically retrieving VPP stats.
- Added
2.3.0 (2019-10-04)
- VPP 20.01 (
20.01-rc0~161-ge5948fb49~b3570
) - VPP 19.08.1 (default)
- VPP 19.04 (backward compatible)
- cn-infra v2.2
VPP support for version 19.08 was updated to 19.08.1. Support for 19.01 was dropped in this release.
- Linux interfaces with 'EXISTING' type should be resynced properly.
- Resolved issue with SRv6 removal.
- AgentCTL dump command fixed.
- ACL ICMP rule is now properly configured and data can be obtained using the ACL dump.
- Missing dependency for SRv6 L2 steering fixed.
- Fixed issue with possible division by zero and missing interface MTU.
- Namespace plugin uses a Docker event listener instead of periodical polling. This should prevent cases where quickly started microservice container was not detected.
- netalloc-plugin
- A new plugin called netalloc which allows disassociating topology from addressing in the network configuration. Interfaces, routes and other network objects' addresses can be symbolic references into the pool of allocated addresses known to netalloc plugin. See model for more information.
- if-plugin
- Added support for GRE tunnel interfaces. Choose the
GRE_TUNNEL
interface type with appropriate link data.
- Added support for GRE tunnel interfaces. Choose the
- agentctl
- Many new features and enhancements added to the AgentCTL:
- version is defined as a parameter for root command instead of the separate command
- ETCD endpoints can be defined via the
ETCD_ENDPOINTS
environment variable - sub-command
config
supportsget/put/del
commands model
sub-commands improved- added VPP command to manage VPP instance Additionally, starting with this release the AgentCTL is a VPP-Agent main control tool and the vpp-agent-ctl was definitely removed.
- Many new features and enhancements added to the AgentCTL:
Many end-to-end tests introduced, gradually increasing VPP-Agent stability.
- if-plugin
- IP addresses assigned by the DHCP are excluded from the interface address descriptor.
- VPP-Agent now processes status change notifications labeled by the VPP as UNKNOWN.
- ns-plugin
- Dockerclient microservice polling replaced with an event listener.
- sr-plugin
- SRv6 dynamic proxy routing now can be connected to a non-zero VRF table.
2.2.0 (2019-08-26)
- VPP 19.08 (rc1)
- VPP 19.04 (default)
- VPP 19.01 (backward compatible)
- cn-infra v2.2
- CN-infra version updated to 2.2 contains a supervisor fix which should prevent the issue where the supervisor logging occasionally caused the agent to crash during large outputs.
- if-plugin
- Added option to configure SPAN records. Northbound data are formatted by the SPAN model.
- orchestrator
- Clientv2 is now recognized as separate data source by the orchestrator plugin. This feature allows to use the localclient together with other data sources.
- Updated documentation comments in the protobuf API.
2.2.0-beta (2019-08-09)
- VPP 19.08 (rc1)
- VPP 19.04 (default)
- VPP 19.01 (backward compatible)
- 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.
- 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 with example playbook. Consult readme for more information.
- 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
.
- GoVPPMux stats can be read with rest under path
- kv-scheduler
- Added some more performance improvements.
- The same key can be no more matched by multiple descriptors.
- abf-plugin
- ABF plugin was added to config data model and is now initialized in configurator.
- if-plugin
- Interface rx-placement and rx-mode was enhanced and now allows per-queue configuration.
- Added examples for rx-placement and rx-mode.
- nat-plugin
- NAT example updated for VPP 19.04
- 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
- Added support for Punt exceptions.
- IP redirect dump was implemented for VPP 19.08.
- 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.
- Interface metrics added to telemetry plugin. Note that the URL for prometheus export was changed to
- rest-plugin
- Added support for IPSec plugin
- Added support for punt plugin
- 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.
- The supervisor was replaced with VPP-Agent init plugin.
- Images now use pre-built VPP images from ligato/vpp-base
2.1.1 (2019-04-05)
- VPP 19.04 (
stable/1904
, recommended) - VPP 19.01 (backward compatible)
- Fixed IPv6 detection for Linux interfaces (#1355).
- Fixed config file names for ifplugin in VPP & Linux (#1341).
- Fixed setting status publishers from env var:
VPP_STATUS_PUBLISHERS
.
- The start/stop timeouts for agent can be configured using env vars:
START_TIMEOUT=15s
andSTOP_TIMEOUT=5s
, with values parsed as duration. - ABF was added to the
ConfigData
message for VPP (#1356).
- Images now install all compiled .deb packages from VPP (including
vpp-plugin-dpdk
).
2.1.0 (2019-05-09)
- VPP 19.04 (
stable/1904
, recommended) - VPP 19.01 (backward compatible)
- cn-infra v2.1
- Go 1.11
The VPP 18.10 was deprecated and is no longer compatible.
- All non-zero VRF tables now must be explicitly created, providing a VRF proto-modeled data to the VPP-Agent. Otherwise, some configuration items will not be created as before (for example interface IP addresses).
- VPP ARP
retrieve
now also returns IPv6 entries.
- govppmux-plugin
- The GoVPPMux plugin configuration file contains a new option
ConnectViaShm
, which when set totrue
forces connecting to the VPP via shared memory prefix. This is an alternative to environment variableGOVPPMUX_NOSOCK
.
- The GoVPPMux plugin configuration file contains a new option
- configurator
- The configurator plugin now collects statistics which are available via the
GetStats()
function or via REST on URL/stats/configurator
.
- The configurator plugin now collects statistics which are available via the
- kv-scheduler
- Added transaction statistics.
- abf-plugin
- Added new plugin ABF - ACL-based forwarding, providing an option to configure routing based on matching ACL rules. An ABF entry configures interfaces which will be attached, list of forwarding paths and associated access control list.
- if-plugin
- Added support for Generic Segmentation Offload (GSO) for TAP interfaces.
- l3-plugin
- A new model for VRF tables was introduced. Every VRF is defined by an index and an IP version, a new optional label was added. Configuration types using non-zero VRF now require it to be created, since the VRF is considered a dependency. VRFs with zero-index are present in the VPP by default and do not need to be configured (applies for both, IPv4 and IPv6).
- agentctl
- This tool becomes obsolete and was completely replaced with a new implementation. Please note that the development of this tool is in the early stages, and functionality is quite limited now. New and improved functionality is planned for the next couple of releases since our goal is to have a single vpp-agent control utility. Because of this, we have also deprecated the vpp-agent-ctl tool which will be most likely removed in the next release.
- kv-scheduler
- The KV Scheduler received another performance improvements.
- if-plugin
- Attempt to configure a Bond interface with already existing ID returns a non-retriable error.
- linux-if-plugin
- Before adding an IPv6 address to the Linux interface, the plugins will use
sysctl
to ensure the IPv6 is enabled in the target OS.
- Before adding an IPv6 address to the Linux interface, the plugins will use
- Supervisord is started as a process with PID 1
- The ligato.io webpage is finally available, check out it here! We have also released a new documentation site with a lot of new or updated articles, guides, tutorials and many more. Most of the README.md files scattered across the code were removed or updated and moved to the site.
2.0.2 (2019-04-19)
- VPP 19.01 (updated to
v19.01.1-14-g0f36ef60d
) - VPP 18.10 (backward compatible)
- cn-infra v2.0
- Go 1.11
This minor release brought compatibility with updated version of the VPP 19.01.
2.0.1 (2019-04-05)
- VPP 19.01 (compatible by default, recommended)
- VPP 18.10 (backward compatible)
- cn-infra v2.0
- Go 1.11
- Fixed bug where Linux network namespace was not reverted in some cases.
- The VPP socketclient connection checks (and waits) for the socket file in the same manner as for the shared memory, giving the GoVPPMux more time to connect in case the VPP startup is delayed. Also errors occurred during the shm/socket file watch are now properly handled.
- Fixed wrong dependency for SRv6 end functions referencing VRF tables (DT6,DT4,T).
- GoVPPMux
- Added option to adjust the number of connection attempts and time delay between them. Seek
retry-connect-count
andretry-connect-timeout
fields in govpp.conf. Also keep in mind the total time in which plugins can be initialized when using these fields.
- Added option to adjust the number of connection attempts and time delay between them. Seek
- linux-if-plugin
- Default loopback MTU was set to 65536.
- ns-plugin
- Plugin descriptor returns
ErrEscapedNetNs
if Linux namespace was changed but not reverted back before returned to scheduler.
- Plugin descriptor returns
- Supervisord process is now started with PID=1
2.0.0 (2019-04-02)
- VPP 19.01 (compatible by default, recommended)
- VPP 18.10 (backward compatible)
- cn-infra v2.0
- Go 1.11
- All northbound models were re-written and simplified and most of them are no longer compatible with model data from v1.
- The
v1
label from all vpp-agent keys was updated tov2
. - Plugins using some kind of dependency on other VPP/Linux plugin (for example required interface) should be updated and handled by the KVScheduler.
- We expect a lot of known and unknown race-condition and plugin dependency related issues to be solved by the KV Scheduler.
- MTU is omitted for the sub-interface type.
- If linux plugin attempts to switch to non-existing namespace, it prints appropriate log message as warning, and continues with execution instead of interrupt it with error.
- Punt socket path string is cleaned from unwanted characters.
- Added VPE compatibility check for L3 plugin vppcalls.
- The MAC address assigned to an af-packet interface is used from the host only if not provided from the configuration.
- Fixed bug causing the agent to crash in an attempt to 'update' rx-placement with empty value.
- Switch interface from zero to non-zero VRF causes VPP issues - this limitation was now restricted only to unnumbered interfaces.
- IPSec tunnel dump now also retrieves integ/crypto keys.
- Errored operation should no more publish to the index mapping.
- Some obsolete Retval checks were removed.
- Error caused by missing DPDK interface is no longer retryable.
- Linux interface IP address without mask is now handled properly.
- Fixed bug causing agent to crash when some VPP plugin we support was not loaded.
- Fixed metrics retrieval in telemetry plugin.
- The bidirectional forwarding detection (aka BFD plugin) was removed. We plan to add it in one of the future releases.
- The L4 plugin (application namespaces) was removed.
- We experienced problems with the VPP with some messages while using socket client connection. The issue kind was that the reply message was not returned (GoVPP could not decode it). If you encounter similar error, please try to setup VPP connection using shared memory (see below).
- Performance
- The vpp-agent now supports connection via socket client (in addition to shared memory). The socket client connection provides higher performance and
message throughput, thus it was set as default connection type. The shared memory is still available via the environment variable
GOVPPMUX_NOSOCK
. - Many other changes, benchmarking and profiling was done to improve vpp-agent experience.
- The vpp-agent now supports connection via socket client (in addition to shared memory). The socket client connection provides higher performance and
message throughput, thus it was set as default connection type. The shared memory is still available via the environment variable
- Multi-VPP support
- The VPP-agent can connect to multiple versions of the VPP with the same binary file without any additional building or code changes. See compatibility part to know which versions are supported. The list will be extended in the future.
- Models
- All vpp-agent models were reviewed and cleaned up. Various changes were done, like simple renaming (in order to have more meaningful fields, avoid duplicated names in types, etc.), improved model convenience (interface type-specific fields are now defined as
oneof
, preventing to set multiple or incorrect data) and other. All models were also moved to the common api folder.
- All vpp-agent models were reviewed and cleaned up. Various changes were done, like simple renaming (in order to have more meaningful fields, avoid duplicated names in types, etc.), improved model convenience (interface type-specific fields are now defined as
- KVScheduler
- Added new component called KVScheduler, as a reaction to various flaws and issues with race conditions between Vpp/Linux plugins, poor readability and poorly readable logging. Also the system of notifications between plugins was unreliable and hard to debug or even understand. Based on this experience, a new framework offers improved generic mechanisms to handle dependencies between configuration items and creates clean and readable transaction-based logging. Since this component significantly changed the way how plugins are defined, we recommend to learn more about it on the VPP-Agent wiki page.
- orchestrator
- The orchestrator is a new component which long-term added value will be a support for multiple northbound data sources (KVDB, GRPC, ...). The current implementation handles combination of GRPC + KVDB, which includes data changes and resync. In the future, any combination of sources will be supported.
- GoVPPMux
- Added
Ping()
method to the VPE vppcalls usable to test the VPP connection.
- Added
- if-plugin
- UDP encapsulation can be configured to an IPSec tunnel interface
- Support for new Bond-type interfaces.
- Support for L2 tag rewrite (currently present in the interface plugin because of the inconsistent VPP API)
- nat-plugin
- Added support for session affinity in NAT44 static mapping with load balancer.
- sr-plugin
- Support for Dynamic segment routing proxy with L2 segment routing unaware services.
- Added support for SRv6 end function End.DT4 and End.DT6.
- linux-if-plugin
- Added support for new Linux interface type - loopback.
- Attempt to assign already existing IP address to the interface does not cause an error.
- linux-iptables
- Added new linux IP tables plugin able to configure IP tables chain in the specified table, manage chain rules and set default chain policy.
- KVScheduler
- Performance improvements related to memory management.
- GoVPPMux
- Need for config file was removed, GoVPP is now set with default values if the startup config is not provided.
DefaultReplyTimeout
is now configured globally, instead of set for every request separately.- Tolerated default health check timeout is now set to 250ms (up from 100ms). The old value had not provide enough time in some cases.
- acl-plugin
- Model moved to the api/models
- if-plugin
- Model reviewed, updated and moved to the api/models.
- Interface plugin now handles IPSec tunnel interfaces (previously done in IPSec plugin).
- NAT related configuration was moved to its own plugin.
- New interface stats (added in 1.8.1) use new GoVPP API, and publishing frequency was significantly decreased to handle creation of multiple interfaces in short period of time.
- IPSec-plugin
- Model moved to the api/models
- The IPSec interface is no longer processed by the IPSec plugin (moved to interface plugin).
- The ipsec link in interface model now uses the enum definitions from IPSec model. Also some missing crypto algorithms were added.
- l2-plugin
- Model moved to the api/models and split to three separate models for bridge domains, FIBs and cross connects.
- l3-plugin
- Model moved to the api/models and split to three separate models for ARPs, Proxy ARPs including IP neighbor and Routes.
- nat-plugin
- Defined new plugin to handle NAT-related configuration and its own model (before a part of interface plugin).
- punt-plugin
- Model moved to the api/models.
- Added retrieve support for punt socket. The current implementation is not final - plugin uses local cache (it will be enhanced when the appropriate VPP binary API call will be added).
- stn-plugin
- Model moved to the api/models.
- linux-if-plugin
- Model reviewed, updated and moved to the api/models.
- linux-l3-plugin
- Model moved to the api/models and split to separate models for ARPs and Routes.
- Linux routes and ARPs have a new dependency - the target interface is required to contain an IP address.
- ns-plugin
- New auxiliary plugin to handle linux namespaces and microservices (evolved from ns-handler). Also defines model for generic linux namespace definition.
- Configuration file for GoVPP was removed, forcing to use default values (which are the same as they were in the file).
- Fixes for installing ARM64 debugger.
- Kafka is no longer required in order to run vpp-agent from the image.
- Added documentation for the punt plugin, describing main features and usage of the punt plugin.
- Added documentation for the IPSec plugin, describing main and usage of the IPSec plugin.
- Added documentation for the interface plugin. The document is only available on wiki page.
- Description improved in various proto files.
- Added a lot of new documentation for the KVScheduler (examples, troubleshooting, debugging guides, diagrams, ...)
- Added tutorial for KV Scheduler.
- Added many new documentation articles to the wiki page. However, most of is there only temporary since we are preparing new ligato.io website with all the documentation and other information about the Ligato project. Also majority of readme files from the vpp-agent repository will be removed in the future.
1.8.1 (2019-03-04)
Motive for this minor release was updated VPP with several fixed bugs from the previous version. The VPP version also introduced new interface statistics mechanism, thus the stats processing was updated in the interface plugin.
- v19.01-16~gd30202244
- cn-infra v1.7
- GO 1.11
- VPP bug: fixed crash when attempting to run in kubernetes pod
- VPP bug: fixed crash in barrier sync when vlib_worker_threads is zero
- vpp-ifplugin
- Support for new VPP stats (the support for old ones were deprecated by the VPP, thus removed from the vpp-agent as well).
1.8.0 (2018-12-12)
- VPP v19.01-rc0~394-g6b4a32de
- cn-infra v1.7
- Go 1.11
- Pre-existing VETH-type interfaces are now read from the default OS namespace during resync if the Linux interfaces were dumped.
- The Linux interface dump method does not return an error if some interface namespace becomes suddenly unavailable at the read-time. Instead, this case is logged and all the other interfaces are returned as usual.
- The Linux localclient's delete case for Linux interfaces now works properly.
- The Linux interface dump now uses OS link name (instead of vpp-agent specific name) to read the interface attributes. This sometimes caused errors where an incorrect or even none interface was read.
- Fixed bug where the unsuccessful namespace switch left the namespace file opened.
- Fixed crash if the Linux plugin was disabled.
- Fixed occasional crash in vpp-agent interface notifications.
- Corrected interface counters for TX packets.
- Access list with created TCP/UDP/ICMP rule, which remained as empty struct no longer causes vpp-agent to crash
- vpp-ifplugin
- Rx-mode and Rx-placement now support dump via the respective binary API call
- vpp-rpc-plugin
- GRPC now supports also IPSec configuration.
- All currently supported configuration items can be also dumped/read via GRPC (similar to rest)
- GRPC now allows to automatically persist configuration to the data store. The desired DB has to be defined in the new GRPC config file (see readme for additional information).
- vpp-punt
- Added simple new punt plugin. The plugin allows to register/unregister punt to host via Unix domain socket. The new model was added for this configuration type. Since the VPP API is incomplete, the configuration does not support dump.
- vpp-ifplugin
- The VxLAN interface now support IPv4/IPv6 virtual routing and forwarding (VRF tables).
- Support for new interface type: VmxNet3. The VmxNet3 virtual network adapter has no physical counterpart since it is optimized for performance in a virtual machine. Because built-in drivers for this card are not provided by default in the OS, the user must install VMware Tools. The interface model was updated for the VmxNet3 specific configuration.
- ipsec-plugin
- IPSec resync processing for security policy databases (SPD) and security associations (SA) was improved. Data are properly read from northbound and southbound, compared and partially configured/removed, instead of complete cleanup and re-configuration. This does not appeal to IPSec tunnel interfaces.
- IPSec tunnel can be now set as an unnumbered interface.
- rest-plugin
- In case of error, the output returns correct error code with cause (parsed from JSON) instead of an empty body
1.7.0 (2018-10-02)
- VPP 18.10-rc0~505-ge23edac
- cn-infra v1.6
- Go 1.11
- Corrected several cases where various errors were silently ignored
- GRPC registration is now done in Init() phase, ensuring that it finishes before GRPC server is started
- Removed occasional cases where Linux tap interface was not configured correctly
- Fixed FIB configuration failures caused by wrong updating of the metadata after several modifications
- No additional characters are added to NAT tag and can be now configured with the full length without index out of range errors
- Linux interface resync registers all VETH-type interfaces, despite the peer is not known
- Status publishing to ETCD/Consul now should work properly
- Fixed occasional failure caused by concurrent map access inside Linux plugin interface configurator
- VPP route dump now correctly recognizes route type
- vpp-ifplugin
- It is now possible to dump unnumbered interface data
- Rx-placement now uses specific binary API to configure instead of generic CLI API
- vpp-l2plugin
- Bridge domain ARP termination table can now be dumped
- linux-ifplugin
- Linux interface watcher was reintroduced.
- Linux interfaces can be now dumped.
- linux-l3plugin
- Linux ARP entries and routes can be dumped.
- vpp-plugins
- Improved error propagation in all the VPP plugins. Majority of errors now print the stack trace to the log output allowing better error tracing and debugging.
- Stopwatch was removed from all vppcalls
- linux-plugins
- Improved error propagation in all Linux plugins (same way as for VPP)
- Stopwatch was removed from all linuxcalls
- govpp-plugn
- Tracer (introduced in cn-infra 1.6) added to VPP message processing, replacing stopwatch. The measurement should be more precise and logged for all binary API calls. Also the rest plugin now allows showing traced entries.
- The image can now be built on ARM64 platform
1.6.0 (2018-08-24)
- VPP 18.10-rc0~169-gb11f903a
- cn-infra v1.5
- Flavors were replaced with new way of managing plugins.
- REST interface URLs were changed, see readme for complete list.
- if VPP routes are dumped, all paths are returned
- NAT load-balanced static mappings should be resynced correctly
- telemetry plugin now correctly parses parentheses for
show node counters
- telemetry plugin will not hide an error caused by value loading if the config file is not present
- Linux plugin namespace handler now correctly handles namespace switching for interfaces with IPv6 addresses. Default IPv6 address (link local) will not be moved to the new namespace if there are no more IPv6 addresses configured within the interface. This should prevent failures in some cases where IPv6 is not enabled in the destination namespace.
- VxLAN with non-zero VRF can be successfully removed
- Lint is now working again
- VPP route resync works correctly if next hop IP address is not defined
- Deprecating flavors
- CN-infra 1.5 brought new replacement for flavors and it would be a shame not to implement it in the vpp-agent. The old flavors package was removed and replaced with this new concept, visible in app package vpp-agent.
- rest plugin
- All VPP configuration types are now supported to be dumped using REST. The output consists of two parts; data formatted as NB proto model, and metadata with VPP specific configuration (interface indexes, different counters, etc.).
- REST prefix was changed. The new URL now contains API version and purpose (dump, put). The list of all URLs can be found in the readme
- ifplugin
- Added support for NAT virtual reassembly for both, IPv4 and IPv6. See change in nat proto file
- l3plugin
- Vpp-agent now knows about DROP-type routes. They can be configured and also dumped. VPP default routes, which are DROP-type is recognized and registered. Currently, resync does not remove or correlate such a route type automatically, so no default routes are unintentionally removed.
- New configurator for L3 IP scan neighbor was added, allowing to set/unset IP scan neigh parameters to the VPP.
- vpp plugins
- all vppcalls were unified under API defined for every configuration type (e.g. interfaces, l2, l3, ...). Configurators now use special handler object to access vppcalls. This should prevent duplicates and make vppcalls cleaner and more understandable.
- ifplugin
- VPP interface DHCP configuration can now be dumped and added to resync processing
- Interfaces and also L3 routes can be configured for non-zero VRF table if IPv6 is used.
- examples
- All examples were reworked to use new flavors concept. The purpose was not changed.
- using Ubuntu 18.04 as the base image
1.5.2 (2018-07-23)
- VPP 18.07-rc0~358-ga5ee900
- cn-infra v1.4.1 (minor version fixes bug in Consul)
- Telemetry
- Fixed bug where lack of config file could cause continuous polling. The interval now also cannot be changed to a value less than 5 seconds.
- Telemetry plugin is now closed properly
- VPP 18.07-rc0~358-ga5ee900
- cn-infra v1.4
- Telemetry
- Default polling interval was raised to 30s.
- Added option to use telemetry config file to change polling interval, or turn the polling off, disabling the telemetry plugin. The change was added due to several reports where often polling is suspicious of interrupting VPP worker threads and causing packet drops and/or other negative impacts. More information how to use the config file can be found in the readme.
1.5.0 (2018-07-16)
- VPP 18.07-rc0~358-ga5ee900
- cn-infra v1.4
- The package
etcdv3
was renamed toetcd
, along with its flag and configuration file. - The package
defaultplugins
was renamed tovpp
to make the purpose of the package clear
- Fixed a few issues with parsing VPP metrics from CLI for Telemetry.
- Fixed bug in GoVPP occurring after some request timed out, causing the channel to receive replies from the previous request and always returning an error.
- Fixed issue which prevented setting interface to non-existing VRF.
- Fixed bug where removal of an af-packet interface caused attached Veth to go DOWN.
- Fixed NAT44 address pool resolution which was not correct in some cases.
- Fixed bug with adding SR policies causing incomplete configuration.
- LinuxPlugin
- Is now optional and can be disabled via configuration file.
- ifplugin
- Added support for VxLAN multicast
- Rx-placement can be configured on VPP interfaces
- IPsec
- IPsec UDP encapsulation can now be set (NAT traversal)
- Replace
START_AGENT
withOMIT_AGENT
to matchRETAIN_SUPERVISOR
and keep both unset by default. - Refactored and cleaned up execute scripts and remove unused scripts.
- Fixed some issues with
RETAIN_SUPERVISOR
option. - Location of supervisord pid file is now explicitly set to
/run/supervisord.pid
in supervisord.conf file. - The vpp-agent is now started with single flag
--config-dir=/opt/vpp-agent/dev
, and will automatically load all configuration from that directory.
1.4.1 (2018-06-11)
A minor release using newer VPP v18.04 version.
- VPP v18.04 (2302d0d)
- cn-infra v1.3
- VPP submodule was removed from the project. It should prevent various problems with dependency resolution.
- Fixed known bug present in the previous version of the VPP, issued as VPP-1280. Current version contains appropriate fix.
1.4.0 (2018-05-24)
- VPP v18.04 (ac2b736)
- cn-infra v1.3
- Fixed case where the creation of the Linux route with unreachable gateway threw an error. The route is now appropriately cached and created when possible.
- Fixed issue with GoVPP channels returning errors after a timeout.
- Fixed various issues related to caching and resync in L2 cross-connect
- Split horizon group is now correctly assigned if an interface is created after bridge domain
- Fixed issue where the creation of FIB while the interface was not a part of the bridge domain returned an error.
- VPP crash may occur if there is interface with non-default VRF (>0). There is an VPP-1280 issue created with more details
- Consul
- Consul is now supported as a key-value store alternative to ETCD. More information in the readme.
- Telemetry
- New plugin for collecting telemetry data about VPP metrics and serving them via HTTP server for Prometheus. More information in the readme.
- Ipsecplugin
- Now supports tunnel interface for encrypting all the data passing through that interface.
- GRPC
- Vpp-agent itself can act as a GRPC server (no need for external executable)
- All configuration types are supported (incl. Linux interfaces, routes and ARP)
- Client can read VPP notifications via vpp-agent.
- SR plugin
- New plugin with support for Segment Routing. More information in the readme.
- ifplugin
- Added support for self-twice-NAT
- vpp-agent-grpc executable merged with vpp-agent command.
- govppmux
configure reply timeout
can be configured.- Support for VPP started with custom shared memory prefix. SHM may be configured via the GoVPP plugin config file. More info in the readme
- Overall redundancy cleanup and corrected naming for all proto models.
- Added more unit tests for increased coverage and code stability.
- localclient_linux now contains two examples, the old one demonstrating basic plugin functionality was moved to plugin package, and specialised example for NAT was added.
- localclient_linux now contains two examples, the old one demonstrating veth interface usage was moved to package and new example for linux tap was added.
1.3.0 (2018-03-22)
The vpp-agent is now using custom VPP branch stable-1801-contiv.
- VPP v18.01-rc0~605-g954d437
- cn-infra v1.2
- Resync of ifplugin in both, VPP and Linux, was improved. Interfaces with the same configuration data are not recreated during resync.
- STN does not fail if IP address with a mask is provided.
- Fixed ingress/egress interface resolution in ACL.
- Linux routes now check network reachability for gateway address before configuration. It should prevent "network unreachable" errors during config.
- Corrected bridge domain crash in case non-bvi interface was added to another non-bvi interface.
- Fixed several bugs related to VETH and AF-PACKET configuration and resync.
- ipsecplugin:
- New plugin for IPSec added. The IPSec is supported for VPP only with Linux set manually for now. IKEv2 is not yet supported. More information in the readme.
- nsplugin
- New namespace plugin added. The configurator handles common namespace and microservice processing and communication with other Linux plugins.
- ifplugin
- Added support for Network address translation. NAT plugin supports a configuration of NAT44 interfaces, address pools and DNAT. More information in the readme.
- DHCP can now be configured for the interface
- l2plugin
- Split-horizon group can be configured for bridge domain interface.
- l3plugin
- Added support for proxy ARP. For more information and configuration example, please see readme.
- linux ifplugin
- Support for automatic interface configuration (currently only TAP).
- aclplugin
- Removed configuration order of interfaces. The access list can be now configured even if interfaces do not exist yet, and add them later.
- vpp-agent-ctl
- The vpp-agent-ctl was refactored and command info was updated.
- VPP can be built and run in the release or debug mode. Read more information in the readme.
- Production image is now smaller by roughly 40% (229MB).
1.2.0 (2018-02-07)
- VPP v18.04-rc0~90-gd95c39e
- cn-infra v1.1
- Fixed interface assignment in ACLs
- Fixed bridge domain BVI modification resolution
- vpp-agent-grpc (removed in 1.4 release, since then it is a part of the vpp-agent) now compiles properly together with other commands.
- VPP can occasionally cause a deadlock during checksum calculation (https://jira.fd.io/browse/VPP-1134)
- VPP-Agent might not properly handle initialization across plugins (this is not occurring currently, but needs to be tested more)
- aclplugin
- Improved resync of ACL entries. Every new ACL entry is correctly configured in the VPP and all obsolete entries are read and removed.
- ifplugin
- Improved resync of interfaces, BFD sessions, authentication keys, echo functions and STN. Better resolution of persistence config for interfaces.
- l2plugin
- Improved resync of bridge domains, FIB entries, and xConnect pairs. Resync now better correlates configuration present on the VPP with the NB setup.
- linux-ifplugin
- ARP does not need the interface to be present on the VPP. Configuration is cached and put to the VPP if requirements are fulfilled.
- Dependencies
- Migrated from glide to dep
- VPP compilation now skips building of Java/C++ APIs, this saves build time and final image size.
- Development image now runs VPP in debug mode with various debug options added in VPP config file.
1.1.0 (2018-01-22)
- VPP version v18.04-rc0~33-gb59bd65
- cn-infra v1.0.8
- fixed skip-resync parameter if vpp-plugin.conf is not provided.
- corrected af_packet type interface behavior if veth interface is created/removed.
- several fixes related to the af_packet and veth interface type configuration.
- microservice and veth-interface related events are synchronized.
- VPP can occasionally cause a deadlock during checksum calculation (https://jira.fd.io/browse/VPP-1134)
- VPP-Agent might not properly handle initialization across plugins (this is not occurring currently, but needs to be tested more)
- ifplugin
- added support for un-numbered interfaces. The nterface can be marked as un-numbered with information about another interface containing required IP address. A un-numbered interface does not need to have IP address set.
- added support for virtio-based TAPv2 interfaces.
- interface status is no longer stored in the ETCD by default and it can be turned on using the appropriate setting in vpp-plugin.conf. See readme for more details.
- l2plugin
- bridge domain status is no longer stored in the ETCD by default and it can be turned on using the appropriate setting in vpp-plugin.conf. See readme for more details.
- ifplugin
- default MTU value was removed in order to be able to just pass empty MTU field. MTU now can be set only in interface configuration (preferred) or defined in vpp-plugin.conf. If none of them is set, MTU value will be empty.
- interface state data are stored in statuscheck readiness probe
- l3plugin
- removed strict configuration order for VPP ARP entries and routes. Both ARP entry or route can be configured without interface already present.
- l4plugin (removed in v2.0)
- removed strict configuration order for application namespaces. Application namespace can be configured without interface already present.
- localclient
- added API for ARP entries, L4 features, Application namespaces, and STN rules.
- logging
- consolidated and improved logging in vpp and Linux plugins.
1.0.8 (2017-11-21)
- VPP v18.01-rc0-309-g70bfcaf
- cn-infra v1.0.7
- ifplugin
- ability to configure STN rules. See respective readme in interface plugin for more details.
- rx-mode settings can be set on interface. Ethernet-type interface can be set to POLLING mode, other types of interfaces supports also INTERRUPT and ADAPTIVE. Fields to set QueueID/QueueIDValid are also available
- added possibility to add interface to any VRF table.
- added defaultplugins API.
- API contains new Method
DisableResync(keyPrefix ...string)
. One or more ETCD key prefixes can be used as a parameter to disable resync for that specific key(s).
- l4plugin (removed in v2.0)
- added new l4 plugin to the VPP plugins. It can be used to enable/disable L4 features and configure application namespaces. See respective readme in L4 plugin for more details.
- support for VPP plugins/l3plugin ARP configuration. The configurator can perform the basic CRUD operation with ARP config.
- resync
- resync error propagation improved. If any resynced configuration fails, rest of the resync completes and will not be interrupted. All errors which appear during resync are logged after.
- linux l3plugin
- route configuration does not return an error if the required interface is missing. Instead, the route data are internally stored and configured when the interface appears.
- GoVPP
- delay flag removed from GoVPP plugin
- removed dead links from README files
- improved in multiple vpp-agent packages
1.0.7 (2017-10-30)
- VPP version v18.01-rc0~154-gfc1c612
- cn-infra v1.0.6
- Default VPP plugin
- added resync strategies. Resync of VPP plugins can be set using defaultpluigns config file; Resync can be set to full (always resync everything) or dependent on VPP configuration (if there is none, skip resync). Resync can be also forced to skip using the parameter.
- Linuxplugins L3Plugin
- added support for basic CRUD operations with the static Address resolution protocol entries and static Routes.
1.0.6 (2017-10-17)
- cn-infra v1.0.5
- LinuxPlugin
- The configuration of vEth interfaces modified. Veth configuration defines two names: symbolic used internally and the one used in host OS.
HostIfName
field is optional. If it is not defined, the name in the host OS will be the same as the symbolic one - defined byName
field.
- The configuration of vEth interfaces modified. Veth configuration defines two names: symbolic used internally and the one used in host OS.
1.0.5 (2017-09-26)
- VPP version v17.10-rc0~334-gce41a5c
- cn-infra v1.0.4
- GoVppMux
- configuration file for govpp added
- Kafka Partitions
- Changes in offset handling, only automatically partitioned messages (hash, random) have their offset marked. Manually partitioned messages are not marked.
- Implemented post-init consumer (for manual partitioner only) which allows starting consuming after kafka-plugin Init()
- Minimalistic examples & documentation for Kafka API will be improved in a later release.
1.0.4 (2017-09-08)
- Kafka Partitions
- Implemented new methods that allow to specify partitions & offset parameters:
- publish: Mux.NewSyncPublisherToPartition() & Mux.NewAsyncPublisherToPartition()
- watch: ProtoWatcher.WatchPartition()
- Minimalistic examples & documentation for Kafka API will be improved in a later release.
- Implemented new methods that allow to specify partitions & offset parameters:
- Flavors
- reduced to only local.FlavorVppLocal & vpp.Flavor
- GoVPP
- updated version waits until the VPP is ready to accept a new connection
1.0.3 (2017-09-05)
- VPP version v17.10-rc0~265-g809bc74 (upgraded because of VPP MEMIF fixes)
Enabled support for wathing data store OfDifferentAgent()
- see:
- examples/idx_iface_cache (removed in v2.0)
- examples/examples/idx_bd_cache (removed in v2.0)
- examples/idx_veth_cache (removed in v2.0)
Preview of new Kafka client API methods that allows to fill also partition and offset argument. New methods implementation ignores these new parameters for now (fallback to existing implementation based on github.com/bsm/sarama-cluster
and github.com/Shopify/sarama
).
1.0.2 (2017-08-28)
- VPP version v17.10-rc0~203
A rarely occurring problem during startup with binary API connectivity. VPP rejects binary API connectivity when VPP Agent tries to connect too early (plan fix this behavior in next release).
Algorithms for applying northbound configuration (stored in ETCD key-value data store) to VPP in the proper order of VPP binary API calls implemented in Default VPP plugin:
- network interfaces, especially:
- MEMIFs (optimized data plane network interface tailored for a container to container network connectivity)
- VETHs (standard Linux Virtual Ethernet network interface)
- AF_Packets (for accessing VETHs and similar type of interface)
- VXLANs, Physical Network Interfaces, loopbacks ...
- L2 BD & X-Connects
- L3 IP Routes & VRFs
- ACL (Access Control List)
Support for Linux VETH northbound configuration implemented in Linux Plugin applied in proper order with VPP AF_Packet configuration.
Data Synchronization during startup for network interfaces & L2 BD (support for the situation when ETCD contain configuration before VPP Agent starts).
Data replication and events:
-
Updating operational data in ETCD (VPP indexes such as sw_if_index) and statistics (port counters).
-
Updating statistics in Redis (optional once redis.conf available - see flags).
-
Publishing links up/down events to Kafka message bus.
-
Tools:
- agentctl CLI tool that show state & configuration of VPP agents
- docker: container-based development environment for the VPP agent
-
other features inherited from cn-infra:
- health: status check & k8s HTTP/REST probes
- logging: changing log level at runtime
-
Ability to extend the behavior of the VPP Agent by creating new plugins on top of VPP Agent flavor (removed with CN-Infra v1.5). New plugins can access API for configured:
- VPP Network interfaces,
- Bridge domains and VETHs based on idxvpp threadsafe map tailored for VPP data with advanced features (multiple watchers, secondary indexes).
-
VPP Agent is embeddable in different software projects and with different systems by using Local Flavor (removed with CN-Infra v1.5) to reuse VPP Agent algorithms. For doing this there is VPP Agent client version 1 (removed in v2.0):
- local client - for embedded VPP Agent (communication inside one operating system process, VPP Agent effectively used as a library)
- remote client - for remote configuration of VPP Agent (while integrating for example with control plane)