Age | Commit message (Collapse) | Author | Files | Lines |
|
Use Validator interface introduced by HONEYCOMB-431:
https://gerrit.fd.io/r/#/c/14022/
Change-Id: I9e4c8d59f299ed7da4a93bbdc70c81f2bea93606
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- fix link to honeycomb <validate> implementation
- fix paths in the examples
Change-Id: Ifa72c4f7dbff67fe090ddbc3a67bd94f587b65a3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
This patch:
- removes copyright information from config XML files
The change is required due to ncclient bug.
If <config> embeded in <copy-config> request contains
'://', then it is treated as URL and included in <url> node
before sending to NETCONF server.
- updates licence to Apache 2.0 in other XML files.
Change-Id: I526de3c1beee6ff4cb255481fc01608beea159ff
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I9da8729b58500d18c82981284c44ad07bcbee167
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I959045c8d7ec16291f7144c572faea06cf1ad433
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Patches, that fixes issues with ncclient compatibility,
are inclded in Oxygen SR3, so ncclient section can be removed.
Detailed information about NETCONF improvements
in future ODL versions was added.
Change-Id: I33c5013f106fcf5cff3216a723e7670b360d404f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Icf3bfc331548d1e0f1862bf87615f7c03a24780a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I66bf46a953ff40a6937fa77bfe58fa3ee179ed24
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Id5aa173292d00aee0dd37d0853d46cb98e2cce05
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ida137d00b51a480e4f27950cc9bbc609f4782efd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I42f1efed55072ec9885dda2a9dcd3c8d85980d8f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The ietf-nat model was updated by HC2VPP-226 and HC2VPP-367.
Change-Id: I1bf8bfdbc0a106c933a565b5f11032e802598fbb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
This patch moves all validation for acl list to VppAclValidator,
implementation of Validator interface brought by (HONEYCOMB-431):
https://gerrit.fd.io/r/#/c/14022/
To test <validate> RPC, run ncclient tests with:
./edit_config.py acl/copy_config_unsupported-acl-type.xml -v
Support for <validate> RPC requres:
https://gerrit.fd.io/r/#/c/14040/
Change-Id: Iea591a76022e893f6aaf2a52637f45cadb284e4e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
If bigger values of skip-n-vectors are used (e.g. policer usecase),
also key is very long, making the API hard to use.
To make it easier, match value will be now aligned with zeros if needed.
Read part does not need to be updated, beacause classify_session_dump
returns match without skip-n-vectors part.
Change-Id: Iab54480e7a3851690aed30c8f5b8b0e6769c054f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I45028349f81a756d03d46e02af40041a7cae1fec
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ied737af2eb650f54fbaa5413eb0a586793d34e43
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fixes issue reported by Sonar
Change-Id: If7448ea2618cbcbad56c7dcf4c87ec6f1cc1cb39
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Sonar reports unclosed resources,
but jvpp connections are closed in JVppBenchmark.tearDown.
It is only a benchmark,
so if JMH would crash and not call tearDown,
then we don't really care.
Change-Id: I60ae60c78610b8c07076c7d2a94917e8316d03dd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adapts hc2vpp to recent VPP api change:
https://gerrit.fd.io/r/#/c/13007/
Setting length field is currently mandatory
for variable length arrays (VPP-199).
Change-Id: I7ce66076d8a29d1ff5dfe5592e651d133e4072aa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
It is not valid to use different prefix for imports and augmentations.
This fixes this issue and allows to use 2.0.6.1 yangtools version.
Change-Id: Ie39228fc60a31028fbf74b964011539b7056d9f6
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Hc2vpp examples are using now v2.1 format.
Change-Id: I945c03f8b80a4a74cf7064c566205ae5dc334d89
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The script simply replaces version string
in all files from GIT index.
TODO(HC2VPP-369): does not cover updating package
versions and release notes.
Change-Id: Iff4d84ced69873bd8d7e7d58714750d8f2b355e6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also sets version of VPP package dependencies to 18.07.
Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I9180a1bd4f60846568381caf8f99548cbad3a0fc
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
In specific case when route uses 128 mask and this value is
converted to byte value it is changed to -128, which breaks
internal naming of routes. This needed to be fixed because
routes with 128 mask are not being read from VPP to operational
state.
Change-Id: Ic3b6ded721e7996587982b6a2b3bc8c9ebe03b43
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
VPP can be run with custom SHM segment prefix:
sudo vpp unix {cli-listen /run/vpp/cli-vpp1.sock} api-segment { prefix vpp1 }
sudo vppctl -s /run/vpp/cli-vpp1.sock
this patch adds optional api-segment-prefix parameter to
/opt/honeycomb/config/jvpp.json file.
Example configuration:
{
"jvpp-connection-name": "honeycomb",
"api-segment-prefix": "vpp1",
"jvpp-request-timeout": 5
}
Change-Id: I7ca298644891602afe7898db88bb90d59b49ce4d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
YANGTOOLS-678 was fixed in Oxygen SR2 used in HC since 18.07.
Change-Id: I7a68e8f7178a7448216825ae64d968552686bba3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Iadd17a3a44a20711e58c272934fb15dfe89bf2be
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
MDSAL-309 was fixed in Oxygen SR1 used in HC since 18.07.
Change-Id: I65f4574a10afa7ee1875446d7bfcb04aeca8674b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
YANGTOOLS-841 was fixed in Oxygen SR1 used by HC since 18.07.
Change-Id: Ifa2627e284574a0bab84763dc2b6252a4b6be4a3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I46955630709e3d837f95f488cb2fe089952865c4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The inet:ip-address type was used in HC models
due to ODL bug:
https://bugs.opendaylight.org/show_bug.cgi?id=6413
which was fixed long time ago...
Change-Id: Icaa8ac1269c730243afba53bc663f39f7c90f36c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The 2018-06-28 revision:
- removes mandatory statement for limit-per-subscriber
(previously commented out due to HC2VPP-328),
- removes logging-enable leaf that was not supported by hc2vpp
Change-Id: I36c2b05029331db03e37c016a31b32d6abf4ac06
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I637842ea6a582676ab305c29b5d8464987537be0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The inet:ipv4-address type was used in HC models
due to ODL bug:
https://bugs.opendaylight.org/show_bug.cgi?id=6413
which was fixed long time ago...
Change-Id: Ibb57c9b725a038784808e61c1e709663b9c9b9e6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I7ed600c929b130edf84c09d136e95e32cab4be9e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ie57776ab9784b7c57630b7ea9ce9b96b71feb5a5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Use UnsignedInts.toLong instead of (long) cast.
Change-Id: I1b6875860019f3449bc32f16cd959f3084583d20
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
User is required to explicitly configure FIB tables
using vpp-fib-management module.
The change does not require modification of RESTCONF and NETCONF requests.
Change-Id: Ie3cbff61281ba1a7a9e14c0a26cbd9ce6e44587f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Iba1f6d4c556c8ef839eb309b990f32945e6494fb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
User is now required to explicitly configure FIB tables
using vpp-fib-management module.
The patch also adds non-default vrf configuration example
to the proxy-arp postman collection.
Change-Id: I8cbdf0add8992bfb0a6a8fe0a38d6a466d5951f0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Default FIB tables (ID=0) are created in VPP during startup
for both ipv4 and ipv6.
In order to prevent oper and cfg mismatch,
HC needs to update its cfg during startup.
This patch adds initializer for FIB tables which handles that task.
Change-Id: Iadae8d545985a07fdb32000d3ca498cf3f9b40ed
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Proxy Arp implementation is part of l3 plugin, so move
configuration examples there as well.
Change-Id: If3eb22dd295901529035e1ea231e9133d6e86bc7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fixes several issues found by Sonar.
Change-Id: I7ab017f9d89221e8eff4b2438b7669df608b5587
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
both of operands are int type which
can cause loss of data. This changes the types
of operands to long
Change-Id: Ie162d52b1f853c0d83d51c8871af42a597b93386
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Do not check loc.getPrefix() == null twice.
Change-Id: I04a9dae25e14761d7f287aedd636dda8169f2dc9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Such comparison is allways false.
Change-Id: I39d4caac4146d48c04ecf28b3c9ecf7ae0127949
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Requires https://gerrit.fd.io/r/#/c/13254/
Change-Id: Icacf161f1c47f9471f19b0d89e5f2396942537ec
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Details objects cannot be null.
Change-Id: I2a1c0991ec2ccfee4c6d35c77321c6cb67f4bb7f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|