hc2vpp.git
6 years agoHC2VPP-339: convert postman collections to v2.1.0 format 37/12837/2
Marek Gradzki [Fri, 1 Jun 2018 05:28:47 +0000 (07:28 +0200)]
HC2VPP-339: convert postman collections to v2.1.0 format

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>
6 years agonat: postman collection cleanup 28/12828/2
Marek Gradzki [Thu, 31 May 2018 09:29:13 +0000 (11:29 +0200)]
nat: postman collection cleanup

Change-Id: I25a7742289753bd0bb2ef49d4a1e609cf8570a9d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoConvert NAT postman collection to v2.1.0 27/12827/3
Marek Gradzki [Thu, 31 May 2018 09:14:07 +0000 (11:14 +0200)]
Convert NAT postman collection to v2.1.0

Old collection was renamed to
nat_postman_collection_v1.0.0.json

Change-Id: I34994f4e3bfaa8e6937b318d2a4c059a1523dbfc
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoHC2VPP-325: use ip-prefix instead of ip-address in ietf-nat@2018-02-23.yang 10/12810/2
Marek Gradzki [Wed, 30 May 2018 11:45:41 +0000 (13:45 +0200)]
HC2VPP-325: use ip-prefix instead of ip-address in ietf-nat@2018-02-23.yang

Only /32 prefix for IPv4 and /128 for IPv6 are supported.

Change-Id: I875b1eb6c2cb43da54de0a731aeeb9757b39c39c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoUpdate AddressTranslator 25/12825/1
Michal Cmarada [Thu, 31 May 2018 07:34:43 +0000 (09:34 +0200)]
Update AddressTranslator

- added handling of IpPrefixe
- added UnitTests for the whole class

Change-Id: I9fbdcce1ca8734b7415c55559ef65e553e737e44
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoHC2VPP-336: disable NSH plugin 22/12822/3
Marek Gradzki [Thu, 31 May 2018 06:14:24 +0000 (08:14 +0200)]
HC2VPP-336: disable NSH plugin

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>
6 years agojvpp-benchmark: introduce abstract JVppBenchmark 89/12789/1
Marek Gradzki [Tue, 29 May 2018 14:54:49 +0000 (16:54 +0200)]
jvpp-benchmark: introduce abstract JVppBenchmark

Change-Id: I957edd6813b1be43232845d9bf6a4f13ed01ecfb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agojvpp-benchmark: include project version in the shaded artifact name 86/12786/1
Marek Gradzki [Tue, 29 May 2018 11:40:42 +0000 (13:40 +0200)]
jvpp-benchmark: include project version in the shaded artifact name

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>
6 years agojvpp-benchmark: measure classifyAddDelTable 78/12778/1
Marek Gradzki [Mon, 28 May 2018 15:56:18 +0000 (17:56 +0200)]
jvpp-benchmark: measure classifyAddDelTable

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>
6 years agojvpp-benchmark: add option to select interface mode 42/12742/2
Marek Gradzki [Fri, 25 May 2018 06:21:20 +0000 (08:21 +0200)]
jvpp-benchmark: add option to select interface mode

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)

6 years agoProxyRangeCustomizer: use ProxyArp type 46/12746/1
Marek Gradzki [Fri, 25 May 2018 13:53:18 +0000 (15:53 +0200)]
ProxyRangeCustomizer: use ProxyArp type

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>
6 years agojvpp-benchmark: add script for running various test cases 15/12715/1
Marek Gradzki [Thu, 24 May 2018 10:47:27 +0000 (12:47 +0200)]
jvpp-benchmark: add script for running various test cases

Change-Id: I689adb9e139ff22a48cf82e27e8501d542edef72
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agojvpp-benchmark: fix IP generation 13/12713/1
Marek Gradzki [Thu, 24 May 2018 08:49:51 +0000 (10:49 +0200)]
jvpp-benchmark: fix IP generation

Change-Id: I5ab4465f25c13e0f3b89e2757bde9dd47c660732
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoJVpp JMH benchmark 07/12707/3
Marek Gradzki [Mon, 21 May 2018 12:43:45 +0000 (14:43 +0200)]
JVpp JMH benchmark

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>
6 years agoFix copyright for Pantheon 48/12648/1
Michal Cmarada [Fri, 18 May 2018 12:49:15 +0000 (14:49 +0200)]
Fix copyright for Pantheon

- add full name for Pantheon Technologies
  in copyright.

Change-Id: I653425ab952c09d4b8f9cedf4367bc8f56642ee3
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoHC2VPP-320: ensure at most one policy is configured per NAT instance 90/12590/2
Marek Gradzki [Wed, 16 May 2018 10:42:01 +0000 (12:42 +0200)]
HC2VPP-320: ensure at most one policy is configured per NAT instance

ReflexiveListReaderCustomizer is not used due to HONEYCOMB-437

Change-Id: I62755aaedd6e179b349ec47e4a304399c4fa18cd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoHC2VPP-322: ensure at most one nat64-prefix is configured per NAT instance 89/12589/2
Marek Gradzki [Wed, 16 May 2018 10:02:01 +0000 (12:02 +0200)]
HC2VPP-322: ensure at most one nat64-prefix is configured per NAT instance

Change-Id: Ic52b386475836e8f1a749cccaafe3bb4e192d0b7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoHC2VPP-323: update postman collection after NAT model update 88/12588/2
Marek Gradzki [Wed, 16 May 2018 09:32:48 +0000 (11:32 +0200)]
HC2VPP-323: update postman collection after NAT model update

Change-Id: I2c767664f0178318a54ab1b4e14a7f7c92bf9c6e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agoHC2VPP-321: bump nat model to ietf-nat@2018-02-23.yang 16/12516/10
Marek Gradzki [Thu, 10 May 2018 06:41:03 +0000 (08:41 +0200)]
HC2VPP-321: bump nat model to ietf-nat@2018-02-23.yang

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>
6 years agodocker: fix path in copy_packages.sh 95/12595/1
Marek Gradzki [Wed, 16 May 2018 12:04:35 +0000 (14:04 +0200)]
docker: fix path in copy_packages.sh

Change-Id: I737000a63c81d6812a8fb6aa6d4d8d6b87ffdc7d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agorouting: log FibTableDoesNotExistException in ControlPlaneProtocolCustomizer 82/12582/1
Marek Gradzki [Wed, 16 May 2018 06:01:07 +0000 (08:01 +0200)]
routing: log FibTableDoesNotExistException in ControlPlaneProtocolCustomizer

Fixes issue reported by Sonar.

Change-Id: Ibbf5f39358e551a9de9a9602050184aba3c02e92
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
6 years agorouting: remove unused code from FibTableRequest 81/12581/2
Marek Gradzki [Wed, 16 May 2018 05:52:11 +0000 (07:52 +0200)]
routing: remove unused code from FibTableRequest

Removes delete method and dependency on FibTable service.

Change-Id: I7b34cb8f80bb00379846501ddd1b2c3d4f049bb6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-297 - MPLS model updates 96/11496/10
Michal Cmarada [Fri, 11 May 2018 10:16:10 +0000 (12:16 +0200)]
HC2VPP-297 - MPLS model updates

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>
7 years agoNAT: fix port read 34/12534/1
Marek Gradzki [Fri, 11 May 2018 07:07:04 +0000 (09:07 +0200)]
NAT: fix port read

Change-Id: I2aceb52f9c3bace7107f203ed717fe7d1c649328
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-317 - Add FibService and FibTableService 78/12378/6
Michal Cmarada [Thu, 10 May 2018 08:14:07 +0000 (10:14 +0200)]
HC2VPP-317 - Add FibService and FibTableService

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>
7 years agoHC2VPP-253 - Bump routing models 54/10954/31
Michal Cmarada [Fri, 4 May 2018 14:13:09 +0000 (16:13 +0200)]
HC2VPP-253 - Bump routing models

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>
7 years agoHC2VPP-316 - Fix docs generation for augments without qname 65/12165/6
Michal Cmarada [Fri, 4 May 2018 09:49:52 +0000 (11:49 +0200)]
HC2VPP-316 - Fix docs generation for augments without qname

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>
7 years agoHC2VPP-316 - Fix isTableLookup check 96/12496/1
Michal Cmarada [Wed, 9 May 2018 10:20:22 +0000 (12:20 +0200)]
HC2VPP-316 - Fix isTableLookup check

Fixing condition, because VPP-995 is not relevant anymore.

Change-Id: Ie444817c265f6a3e01b7694e60fd0ce76ec15bc5
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
7 years agoHC2VPP-314 - fix for IPV6 routes with 128 subnet prefix 50/12350/3
Michal Cmarada [Thu, 3 May 2018 07:42:34 +0000 (09:42 +0200)]
HC2VPP-314 - fix for IPV6 routes with 128 subnet prefix

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>
7 years agoexamples/ncclient: update Readme.txt with more detailed instructions 28/12328/1
Marek Gradzki [Wed, 2 May 2018 12:20:29 +0000 (14:20 +0200)]
examples/ncclient: update Readme.txt with more detailed instructions

Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-313: <copy-config> examples using nnclient library 17/12317/2
Marek Gradzki [Wed, 18 Apr 2018 06:19:36 +0000 (08:19 +0200)]
HC2VPP-313: <copy-config> examples using nnclient library

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)

7 years agojavadoc: add missing <name> in pom files 19/12319/1
Marek Gradzki [Mon, 30 Apr 2018 07:52:24 +0000 (09:52 +0200)]
javadoc: add missing <name> in pom files

Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoMove docker files to examples directory 18/12318/1
Marek Gradzki [Mon, 30 Apr 2018 07:03:13 +0000 (09:03 +0200)]
Move docker files to examples directory

Change-Id: Ib2eb3dbae76a1e9b5d98ce9e0d5eea9adba280cf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit e4c58493ce5265ea0d1e17d160c339401c406186)

7 years agoapi-docs: update dependencies version to match hc2vpp parent 57/12257/1
Marek Gradzki [Fri, 27 Apr 2018 12:29:02 +0000 (14:29 +0200)]
api-docs: update dependencies version to match hc2vpp parent

See: HC2VPP-311

Change-Id: I37329703943483211635bc6729f6751f5537ded0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRelease notes: update ODL references in the BGP user guide 77/11977/1
Marek Gradzki [Mon, 23 Apr 2018 05:08:28 +0000 (07:08 +0200)]
Release notes: update ODL references in the BGP user guide

Change-Id: I7d0409cb2dbac9852f1ebea1784fec92c873c792
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit c9cda11170cafd5f7302e1f0e5cf55f48ba75872)

7 years agonat: update pool-id for Nat64 in the postman collection 65/11965/2
Marek Gradzki [Fri, 20 Apr 2018 12:17:08 +0000 (14:17 +0200)]
nat: update pool-id for Nat64 in the postman collection

Removes conflict with Nat44 examples.

Change-Id: Ib61518d63e90718233cb72003ae2e5082105e86f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit de4df80104201c88edc089a5e43c41661153b719)

7 years agoForbid delete of default NAT instance 44/11944/1
Marek Gradzki [Fri, 20 Apr 2018 05:02:03 +0000 (07:02 +0200)]
Forbid delete of default NAT instance

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>
7 years agoHC2VPP-308: forbid local0 deletion 27/11927/1
Marek Gradzki [Thu, 19 Apr 2018 10:27:16 +0000 (12:27 +0200)]
HC2VPP-308: forbid local0 deletion

Adds special case for local0 in InterfaceCustomizer.deleteCurrentAttributes.

Change-Id: I1eb0826f90bd5dbbdb3b6cbb4b19ac5cadb1a68f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 48566d84cd9f4047d96541540cdfc9ef4936acf8)

7 years agoAdapt acl_postman_collection.json to Oxygen bump (HONEYCOMB-424) 68/11868/1
Marek Gradzki [Wed, 18 Apr 2018 06:30:30 +0000 (08:30 +0200)]
Adapt acl_postman_collection.json to Oxygen bump (HONEYCOMB-424)

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)

7 years agolisp: remove unused project.translate.groupId property 36/11636/1
Marek Gradzki [Tue, 10 Apr 2018 04:49:23 +0000 (06:49 +0200)]
lisp: remove unused project.translate.groupId property

Change-Id: I442181a17addd9ec61bfd503d468da13383090ce
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBump jvpp version to 18.07-SNAPSHOT 27/11627/2
Marek Gradzki [Mon, 9 Apr 2018 15:47:12 +0000 (17:47 +0200)]
Bump jvpp version to 18.07-SNAPSHOT

Also sets version of VPP package dependencies to 18.07.

Change-Id: I87d5f538891d946b3a803afa987ab39c609f1ae1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agorelease notes: update jira and project version to 18.07 26/11626/2
Marek Gradzki [Mon, 9 Apr 2018 15:43:06 +0000 (17:43 +0200)]
release notes: update jira and project version to 18.07

Change-Id: I898843daff41d1923038886500d9d4e90bb220c2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBump Hc2vpp version to 1.18.07-SNAPSHOT 25/11625/3
Marek Gradzki [Mon, 9 Apr 2018 15:37:32 +0000 (17:37 +0200)]
Bump Hc2vpp version to 1.18.07-SNAPSHOT

Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agorelease notes: set <project-odl-version> to oxygen 19/11619/2
Marek Gradzki [Mon, 9 Apr 2018 14:19:53 +0000 (16:19 +0200)]
release notes: set <project-odl-version> to oxygen

Change-Id: I54f7e96fd923ee54f0186d19d90bd6d5e0275271
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-283: cleanup honeycomb dependency versions 11/11611/2
Marek Gradzki [Mon, 9 Apr 2018 13:23:17 +0000 (15:23 +0200)]
HC2VPP-283: cleanup honeycomb dependency versions

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>
7 years agoHC2VPP-290: fix access-control-list-ref definition 90/11590/1
Marek Gradzki [Mon, 9 Apr 2018 06:07:55 +0000 (08:07 +0200)]
HC2VPP-290: fix access-control-list-ref definition

Fixes pyang validation issues of ietf-access-control-list@2016-07-08.yang

Change-Id: I6f6034ac854814315b09807bd81b33a3a77b6f40
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRemove unused method parameters 89/11589/1
Marek Gradzki [Mon, 9 Apr 2018 05:13:24 +0000 (07:13 +0200)]
Remove unused method parameters

Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoAdapt hc2vpp to ODL Oxygen (HONEYCOMB-424) 43/10643/5
Marek Gradzki [Mon, 19 Feb 2018 14:03:19 +0000 (15:03 +0100)]
Adapt hc2vpp to ODL Oxygen (HONEYCOMB-424)

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>
7 years agonaming-context-api: update description of yang modules 93/11493/1
Marek Gradzki [Tue, 3 Apr 2018 12:30:02 +0000 (14:30 +0200)]
naming-context-api: update description of yang modules

Change-Id: Ibe4a45d8c775f957d7e7d2ab215c7e483f1bc011
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoapi: update copyright to match revision information 92/11492/1
Marek Gradzki [Tue, 3 Apr 2018 12:17:23 +0000 (14:17 +0200)]
api: update copyright to match revision information

Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFix interface-nat@2017-08-16.yang revision information 91/11491/1
Marek Gradzki [Tue, 3 Apr 2018 12:08:07 +0000 (14:08 +0200)]
Fix interface-nat@2017-08-16.yang revision information

Change-Id: Ie8d6faf941e5b4a574ad51f653cde71f1f3dacc2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate metadata of hc2vpp YANG models 08/11308/4
Marek Gradzki [Thu, 22 Mar 2018 13:55:10 +0000 (14:55 +0100)]
Update metadata of hc2vpp YANG models

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>
7 years agonsh: remove unused dependencies 95/11295/3
Marek Gradzki [Thu, 22 Mar 2018 11:21:59 +0000 (12:21 +0100)]
nsh: remove unused dependencies

Change-Id: I9c4fd1250a5b30217464181587760af39cdeb2f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agonsh: fix issues found by pyang 92/11292/3
Marek Gradzki [Thu, 22 Mar 2018 10:00:47 +0000 (11:00 +0100)]
nsh: fix issues found by pyang

Change-Id: I7312cdd3d37657d8ea10cb36bd13b48a8d353667
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoioam-sb-export: fix issues found by pyang 05/11305/1
Marek Gradzki [Thu, 22 Mar 2018 13:11:00 +0000 (14:11 +0100)]
ioam-sb-export: fix issues found by pyang

Change-Id: I3f3200f98cb2e685019ea46b2682a94db92611ec
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agomulti-naming-context: fix issues found by pyang 04/11304/1
Marek Gradzki [Thu, 22 Mar 2018 13:06:07 +0000 (14:06 +0100)]
multi-naming-context: fix issues found by pyang

Change-Id: I116daf1c7cffdbe311e0308c8fe67809c303aecf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agovpp-classifier: fix issues found by pyang 03/11303/1
Marek Gradzki [Thu, 22 Mar 2018 13:02:49 +0000 (14:02 +0100)]
vpp-classifier: fix issues found by pyang

Change-Id: Ice51b4974a37e4097787e47d735da8849f6d816f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agov3po: fix issues found by pyang 01/11301/1
Marek Gradzki [Thu, 22 Mar 2018 11:48:19 +0000 (12:48 +0100)]
v3po: fix issues found by pyang

Change-Id: Icbe45830641ba89a1e136401528acdb2b836d12e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agosamples: fix issues found by pyang 00/11300/1
Marek Gradzki [Thu, 22 Mar 2018 11:34:39 +0000 (12:34 +0100)]
samples: fix issues found by pyang

Change-Id: I7506e9d37daef097b252a07f30c9d9f80790cf11
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agorouting: fix issues found by pyang 96/11296/1
Marek Gradzki [Thu, 22 Mar 2018 11:30:30 +0000 (12:30 +0100)]
routing: fix issues found by pyang

Change-Id: If6db0aa4d02b15c4997d9552e678d6d9f58a756a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agonat: fix issues found by pyang 91/11291/1
Marek Gradzki [Thu, 22 Mar 2018 09:49:59 +0000 (10:49 +0100)]
nat: fix issues found by pyang

Change-Id: Ic4375e85684a035323499963172e59042b0f3dcf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agompls: update yang model metadata 90/11290/1
Marek Gradzki [Thu, 22 Mar 2018 09:41:20 +0000 (10:41 +0100)]
mpls: update yang model metadata

Change-Id: Iba95103cceb31176ef6e0550ad0f7d2873bb569a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agolisp: fix issues found by pyang 87/11287/1
Marek Gradzki [Thu, 22 Mar 2018 07:17:05 +0000 (08:17 +0100)]
lisp: fix issues found by pyang

Change-Id: Ia48f32dca30e74c3d132556a85e38d70802f6c83
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agol3: update yang model metadata 85/11285/2
Marek Gradzki [Thu, 22 Mar 2018 06:58:36 +0000 (07:58 +0100)]
l3: update yang model metadata

Adds organization and contact statements.
Includes copyright in the module description.

Change-Id: I1ae330d878e929025e034f6ac79537167e6f0aaf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agol3: fix issues found by pyang 84/11284/1
Marek Gradzki [Thu, 22 Mar 2018 06:31:28 +0000 (07:31 +0100)]
l3: fix issues found by pyang

Change-Id: If1bcf0584f3795ff50c893dbec53e17479a1cf8e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agointerface-role: update yang model metadata 82/11282/1
Marek Gradzki [Thu, 22 Mar 2018 06:13:53 +0000 (07:13 +0100)]
interface-role: update yang model metadata

Adds organization and contact statements.
Includes copyright in the module description.

Change-Id: I6f56beac1b40edbbe24a1ffc5ec0fe7fba8afbb5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agointerface-role: fix issues found by pyang 79/11279/1
Marek Gradzki [Thu, 22 Mar 2018 05:57:18 +0000 (06:57 +0100)]
interface-role: fix issues found by pyang

Change-Id: Ic773951c4d5177d47dc5b19d4e78e388d70019ac
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agodhcp: update yang model metadata 78/11278/1
Marek Gradzki [Thu, 22 Mar 2018 05:51:26 +0000 (06:51 +0100)]
dhcp: update yang model metadata

Adds organization and contact statements.
Includes copyright in the module description.

Change-Id: I59bb9d90390a6c9458faa628b3ffca5000f71c49
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agodhcp: fix issues found by pyang 77/11277/1
Marek Gradzki [Thu, 22 Mar 2018 05:37:38 +0000 (06:37 +0100)]
dhcp: fix issues found by pyang

Change-Id: Ife6b8703b2e6d9237701066dcd08dc8aa70afc6b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoacl: update yang model metadata 68/11268/2
Marek Gradzki [Wed, 21 Mar 2018 16:17:53 +0000 (17:17 +0100)]
acl: update yang model metadata

Adds organization and contact statements.
Includes copyright in the module description.

Change-Id: If6b51ebbf74366722d16b725f6ddb058a7fec033
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoacl: fix issues found by pyang 54/11254/1
Marek Gradzki [Wed, 21 Mar 2018 13:14:46 +0000 (14:14 +0100)]
acl: fix issues found by pyang

Fixes order of import statements, removes unused imports, etc.

Change-Id: I53238e6b8bd217964b8951215b580f59e254bb9e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-289: fix 802dot1 identifiers 28/11228/1
Marek Gradzki [Mon, 19 Mar 2018 19:07:53 +0000 (20:07 +0100)]
HC2VPP-289: fix 802dot1 identifiers

Indentity names should not start with number, so prefix them with '_'.

Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate Docker file for demos 15/11115/2
Michal Cmarada [Tue, 13 Mar 2018 13:18:00 +0000 (14:18 +0100)]
Update Docker file for demos

Change-Id: I618b060fbc2d76332cfaa60cac309fb96197797b
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
7 years agoAdapt mpls plugin to recent VPP API changes 72/11072/2
Marek Gradzki [Mon, 12 Mar 2018 07:50:58 +0000 (08:50 +0100)]
Adapt mpls plugin to recent VPP API changes

MPLS API changes were introduced by:
https://gerrit.fd.io/r/#/c/10781/

Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRevert "Fix generating of docs" 33/10933/1
Marek Gradzki [Fri, 2 Mar 2018 13:12:01 +0000 (14:12 +0100)]
Revert "Fix generating of docs"

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>
7 years agoFix generating of docs 31/10931/1
Michal Cmarada [Fri, 2 Mar 2018 12:03:09 +0000 (13:03 +0100)]
Fix generating of docs

- 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>
7 years agoMove ietf-routing-types to routing-api 24/10924/1
Marek Gradzki [Thu, 1 Mar 2018 15:44:53 +0000 (16:44 +0100)]
Move ietf-routing-types to routing-api

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>
7 years agoFix mdsal-model-artifacts dependency for routing-api 32/10832/1
Marek Gradzki [Tue, 27 Feb 2018 09:24:18 +0000 (10:24 +0100)]
Fix mdsal-model-artifacts dependency for routing-api

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>
7 years agoRemove usages of Sun's Nullable 72/10772/1
Marek Gradzki [Fri, 23 Feb 2018 08:40:13 +0000 (09:40 +0100)]
Remove usages of Sun's Nullable

use javax.annotation.Nullable instead.

Change-Id: Ia570d58dabb88c3b4ac7ef3a5e170d12434e9347
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 46f59f5928e191d991313308a144d6792f396d05)

7 years agoRelease notes update after releasing 1.18.01 72/10372/2
Marek Gradzki [Thu, 1 Feb 2018 05:52:24 +0000 (06:52 +0100)]
Release notes update after releasing 1.18.01

Change-Id: I43c92fa286e11091edd62262354036626bf877e1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate BGP INET examples 65/10365/1
Marek Gradzki [Wed, 31 Jan 2018 14:38:48 +0000 (15:38 +0100)]
Update BGP INET examples

- 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)

7 years agoHC2VPP-270: BGP Prefix SID configuration examples 64/10364/1
Marek Gradzki [Wed, 31 Jan 2018 14:27:33 +0000 (15:27 +0100)]
HC2VPP-270: BGP Prefix SID configuration examples

Change-Id: Iaee4a94f2e306405338adf4aad3ead14ee2c094e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 74d447efebe9adc904d477b68d37ca709112ab4c)

7 years agoHC2VPP-280: make next-hop optional for impose-and-forward 60/10360/2
Marek Gradzki [Wed, 31 Jan 2018 13:39:29 +0000 (14:39 +0100)]
HC2VPP-280: make next-hop optional for impose-and-forward

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)

7 years agoHC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27 56/10356/3
Marek Gradzki [Wed, 31 Jan 2018 13:39:29 +0000 (14:39 +0100)]
HC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27

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)

7 years agoMake rpmbuild.sh use hc2vpp_version 54/10354/2
Marek Gradzki [Thu, 18 Jan 2018 11:03:34 +0000 (12:03 +0100)]
Make rpmbuild.sh use hc2vpp_version

Another step towards hc2vpp release process.

Change-Id: I873782b79368bbf7ee569920378ad53651802e37
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoAdd direct update support for static lsp 52/10352/2
Marek Gradzki [Wed, 17 Jan 2018 15:25:36 +0000 (16:25 +0100)]
Add direct update support for static lsp

This is workaround for HONEYCOMB-421
(subtree writers + default update does not work well currently).

Fixes HC2VPP-277 (at least basic scenarios).

Change-Id: I7659436d6c376bdc63eaa36291d5c08792faad94
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit fc06ca33bc587ba2acff16e59645b3d386aa498d)

7 years agoUpdate VPP API to Yang index 55/10355/1
Marek Gradzki [Wed, 31 Jan 2018 08:53:25 +0000 (09:53 +0100)]
Update VPP API to Yang index

Adds MPLS and BGP prefix SID modules

Change-Id: Ieae6223a9e24253b525cb65b72119525a6aa6a23
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit a040042f60d22fe75047f223fe12ca6295f97f41)

7 years agoFix jvpp install scripts 89/10189/1
Marek Gradzki [Mon, 22 Jan 2018 11:33:07 +0000 (12:33 +0100)]
Fix jvpp install scripts

Change-Id: Ia1fdba64b6dacd1cb7c824d5cb34d98face1ec52
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit c4c23ef02f8f8a4198637458ebf8558d778bfa49)

7 years agoDocument csit-test-branch file 90/10090/1
Marek Gradzki [Fri, 12 Jan 2018 13:05:30 +0000 (14:05 +0100)]
Document csit-test-branch file

Change-Id: I6f7c8699a4cdadb69a2682bc495f6f8b617cdc9e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoMove jvpp_version file to jvpp dir 2/2 66/10066/1
Marek Gradzki [Thu, 11 Jan 2018 07:43:27 +0000 (08:43 +0100)]
Move jvpp_version file to jvpp dir 2/2

Change-Id: I8361e8fa26d54de5c79bea25274b9301c6ad02c8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBump jvpp version to 18.04-SNAPSHOT 65/10065/1
Marek Gradzki [Thu, 11 Jan 2018 07:28:31 +0000 (08:28 +0100)]
Bump jvpp version to 18.04-SNAPSHOT

Also sets version of vpp package dependencies to 18.04.

Change-Id: I0b3faf6418ce9055ad05da41ba4fb022992f3784
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate jira project version in hc2vpp 1.18.04 release notes 63/10063/1
Marek Gradzki [Thu, 11 Jan 2018 07:22:14 +0000 (08:22 +0100)]
Update jira project version in hc2vpp 1.18.04 release notes

Change-Id: I105dab898cb47155ee70836066c38f760603576d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoIntroduce hc2vpp_version 46/10046/3
Marek Gradzki [Wed, 10 Jan 2018 09:51:11 +0000 (10:51 +0100)]
Introduce hc2vpp_version

Hc2vpp jar versioning is currently slightly different
than honeycomb DEB/RPM versioning.

This patch introduces hc2vpp_version to reflect that
difference and simplify release process.

In the future unification of versioning scheme should be considered.

Change-Id: I6b6f3c39a7bee9de86163b107f5e6ba941c839ee
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBump hc2vpp version to 1.18.04-SNAPSHOT 53/10053/1
Marek Gradzki [Wed, 10 Jan 2018 12:48:46 +0000 (13:48 +0100)]
Bump hc2vpp version to 1.18.04-SNAPSHOT

Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoMove jvpp_version file to jvpp dir 1/2 40/10040/2
Marek Gradzki [Wed, 10 Jan 2018 07:08:27 +0000 (08:08 +0100)]
Move jvpp_version file to jvpp dir 1/2

Change-Id: I1d7132152561cd8417632ccc16942e2b527f9aa4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBGP demo: include vpp and hc version in the Readme.txt 15/10015/2
Marek Gradzki [Tue, 9 Jan 2018 10:14:49 +0000 (11:14 +0100)]
BGP demo: include vpp and hc version in the Readme.txt

Change-Id: I1c7c3337c392c8cdd5c301af6daf5d04b499d2d0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBGP demo: exit init.sh if VPP failed to start 14/10014/1
Marek Gradzki [Tue, 9 Jan 2018 07:15:04 +0000 (08:15 +0100)]
BGP demo: exit init.sh if VPP failed to start

Change-Id: I4fa97a404eb52da7ff73d527f5b28e0f5014b521
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBGP-HC docker example 98/9998/2
Marek Gradzki [Wed, 13 Dec 2017 11:25:58 +0000 (12:25 +0100)]
BGP-HC docker example

Shows how to announce BGP prefix from one HC instance to another.
Configuration (RESTCONF) is done over builtin docker0 network.

Data plane is using veth pair that connects containers.
BGP is also using veth but via unnumbered tuntap.

Change-Id: Ia18b0729e12a4893ba559d0a68a9e962e58d2a2f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-274(dhcp.yang): use inet:ip-address-no-zone instead of inet:ip-address 28/9928/1
Marek Gradzki [Wed, 3 Jan 2018 07:37:30 +0000 (08:37 +0100)]
HC2VPP-274(dhcp.yang): use inet:ip-address-no-zone instead of inet:ip-address

The zone index is not needed in case of dhcp.yang.
It was introduced due to ODL bug:
https://bugs.opendaylight.org/show_bug.cgi?id=6413

Change-Id: Ia32a2e6cc0c4ec31bd9b30392a3a558b28568fb2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHC2VPP-157: use interface-ref instead of string name 24/9924/3
Marek Gradzki [Tue, 2 Jan 2018 13:04:33 +0000 (14:04 +0100)]
HC2VPP-157: use interface-ref instead of string name

Change-Id: Iaf1287c6643c783ff2d31d9ef87e90aa85ea53f1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>