summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-28BD: remove redundant null check in BridgeDomainCustomizerstable/1804Marek Gradzki1-10/+8
Details objects cannot be null. Change-Id: I2a1c0991ec2ccfee4c6d35c77321c6cb67f4bb7f Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit fdc7c0fec54aa81ec251889deb5756bf0bc9e906)
2018-06-28lisp: fix sonar issues in SubtableDumpParamsMarek Gradzki1-5/+4
Change-Id: Ic53723df24e8c373fab3f2a63d21de39c1fac156 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 801ed98e2f6b6c3f82876e726aa120482210c427)
2018-06-27examples/ncclient: fix repo linkMarek Gradzki1-1/+1
Change-Id: If9b2f1d8fd22b7e9df3069dd65e7db2900027a92 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 0c9b1fe07a08c4bc6e12599f4a19369ebbb950fa)
2018-06-27examples/ncclient: use ncclient repo instead of forkMarek Gradzki1-1/+1
There is no need for using fork after support for <config> was merged: https://github.com/ncclient/ncclient/pull/232 Change-Id: I0bd4a1ce6c4263228771ae3a74e298640a0c2a40 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit a6ad368785d2584bd6b505c3f39461f9517212c8)
2018-06-15Add configuration for mtu in docker examplesMichal Cmarada1-0/+4
VPP is using mtu=9000 for interfaces that it creates. This fixes the mtu value for veth interfaces on linux side so they match the value configured in VPP for all veth interfaces in docker examples. Originally veth interfaces use smaller value since Linux automatically sets their MTU to be the smallest MTU of their slave ports. For VPP this means if a bigger frame is sent outside to the veth interface it will be dropped. Change-Id: I41117490ec80a0b2d2d2897493c2690f92766734 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech> (cherry picked from commit c6e27c7f0e1f1bc791878f3d0ca277500aad5fe6)
2018-06-01HC2VPP-342: fix when condition in l2-fib-entry definitionMarek Gradzki1-1/+1
ODL Yangtools does not enforce when statements, so model revision was not changed. Change-Id: If46fd3bfa7932a056e0a8064837d4c42de5cfdb5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-25jvpp-benchmark: add option to select interface modeMarek Gradzki4-11/+82
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>
2018-05-24jvpp-benchmark: add script for running various test casesMarek Gradzki1-0/+35
Change-Id: I689adb9e139ff22a48cf82e27e8501d542edef72 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-24jvpp-benchmark: fix IP generationMarek Gradzki4-15/+86
Change-Id: I5ab4465f25c13e0f3b89e2757bde9dd47c660732 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-24JVpp JMH benchmarkMarek Gradzki6-0/+432
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>
2018-05-16docker: fix path in copy_packages.shMarek Gradzki1-1/+1
Change-Id: I737000a63c81d6812a8fb6aa6d4d8d6b87ffdc7d Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 03f6001049d60c59c81408c472996cba4e703a75)
2018-05-11NAT: fix port readMarek Gradzki2-25/+70
Change-Id: I2aceb52f9c3bace7107f203ed717fe7d1c649328 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 6e6b56482dddb1575820b62ae4a39b6006293e9a)
2018-05-03HC2VPP-314 - fix for IPV6 routes with 128 subnet prefixMichal Cmarada3-3/+3
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>
2018-05-02examples/ncclient: update Readme.txt with more detailed instructionsMarek Gradzki1-4/+22
Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit b104beedcc9528ce2680e77a041ac26dc3f6a9bf)
2018-04-30Set Hc2vpp version to 1.18.04.1-SNAPSHOTMarek Gradzki75-162/+162
Change-Id: Ie2307b319b361b9dc29e5293c3163e4f53856311 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30Hc2vpp 1.18.04 releasev1.18.04Marek Gradzki73-160/+160
Change-Id: Ie9d36ef641e2e6acc1636e3d4affc92a91866f07 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30javadoc: add missing <name> in pom filesMarek Gradzki11-0/+11
Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30Hc2vpp 1.18.04 release notesMarek Gradzki1-0/+4
Change-Id: I0531ce7aaf16cf4ea7ef679dc3ec702e29b391bd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30Move docker files to examples directoryMarek Gradzki35-0/+0
Change-Id: Ib2eb3dbae76a1e9b5d98ce9e0d5eea9adba280cf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30HC2VPP-313: <copy-config> examples using nnclient libraryMarek Gradzki18-0/+1530
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>
2018-04-30Update NSH_SFC version from 18.04-RC1 to 18.04Marek Gradzki1-7/+1
Change-Id: I4957696a440cb5b04a8dacb7503409e49feb5ac2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30Set jvpp version to 18.04Marek Gradzki11-18/+20
NSH_SFC release artifacts are not available yet, so 18.04-RC1 version was used. Change-Id: I56e8810e4dd7dee3f15100103ee183bcfce41c12 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-27api-docs: update dependencies version to match hc2vpp parentMarek Gradzki2-4/+4
See: HC2VPP-311 Change-Id: Ib2a1d8cb8350538b16bfb8831b1a175b9e58c281 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-26Set csit-test-branch to rls1804Marek Gradzki1-1/+1
Change-Id: I399e87c287b02cffd12ad8b73da43e42cf05852f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-23Release notes: update ODL references in the BGP user guideMarek Gradzki1-3/+3
Change-Id: I7d0409cb2dbac9852f1ebea1784fec92c873c792 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-20nat: update pool-id for Nat64 in the postman collectionMarek Gradzki1-2/+2
Removes conflict with Nat44 examples. Change-Id: Ib61518d63e90718233cb72003ae2e5082105e86f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-20Forbid delete of default NAT instanceMarek Gradzki1-0/+7
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>
2018-04-19HC2VPP-308: forbid local0 deletionMarek Gradzki2-4/+23
Adds special case for local0 in InterfaceCustomizer.deleteCurrentAttributes. Change-Id: I1eb0826f90bd5dbbdb3b6cbb4b19ac5cadb1a68f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-18Adapt acl_postman_collection.json to Oxygen bump (HONEYCOMB-424)Marek Gradzki1-5/+5
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>
2018-04-09Set Hc2vpp version back to 1.18.04-SNAPSHOTMarek Gradzki72-159/+159
Change-Id: I7b191fa93bbdfbcf3a3558b0fbf48d5c1e524b30 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Hc2vpp 1.18.04-RC1v1.18.04-RC1Marek Gradzki72-159/+159
Change-Id: Icf7b2a3c3f9a6b58be82a1eaafbc1386eb4d3831 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Introduce stable/1804 branchMarek Gradzki3-3/+4
This patch: - updates <project-branch> in the release notes, - sets stable/1804 as default branch for gitreview, - updates RPM/DEB release to RC1~$BUILD_NUMBER Change-Id: I2fa5a7be12bb35d0a2b4705e47ea37c961692ff7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09release notes: set <project-odl-version> to oxygenMarek Gradzki1-1/+1
Change-Id: I54f7e96fd923ee54f0186d19d90bd6d5e0275271 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09HC2VPP-283: cleanup honeycomb dependency versionsMarek Gradzki25-86/+70
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>
2018-04-09HC2VPP-290: fix access-control-list-ref definitionMarek Gradzki1-1/+5
Fixes pyang validation issues of ietf-access-control-list@2016-07-08.yang Change-Id: I6f6034ac854814315b09807bd81b33a3a77b6f40 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Remove unused method parametersMarek Gradzki10-29/+25
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-04Adapt hc2vpp to ODL Oxygen (HONEYCOMB-424)Marek Gradzki17-84/+96
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>
2018-04-03naming-context-api: update description of yang modulesMarek Gradzki2-5/+4
Change-Id: Ibe4a45d8c775f957d7e7d2ab215c7e483f1bc011 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03api: update copyright to match revision informationMarek Gradzki26-26/+40
Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03Fix interface-nat@2017-08-16.yang revision informationMarek Gradzki1-1/+1
Change-Id: Ie8d6faf941e5b4a574ad51f653cde71f1f3dacc2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03Update metadata of hc2vpp YANG modelsMarek Gradzki32-121/+742
Adds organization and contact statements. Includes copyright in the description of modules. Fixes minor formatting issues. Change-Id: I9fa90c24e956d5cb2c3fde8621ed289f383501ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03nsh: remove unused dependenciesMarek Gradzki2-31/+0
Change-Id: I9c4fd1250a5b30217464181587760af39cdeb2f8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03nsh: fix issues found by pyangMarek Gradzki1-19/+4
Change-Id: I7312cdd3d37657d8ea10cb36bd13b48a8d353667 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22ioam-sb-export: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: I3f3200f98cb2e685019ea46b2682a94db92611ec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22multi-naming-context: fix issues found by pyangMarek Gradzki1-4/+2
Change-Id: I116daf1c7cffdbe311e0308c8fe67809c303aecf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22vpp-classifier: fix issues found by pyangMarek Gradzki6-47/+41
Change-Id: Ice51b4974a37e4097787e47d735da8849f6d816f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22v3po: fix issues found by pyangMarek Gradzki6-74/+71
Change-Id: Icbe45830641ba89a1e136401528acdb2b836d12e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22samples: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: I7506e9d37daef097b252a07f30c9d9f80790cf11 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22routing: fix issues found by pyangMarek Gradzki3-22/+25
Change-Id: If6db0aa4d02b15c4997d9552e678d6d9f58a756a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22nat: fix issues found by pyangMarek Gradzki4-29/+26
Change-Id: Ic4375e85684a035323499963172e59042b0f3dcf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>