Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Change-Id: Ie8d6faf941e5b4a574ad51f653cde71f1f3dacc2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
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>
|
|
Change-Id: I9c4fd1250a5b30217464181587760af39cdeb2f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I7312cdd3d37657d8ea10cb36bd13b48a8d353667
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I3f3200f98cb2e685019ea46b2682a94db92611ec
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I116daf1c7cffdbe311e0308c8fe67809c303aecf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ice51b4974a37e4097787e47d735da8849f6d816f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Icbe45830641ba89a1e136401528acdb2b836d12e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I7506e9d37daef097b252a07f30c9d9f80790cf11
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: If6db0aa4d02b15c4997d9552e678d6d9f58a756a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic4375e85684a035323499963172e59042b0f3dcf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Iba95103cceb31176ef6e0550ad0f7d2873bb569a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ia48f32dca30e74c3d132556a85e38d70802f6c83
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds organization and contact statements.
Includes copyright in the module description.
Change-Id: I1ae330d878e929025e034f6ac79537167e6f0aaf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: If1bcf0584f3795ff50c893dbec53e17479a1cf8e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds organization and contact statements.
Includes copyright in the module description.
Change-Id: I6f56beac1b40edbbe24a1ffc5ec0fe7fba8afbb5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic773951c4d5177d47dc5b19d4e78e388d70019ac
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds organization and contact statements.
Includes copyright in the module description.
Change-Id: I59bb9d90390a6c9458faa628b3ffca5000f71c49
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ife6b8703b2e6d9237701066dcd08dc8aa70afc6b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds organization and contact statements.
Includes copyright in the module description.
Change-Id: If6b51ebbf74366722d16b725f6ddb058a7fec033
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fixes order of import statements, removes unused imports, etc.
Change-Id: I53238e6b8bd217964b8951215b580f59e254bb9e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Indentity names should not start with number, so prefix them with '_'.
Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I618b060fbc2d76332cfaa60cac309fb96197797b
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|