summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-03-22mpls: update yang model metadataMarek Gradzki1-2/+5
Change-Id: Iba95103cceb31176ef6e0550ad0f7d2873bb569a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22lisp: fix issues found by pyangMarek Gradzki3-14/+11
Change-Id: Ia48f32dca30e74c3d132556a85e38d70802f6c83 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22l3: update yang model metadataMarek Gradzki2-1/+48
Adds organization and contact statements. Includes copyright in the module description. Change-Id: I1ae330d878e929025e034f6ac79537167e6f0aaf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22l3: fix issues found by pyangMarek Gradzki2-6/+8
Change-Id: If1bcf0584f3795ff50c893dbec53e17479a1cf8e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22interface-role: update yang model metadataMarek Gradzki1-0/+25
Adds organization and contact statements. Includes copyright in the module description. Change-Id: I6f56beac1b40edbbe24a1ffc5ec0fe7fba8afbb5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22interface-role: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: Ic773951c4d5177d47dc5b19d4e78e388d70019ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22dhcp: update yang model metadataMarek Gradzki1-2/+22
Adds organization and contact statements. Includes copyright in the module description. Change-Id: I59bb9d90390a6c9458faa628b3ffca5000f71c49 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22dhcp: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: Ife6b8703b2e6d9237701066dcd08dc8aa70afc6b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-21acl: update yang model metadataMarek Gradzki3-2/+71
Adds organization and contact statements. Includes copyright in the module description. Change-Id: If6b51ebbf74366722d16b725f6ddb058a7fec033 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-21acl: fix issues found by pyangMarek Gradzki3-30/+25
Fixes order of import statements, removes unused imports, etc. Change-Id: I53238e6b8bd217964b8951215b580f59e254bb9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-19HC2VPP-289: fix 802dot1 identifiersMarek Gradzki56-324/+328
Indentity names should not start with number, so prefix them with '_'. Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-13Update Docker file for demosMichal Cmarada1-1/+1
Change-Id: I618b060fbc2d76332cfaa60cac309fb96197797b Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-03-12Adapt mpls plugin to recent VPP API changesMarek Gradzki13-19/+137
MPLS API changes were introduced by: https://gerrit.fd.io/r/#/c/10781/ Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-02Revert "Fix generating of docs"Marek Gradzki1-24/+3
The actual issue occurs only locally if yang model was moved from one module to other and generated java files were not removed from the first location (see HC2VPP-286). Having doc generator failing in such cases might be annoying, but will also prevent duplicating yang models. This reverts commit 6abf9e092424f484e3f16b72d05f8fad0aa0f16e. Change-Id: I2e76ccc80f5a2f08a1b61df1d27ab41752b629b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-02Fix generating of docsMichal Cmarada1-3/+24
- when multiple ClassPaths pointed to the same class, ClassPathTypeIndex failed on duplicate key. Issue is resolved by ignoring other keys that refer to the same class and for every class key is genereated only once. Change-Id: I67fc783a335400c936cd52a0ba9118ab53402800 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-03-01Move ietf-routing-types to routing-apiMarek Gradzki1-0/+0
Current routing implementation does not use it, but other features planned for 18.04 (e.g. SRv6) will do. Change-Id: I0124ea27b5d24c1ac2e5ad196dc05df3a970d1c7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-02-27Fix mdsal-model-artifacts dependency for routing-apiMarek Gradzki1-12/+0
The routing-api module used outdated version of mdsal models (0.8.2-Beryllium-SR2). The mdsal-model-artifacts dependency is managed in the honeycomb-parent, so it should be removed from routing-api pom.xml. Change-Id: I31523870044990bbf288fd7ef062c8d8b0e01cc7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-02-23Remove usages of Sun's NullableMarek Gradzki3-3/+3
use javax.annotation.Nullable instead. Change-Id: Ia570d58dabb88c3b4ac7ef3a5e170d12434e9347 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 46f59f5928e191d991313308a144d6792f396d05)
2018-02-01Release notes update after releasing 1.18.01Marek Gradzki1-2/+8
Change-Id: I43c92fa286e11091edd62262354036626bf877e1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-31Update BGP INET examplesMarek Gradzki3-256/+170
- removes LU examples - moves postman collection to inet dir - updates BGP user guide Change-Id: I5844508bcd1898a9aec9b2d07fb66fb1cdf62098 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 33980cbf88a02a511c13d727eb6dc44d2155f571)
2018-01-31HC2VPP-270: BGP Prefix SID configuration examplesMarek Gradzki1-60/+81
Change-Id: Iaee4a94f2e306405338adf4aad3ead14ee2c094e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 74d447efebe9adc904d477b68d37ca709112ab4c)
2018-01-31HC2VPP-280: make next-hop optional for impose-and-forwardMarek Gradzki2-10/+35
Next hop address is not mandatory in VPP CLI, e.g. ip route add 192.0.2.11/32 via loop0 out-labels 3 Also hc2vpp-ietf-routing-types@2017-02-27.yang defines it as optional. Change-Id: I6bd63a3ac75d40b14ae553e128b7ebe43dee5118 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 710a7932be189a6bfc342b471efa1044f8a9798a)
2018-01-31HC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27Marek Gradzki1-1/+3
The orginal ietf-routing-types model supports them, but it was patched due to ODL BUG (MDSAL-269). Change-Id: I70745a1bcd49b7eda21085c0c092af5a0f6bfaa0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 9f215a89a3d600c79ec44862abcbaede1f94a857)
2018-01-31Make rpmbuild.sh use hc2vpp_versionMarek Gradzki1-1/+2
Another step towards hc2vpp release process. Change-Id: I873782b79368bbf7ee569920378ad53651802e37 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>