Age | Commit message (Collapse) | Author | Files | Lines |
|
Mantaining postman collections in v1 format is difficult
due to UID strings.
Postman collection v2 fixes the issue and many others, see
http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/
Collections in v1 format, were converted
using postman-collection-transformer.
Output was transformed using JSON.stringify with space='\t',
to be compliant with Postman application which does not support
spaces for indentation.
Coverted collections were tested using Postman v6.1.3.
Previous version of postman collections were renamed
to *_v1.0.0.json or *_v2.0.0.json.
Removal is planned in 18.10 (HC2VPP-338).
Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I25a7742289753bd0bb2ef49d4a1e609cf8570a9d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Old collection was renamed to
nat_postman_collection_v1.0.0.json
Change-Id: I34994f4e3bfaa8e6937b318d2a4c059a1523dbfc
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Only /32 prefix for IPv4 and /128 for IPv6 are supported.
Change-Id: I875b1eb6c2cb43da54de0a731aeeb9757b39c39c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- added handling of IpPrefixe
- added UnitTests for the whole class
Change-Id: I9fbdcce1ca8734b7415c55559ef65e553e737e44
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
nsh_sfc 18.07-SNAPSHOT artifacts are missing in the
https://nexus.fd.io/content/repositories/fd.io.snapshot/io/fd/nsh_sfc/nsh-sfc/
repo, which causes hc2vpp build failures.
As a workaround nsh plugin was disabled.
Change-Id: If65f783f85f9b491f7caea63a51c70e4b4ad39c6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I957edd6813b1be43232845d9bf6a4f13ed01ecfb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Renames shaded jar name from
jvpp-benchmark-exec.jar
to
jvpp-benchmark-1.18.07-SNAPSHOT-executable.jar
Change-Id: I593946dde3a6fc1717644e7315110aa94553d91d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Synchronously creates classify tables.
By default 20x2s warmup
and 100x2s measurement iterations are performed.
VPP is restarted after each iteration.
Each invocation of classifyAddDelTable uses tables
from precomputed set of size tableSetSize.
Tables from the set are used in round-robin fashion.
Run with:
sudo java -jar ./target/jvpp-benchmark-exec.jar \
ClassifyTableCreateBenchmark
To specify aclSetSize (default=100), use:
sudo java -jar ./target/jvpp-benchmark-exec.jar \
ClassifyTableCreateBenchmark -p tableSetSize=1000
To see more options, use
java -jar ./target/jvpp-benchmark-exec.jar -h
Change-Id: I387d879bc99dce45f93d66e8a99f7206f067b443
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Changes:
- use loopback interface instead of local0,
- if L3 (default) mode is selected, assing IP to the loop0 interface,
- if L2 mode is selected, create bridge domain and assing loop0 the BD.
To test interface in L2 mode, use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p mode=L2
Change-Id: I8450d42fe0d164c6dbedf1dacf1444a25d9932b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 6e5446c9d64df7f2cbde857d276e8685c9175089)
|
|
Fixes compilation issues caused by recent VPP ip.api change:
https://gerrit.fd.io/r/#/c/12693/
Change-Id: Ibbf2b9ceaf6b214f2cbe80e57bc21f6541680739
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I689adb9e139ff22a48cf82e27e8501d542edef72
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I5ab4465f25c13e0f3b89e2757bde9dd47c660732
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Creates ACL of size aclSize using acl_add_replace,
then assigns it to local0 using acl_interface_set_acl_list.
Then ACL is updated synchronously using acl_add_replace.
By default 20x2s warmup and 100x2s measurment iterations
are performed.
VPP is restarted after each iteration.
Each invocation of acl_add_replace uses ACL from precomputed
set of ACLs of size aclSetSize.
ACLs from the set are used in round-robin fashion.
Compile:
cd $HC2VPP_ROOT/it/jvpp-benchmark
mvn clean install
Run with:
sudo java -jar ./target/jvpp-benchmark-exec.jar
To specify aclSize (default=100), use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSize=1000
To specify aclSetSize (default=100), use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSetSize=1000
To see more options, use
java -jar ./target/jvpp-benchmark-exec.jar -h
Change-Id: I43691ba891940a1c341f8e9893c8598c811bc077
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- add full name for Pantheon Technologies
in copyright.
Change-Id: I653425ab952c09d4b8f9cedf4367bc8f56642ee3
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
ReflexiveListReaderCustomizer is not used due to HONEYCOMB-437
Change-Id: I62755aaedd6e179b349ec47e4a304399c4fa18cd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic52b386475836e8f1a749cccaafe3bb4e192d0b7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I2c767664f0178318a54ab1b4e14a7f7c92bf9c6e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Uses ietf-nat module as defined in
https://tools.ietf.org/html/draft-ietf-opsawg-nat-yang-14
Modifications to original model:
- ip-address is used instead of ip-prefix
(draft is not clear, see HC2VPP-325).
API changes relevant to HC/VPP:
- nat-config and nat-state merged into nat container
- nat-instances and nat-instace renamed
to instances and instance respectively
- external-ip-address-pool has new parent - policy list
- port-type choice was removed, port is now defined using
start-port-number and end-port-number leaves.
Missing end is equivalent to single-port-number case from
the older version.
TODOs:
- HC2VPP-322: single nat64Prefix per NAT instance
- HC2VPP-323: update postman collection
- HC2VPP-324: update CSIT tests.
Out of the scope of NAT model update:
- HC2VPP-326: support for nat-type handling
(vpp-nat model might become obsolete)
- HC2VPP-327: support external-realm container
(requires adding augmentations
that are alredy present in the interface-nat model).
Change-Id: Ie229a55b0a3f6ee3f8c97f4fd13c54a797a62438
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I737000a63c81d6812a8fb6aa6d4d8d6b87ffdc7d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fixes issue reported by Sonar.
Change-Id: Ibbf5f39358e551a9de9a9602050184aba3c02e92
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Removes delete method and dependency on FibTable service.
Change-Id: I7b34cb8f80bb00379846501ddd1b2c3d4f049bb6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
This patch updates MPLS models to:
- hc2vpp-ietf-mpls-static@2017-07-02.yang
(draft at: https://tools.ietf.org/html/draft-ietf-mpls-static-yang-05)
Due to odl bugs these models were changed,
see HC2VPP-307 for more details.
see mpls_postman_collection.json for examples and usage
Summary of changes:
- leaf operation in static-lsp->config was replaced
with mpls-operations-type
- paths were refactored and moved to static-lsp
- outgoing-labels container was introduced in
static-lsp->paths
- MPLS docker demo was updated to reflect model changes
Change-Id: I725ec5e4b3a1acea2aeabec41185949fc498ff26
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Change-Id: I2aceb52f9c3bace7107f203ed717fe7d1c649328
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
VPP doesn`t support auto create for Fib tables anymore,
when adding a new route.
Adding FibService to check if table exists and
FibTableService to add or delete ipv4/6 fib tables.
Note: Need to implement full support for Fib Table management later.
Change-Id: I15bd1b62357ab24a5eac970113bfcd2a52d29491
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
This patch updates (for support of SRv6 and MPLS) routing models to:
- hc2vpp-ietf-routing@2018-03-13.yang
(RFC 8349, https://tools.ietf.org/html/rfc8349)
- hc2vpp-ietf-ipv4-unicast-routing@2018-03-13.yang (RFC 8349)
- hc2vpp-ietf-ipv6-unicast-routing@2018-03-13.yang (RFC 8349)
- hc2vpp-ietf-ipv6-router-advertisements@2018-03-13 (RFC 8349)
- hc2vpp-ietf-routing-types@2017-12-04
(RFC 8294 ,https://tools.ietf.org/html/rfc8294)
Due to odl bugs these models were changed,
see HC2VPP-298 for more details.
Significant changes in updated models:
- Routing instance was removed, we used vpp-routing-instance
as single instance before, which is no longer needed.
- Routing-protocol and Routing-protocols were refactored to
Control-plane-protocol/s. Control-protocol now uses type and name as key
- Route Key was changed from id to ipPrefix
- Next-hop and Next-Hop-list were refactored
See attached routing_postman_collection.json for updated data structures
and examples for both IPv4 and IPv6 routes.
For router advertisements see routing_advertisments_postman_collection.json
Another fixes in this patch:
- fixes in MPLS module due to Routing model updates
- fixes doc module due to changes in Routing model
Change-Id: I33704a50061aef97dfbd73a7701ff6fe5274d6f0
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
this fixes bug when model augments case
and augment generated class does not contain qname.
Change-Id: I6b088d9dce46015e2c7c374b0197bedb5e868e79
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Fixing condition, because VPP-995 is not relevant anymore.
Change-Id: Ie444817c265f6a3e01b7694e60fd0ce76ec15bc5
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
VPP uses byte in range of 0 to 255 but when jni is used
and this type is converted to java byte which has range
of -128 to 127 it will convert it to negative value.
It then fails to create Ip6Prefix from this value.
Change-Id: Ic18686959682c153da2e4ee4a7f7841c9b56e5d3
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Shows how to configure VPP using nnclient library.
Requires following changes to ODL Netconf (HC2VPP-312):
- <copy-config> support:
https://git.opendaylight.org/gerrit/#/c/69606/
- various fixes to make ODL Netconf compatible with nnclient:
https://git.opendaylight.org/gerrit/#/c/71181/
and ncclient library with the following change:
https://github.com/marekgr/ncclient/commit/fbc31b06daf114c11dcb6bf1bcfac9127b2e0062
Change-Id: I3dceb8ead6e6f558a3c76f6c1c3b0ba5f7c52f93
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 2e96f3423a2619cd2aa9d188de513723416c15e6)
|
|
Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ib2eb3dbae76a1e9b5d98ce9e0d5eea9adba280cf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit e4c58493ce5265ea0d1e17d160c339401c406186)
|
|
See: HC2VPP-311
Change-Id: I37329703943483211635bc6729f6751f5537ded0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I7d0409cb2dbac9852f1ebea1784fec92c873c792
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit c9cda11170cafd5f7302e1f0e5cf55f48ba75872)
|
|
Removes conflict with Nat44 examples.
Change-Id: Ib61518d63e90718233cb72003ae2e5082105e86f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit de4df80104201c88edc089a5e43c41661153b719)
|
|
NAT instances are mapped to VPP's VRFs.
Default NAT instance (id=0) is mapped to default VRF,
which is allways present in VPP.
This patch forbids deleteion of default instance
to be consistent with VPP behaviour
and NAT instance reader implementation.
Change-Id: I71aa6986395e4ba67baaa75d90905b450434aca4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds special case for local0 in InterfaceCustomizer.deleteCurrentAttributes.
Change-Id: I1eb0826f90bd5dbbdb3b6cbb4b19ac5cadb1a68f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 48566d84cd9f4047d96541540cdfc9ef4936acf8)
|
|
Changes encoding of empty type to [null] (RFC8040)
from {} that was used so far.
Change-Id: I0ee8eace151e5bd69e99976c567f527d197024c0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit afa38679ef6c8916bed9d2e423521d5826d9db78)
|
|
Change-Id: I442181a17addd9ec61bfd503d468da13383090ce
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also sets version of VPP package dependencies to 18.07.
Change-Id: I87d5f538891d946b3a803afa987ab39c609f1ae1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I898843daff41d1923038886500d9d4e90bb220c2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I54f7e96fd923ee54f0186d19d90bd6d5e0275271
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Introduces honeycomb.version property in hc2vpp-parent
and adds various honeycomb artifacts to impl-parent
to reduce work when bumping honeycomb version.
Change-Id: I2f31f255aa5234c6890073b93b11f93e5cd444f7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fixes pyang validation issues of ietf-access-control-list@2016-07-08.yang
Change-Id: I6f6034ac854814315b09807bd81b33a3a77b6f40
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Requires https://gerrit.fd.io/r/#/c/11320/
Also changes encoding of empty type in json test files
to [null] (RFC8040) from {} that was used so far.
Honeycomb uses draft-ietf-netconf-restconf-02
of restconf compoments, so there might be
a bug in ODL or HC configuration.
To resolve it,
using RFC8040 version of ODL restconf components
should be considered (HONEYCOMB-430).
Not covered:
- postman collections update
- CSIT tests update
Change-Id: I820c46b5b0b22330e8529e8870c8bdad9508473b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ibe4a45d8c775f957d7e7d2ab215c7e483f1bc011
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|