honeycomb/vbd.git
3 years agoAdd INFO.yaml for honeycomb/vbd 39/91239/1 master
Anil Belur [Sat, 11 Jul 2020 23:01:36 +0000 (09:01 +1000)]
Add INFO.yaml for honeycomb/vbd

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Icd4d6ff0a2814c36bf2068e6485b4e730a58610a

4 years agoBump dependencies to Fluorine SR3 20/88220/1
Robert Varga [Tue, 3 Mar 2020 16:36:56 +0000 (17:36 +0100)]
Bump dependencies to Fluorine SR3

We really are stuck way back, transition to last released version,
so that the repo has at least some chance of working.

Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Change-Id: Iacc83c630316045332738819c499ec71849ea436

5 years agoBump version for next release train 94/75694/1
Robert Varga [Mon, 3 Sep 2018 15:01:40 +0000 (17:01 +0200)]
Bump version for next release train

This bumps versions for post-Fluorine release train.

Change-Id: Iae1a9fc74b33a9c3ce027f15cc46402949036d4a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoFix compilation error 37/75137/1
Robert Varga [Sat, 11 Aug 2018 13:45:53 +0000 (15:45 +0200)]
Fix compilation error

There is no need to retain the collections, just iterate over them.

Change-Id: I81ee7863dda57ceacca96a93c3e7a2171a63fea1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agofix missing imports for ietf-interfaces 89/74789/1
Michal Cmarada [Thu, 2 Aug 2018 07:26:42 +0000 (09:26 +0200)]
fix missing imports for ietf-interfaces

Change-Id: I5dd2403ea4d4e49abbefa171149488a35ab808dc
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
(cherry picked from commit b7c32645250e25db45a6f33ea4e0c256d66705e6)

5 years agoFix some checkstyle warnings 48/74548/1
Robert Varga [Thu, 26 Jul 2018 19:00:43 +0000 (21:00 +0200)]
Fix some checkstyle warnings

This is just a first pass, more to follow.

Change-Id: I0c232cf007166ab374683325528c67103814f878
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump yangtools/odlparent to 2.0.7/3.1.3 22/74322/4
Robert Varga [Mon, 23 Jul 2018 06:52:05 +0000 (08:52 +0200)]
Bump yangtools/odlparent to 2.0.7/3.1.3

This realigns the code with Fluorine release.

Change-Id: I3e82c18c9b6898443e3c0124f987130729b84bae
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump to odlparent 3.1.0 and yangtools 2.0.3 86/69886/3
Stephen Kitt [Thu, 22 Mar 2018 17:24:30 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3

Change-Id: Iac76f6f085a1e8df2d1647b74b79ec4208e94150
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoSwitch to the mdsal ietf-ip.yang instead of our own 83/70783/1
Lorand Jakab [Wed, 11 Apr 2018 14:30:23 +0000 (17:30 +0300)]
Switch to the mdsal ietf-ip.yang instead of our own

Change-Id: I09cef2f23b4d6de9b43587aafd07c1558709c991
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
6 years agoremove all dependencies on DLUX 30/70330/1
Michal Cmarada [Wed, 4 Apr 2018 11:41:17 +0000 (13:41 +0200)]
remove all dependencies on DLUX

Change-Id: I09ed226c32f749403cee03b2e6a26e30fe05f420
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoFix 802dot1 identifiers 19/69619/2
Michal Cmarada [Tue, 20 Mar 2018 09:03:35 +0000 (10:03 +0100)]
Fix 802dot1 identifiers

Identifiers starting with digits are apparently not legal, so prefix
them with _. (This appears to be YANG Tools’ previous behaviour, but
2.0.3-SNAPSHOT no longer does this and honeycomb/vbd fails to build
with that version.)

Change-Id: I52256c415fa4a165a82b6c454dd791638c597083
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoFix prefixes for yang models 04/69604/1
Michal Cmarada [Mon, 19 Mar 2018 08:15:41 +0000 (09:15 +0100)]
Fix prefixes for yang models

 - fixes prefixes for yang models
 - remove unused nat-context model

Change-Id: Ibb26055cd25979f2bbad6714f3da7ea57c7f61b0
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoBump versions by x.(y+1).z for next dev cycle 34/68734/1
Anil Belur [Mon, 26 Feb 2018 07:41:42 +0000 (17:41 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I5855f31c85b4c01b73050944ad047994aa8d8f2c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoBump to yangtools-2.0.0 and odlparent-3.0.2 92/66492/2
Tom Pantelis [Fri, 15 Dec 2017 01:23:20 +0000 (20:23 -0500)]
Bump to yangtools-2.0.0 and odlparent-3.0.2

Change-Id: Ic53bd593cacab4a5ec3d8d0f63701f64227ee7fc
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoUpdate Lisp models from HC 08/64508/1
Michal Cmarada [Thu, 19 Oct 2017 06:57:55 +0000 (08:57 +0200)]
Update Lisp models from HC

Change-Id: I093721957c79f0697f8f57d7230e78006d30c5e2
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoUpdating HC models 76/63776/4
Michal Cmarada [Thu, 28 Sep 2017 13:42:15 +0000 (15:42 +0200)]
Updating HC models

Change-Id: Ia24960227140c25e45d50707a53715dca6aa5e30
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBump odlparent 2.0.4 to 2.0.5 47/63647/2
Stephen Kitt [Wed, 27 Sep 2017 13:35:48 +0000 (15:35 +0200)]
Bump odlparent 2.0.4 to 2.0.5

Change-Id: I6eb8c06833349d99e576df9ee8d9d0076fff835a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoTiny fix for failing transaction 77/58177/2
Tomas Cechvala [Mon, 29 May 2017 15:45:47 +0000 (17:45 +0200)]
Tiny fix for failing transaction

Next transaction is created after the first one is submitted.

Change-Id: I4f3fe146a1516caf2e7df29aab15b945917108bc
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoUpdate of models from honeycomb 20/63220/1
Michal Cmarada [Mon, 18 Sep 2017 09:04:28 +0000 (11:04 +0200)]
Update of models from honeycomb

Change-Id: I4a5c9da07e1843c6efc34defb90a49f9c2ab3601
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoHoneycomb model updates 61/62061/1
Michal Cmarada [Mon, 21 Aug 2017 06:52:12 +0000 (08:52 +0200)]
Honeycomb model updates

Change-Id: If156675703bcab1d74bab2cd0f5343b3d8ee146b
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBug 8997: Use lisp types model from Mdsal 11/61911/1
Michal Cmarada [Thu, 17 Aug 2017 09:47:51 +0000 (11:47 +0200)]
Bug 8997: Use lisp types model from Mdsal

Change-Id: I589f7f3fdc19805ea68b8728a0e57b2b07195780
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBump versions by x.(y+1).z for next dev cycle 85/61685/1
Thanh Ha [Mon, 14 Aug 2017 17:25:50 +0000 (13:25 -0400)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: Ib49ca9df81d231938c9c47fcd43ebd46794aae00
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoLisp and VPP-nat model update from Honeycomb 18/61618/1
Michal Cmarada [Mon, 14 Aug 2017 14:30:20 +0000 (16:30 +0200)]
Lisp and VPP-nat model update from Honeycomb

to stay in sync with latest honeycomb and vpp,
we need to update lisp and vpp-nat models.

Change-Id: I7c2a6af31efede6a87f04a3d3e013c7d5b0a5d51
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoAdd cache mechanism for Tenant interface IP 38/61538/3
Michal Cmarada [Fri, 11 Aug 2017 10:48:17 +0000 (12:48 +0200)]
Add cache mechanism for Tenant interface IP

to speed up processing of VXLan tunnel creation, we implement cache.
IPs for tenant interfaces are set only first time when VPP is started,
so we don`t need to read it all the time from DS.

Change-Id: Ibb4306dc95efe92cf6e1c6d1477c5f86be8a252b
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoModel update from HC2VPP 00/61500/1
Michal Cmarada [Thu, 10 Aug 2017 14:19:55 +0000 (16:19 +0200)]
Model update from HC2VPP

this patch updates models from honeycomb.

Change-Id: Idfad4a6bea97488f09d438ea4c302d8552a16089
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBump odlparent 2.0.2 to 2.0.4 78/61478/1
Michal Cmarada [Thu, 10 Aug 2017 08:28:54 +0000 (10:28 +0200)]
Bump odlparent 2.0.2 to 2.0.4

Change-Id: Ib020194dd41adeb8fc039db626ccf7349fae7b1c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoUpdate deprecated transform and addCallback methods 35/61335/3
Michal Cmarada [Tue, 8 Aug 2017 13:04:13 +0000 (15:04 +0200)]
Update deprecated transform and addCallback methods

due to migration to new guava version transform and addCallback methods
are deprecated. This patch updates these methods with direct executor
to fix this.

Change-Id: Ibf76dd046455cb9890404133ba864b7362412db5
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoimplementing parallel netconf transactions 67/60567/3
Matej Perina [Mon, 3 Jul 2017 10:35:54 +0000 (12:35 +0200)]
implementing parallel netconf transactions

 - introducing per mount point lock which allows
to crete netconf transactions to all nodes in parallel
 - creating mount point dataBroker only once per mountpoint

Change-Id: I68691700506de4ad14d5818f553bbc5148f57695
Signed-off-by: Matej Perina <mperina@cisco.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoRemove config-parent derivation from poms 82/60882/1
Tom Pantelis [Fri, 28 Jul 2017 14:58:42 +0000 (10:58 -0400)]
Remove config-parent derivation from poms

Vbd does not use the config subsystem so does not need to
derive from controller config-parent. The config subsystem is
being deprecated in Nitrogen.

Change-Id: If5966f48c1242925deede8782e875ea285fcd20d
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoMerge "Bump to odl-parent 2.0.2"
Michal Cmarada [Wed, 19 Jul 2017 13:35:13 +0000 (13:35 +0000)]
Merge "Bump to odl-parent 2.0.2"

6 years agoFix vbd-features name 47/60547/1
Robert Varga [Tue, 18 Jul 2017 20:30:18 +0000 (22:30 +0200)]
Fix vbd-features name

features4 vs. features typo.

Change-Id: Ib6c3ff49b72a90c5c3193252ca17489d99b1571c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump to odl-parent 2.0.2 78/60478/3
Michal Cmarada [Tue, 18 Jul 2017 12:26:00 +0000 (14:26 +0200)]
Bump to odl-parent 2.0.2

Change-Id: I0ec541c2ffab80fa02cff587f18f0b4a2e843456
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMigrating Vbd-Impl to blueprint 54/59454/2
Michal Cmarada [Mon, 26 Jun 2017 14:25:31 +0000 (16:25 +0200)]
Migrating Vbd-Impl to blueprint

Change-Id: Ic71a043dc2b6fc642643a47633e162ece1b2ce54
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMigrate to odlparent 2.0.0 81/59381/2
Robert Varga [Thu, 22 Jun 2017 09:26:06 +0000 (11:26 +0200)]
Migrate to odlparent 2.0.0

Flip the switch, juggle the features, fix the fallout.

Change-Id: I9b39e3542a882a7d6f3f2db12e75ca6b1b675bc6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoHC Model refactoring 01/59201/2
Michal Cmarada [Tue, 20 Jun 2017 08:41:00 +0000 (10:41 +0200)]
HC Model refactoring

There was a refactoring of models in Honeycomb.
This patch updates VBD to include those changes.

Change-Id: I2e4346cedbc5d8729e16c9a61d39ebf323bcee98
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoHC model updates 18/59018/2
Michal Cmarada [Thu, 15 Jun 2017 11:20:14 +0000 (13:20 +0200)]
HC model updates

Updating models to be in sync with Honeycomb

Change-Id: I980aeaf921aefb3e7fc067b4e2d9411f14a1f6fc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMigrate to odlparent 1.9.0 61/58861/1
Thanh Ha [Tue, 13 Jun 2017 20:18:39 +0000 (16:18 -0400)]
Migrate to odlparent 1.9.0

Change-Id: I490a50ea36501e4b9943c5100834707d20c495fd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMigrate to odlparent 1.8.0-Carbon 41/58641/1
Thanh Ha [Fri, 9 Jun 2017 23:08:32 +0000 (19:08 -0400)]
Migrate to odlparent 1.8.0-Carbon

Per request of odlparent project we are downgrading all Nitrogen
projects to use the released odlparent 1.8.0-Carbon to allow for the
odlparent project to start performing semver style releases.

Change-Id: Ic267b9c23469e873f4863717583bb9a45671eeff
Jira: RELENG-159
RT: 41406
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoupdate of HC 1707 models 35/56935/4
Michal Cmarada [Thu, 18 May 2017 14:15:40 +0000 (16:15 +0200)]
update of HC 1707 models

Change-Id: If38cc8527b50db027b97a97f40b0aa8c92334e23
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 8354: Add Export version for lisp address 10/56310/4
Shakib Ahmed [Mon, 1 May 2017 11:27:59 +0000 (04:27 -0700)]
Bug 8354: Add Export version for lisp address

ietf-lisp-address.yang exists both in VBD and Lispflowmapping(LFM).
LFM has version 1.6.0 and VBD has version 1.2.0. Due to karaf's
default package export methods and package resolve mechanism, if VBD
features are installed before LFM features, then LFM fails to export
the '.lisp.address.*' package. The easiest and first forward-way to
solve this problem was to export those packages with version >=1.6.0.

This patch implements that.

Change-Id: I73a53e1935847b2fac8f5db11a68a06d3557d27e
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug 8009 - learning interface role from Honeycomb 06/55706/3
Michal Cmarada [Fri, 21 Apr 2017 11:23:01 +0000 (13:23 +0200)]
Bug 8009 - learning interface role from Honeycomb

If interface role is not specified in VBD bundle,
it could be learned directly from Honeycomb (HC).

This patch is intended for stable HC releases where
we cannot modify API. Therefore it is agreed that
interface role can be specified in description of
an interface in cofig DS.

Comprehensive API in HC is underway in master branch
https://gerrit.fd.io/r/#/c/6230

Change-Id: I484745401946ee9e4091a6bb62fd5c305a98bd6d
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoMerge "Bug-8167: VBD startup configuration name mismatch in blueprint"
Michal Cmarada [Tue, 18 Apr 2017 10:47:57 +0000 (10:47 +0000)]
Merge "Bug-8167: VBD startup configuration name mismatch in blueprint"

7 years agoBug 8173: Update v3po yangs 33/53833/7
Shakib Ahmed [Fri, 24 Mar 2017 20:24:59 +0000 (13:24 -0700)]
Bug 8173: Update v3po yangs

v3po yangs in honeycomb has been updated in HC. New HC are being added
and impl is being updated accordingly. Old version of yangs are still
being kept for VBD to successfully pass Single Feature Test. After the
GBP patch is merged, old version of the yangs can be updated.

Change-Id: Ib6403785a384fb51101af7114d4700324b9e138a
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug-8167: VBD startup configuration name mismatch in blueprint 27/54827/1
Michal Cmarada [Wed, 12 Apr 2017 05:49:55 +0000 (07:49 +0200)]
Bug-8167: VBD startup configuration name mismatch in blueprint

Change-Id: I4920549ba73f5c3b924670b17a65fc73bdef1ac7
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBump versions by x.(y+1).z for next dev cycle 98/54698/1
Anil Belur [Tue, 11 Apr 2017 01:45:37 +0000 (11:45 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I364d3685eaebcc58a5e42980e582a77cd95c1a5c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Bug 8172: Add LISP honeycomb yangs"
Michal Cmarada [Mon, 10 Apr 2017 15:05:29 +0000 (15:05 +0000)]
Merge "Bug 8172: Add LISP honeycomb yangs"

7 years agoBug 8172: Add LISP honeycomb yangs 15/53815/3
Shakib Ahmed [Fri, 24 Mar 2017 18:49:24 +0000 (11:49 -0700)]
Bug 8172: Add LISP honeycomb yangs

To auto configure LISP from GBP, we need honeycomb yangs and as other
honeycomb yangs are in VBD, adding the LISP yangs here.

Change-Id: I22e4a62b9ce92b9262c59873229cece6259afbb1
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug-8167: VBD startup configuration fix 63/54363/3
Michal Cmarada [Mon, 10 Apr 2017 08:58:54 +0000 (10:58 +0200)]
Bug-8167: VBD startup configuration fix

when vbd feature is installed initial startup config file
was not created in etc directory. This fixes the issue.

Change-Id: I999019b0850ed21bfc101140450eeee725d071a1
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBUG-7655: Karaf 4 Migration 95/54195/1
Claudio D. Gasparini [Fri, 31 Mar 2017 16:00:11 +0000 (18:00 +0200)]
BUG-7655: Karaf 4 Migration

Add missing karaf 4 features to artifacts

Change-Id: I2f7b78682b29dbc4573d91a0ad9f4075e4dd9297
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
7 years agoBug 8009 - adding role to physical interfaces 18/53318/11
Tomas Cechvala [Wed, 15 Mar 2017 09:24:22 +0000 (10:24 +0100)]
Bug 8009 - adding role to physical interfaces

VBD takes first read interface that matches certain conditions as a
carrier interface for VXLAN tunnels. This lead to mismatched tunnel
endpoint addresses in case multiple physical interfaces match criteria.

E.g. NodeA:GE1,GE2 and NodeB:GE1,GE2 can lead to 6 different src and
dst tunnel combinations.

This is resolved by specifying which physical interfaces are involved in
topology processing. The configuration can be defined by a config file
and seen in runtime in operational DS.

Change-Id: Iee539d3b648f7352533b4d825f9eb55845dbbf40
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoNetconf transactions synchronization VBD part 63/52963/6
Michal Cmarada [Mon, 13 Mar 2017 12:29:15 +0000 (13:29 +0100)]
Netconf transactions synchronization VBD part

adding mechanism to sync transactions between VBD and GBP
this is used as a workaround for bug
https://bugs.opendaylight.org/show_bug.cgi?id=7918
In order for this workaround to work VBD shares Reentrant lock to be
used for synchronization of transactions between projects.
It is needed to use netconfSyncedWrite and netconfSyncedDelete
from VbdNetconfTransaction for all write and delete operations to
netconf device or to implement project specific write/delete
methods which will use the same lock.

Change-Id: I479bd140b6e18ba4c58640f920c4b60b19365537
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoAdd missing <name> fields for pom.xml files 02/52702/1
Thanh Ha [Fri, 3 Mar 2017 01:41:36 +0000 (20:41 -0500)]
Add missing <name> fields for pom.xml files

This is used by autorelease scripts to automatically parse which project
is failing a build and report to the mailing list automatically. We need
names in the format:

    ODL :: <groupId> :: <artifactId>

This patch formats in the same format as found in the startup archetypes
patch found here: https://git.opendaylight.org/gerrit/52522

Change-Id: Ie8833c99c54e515ff87d2532663eeb3ca5d82a8e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "HC2VPP models update"
Marek Gradzki [Wed, 1 Mar 2017 13:35:39 +0000 (13:35 +0000)]
Merge "HC2VPP models update"

7 years agoBug 7655: add Karaf 4 features 79/52379/2
Stephen Kitt [Tue, 28 Feb 2017 15:48:27 +0000 (16:48 +0100)]
Bug 7655: add Karaf 4 features

Change-Id: I7dd369b6ebce241d73e210ad86374e7c488117cc
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoHC2VPP models update 05/51505/2
Michal Cmarada [Tue, 28 Feb 2017 11:33:03 +0000 (12:33 +0100)]
HC2VPP models update

Change-Id: I30dde28e6cf66483cd812ceae7db27fc6e2d11ba
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoremove bridge domain from vlan subinterfaces before bd itself 54/51854/6
Vladimir Lavor [Tue, 14 Feb 2017 11:19:33 +0000 (12:19 +0100)]
remove bridge domain from vlan subinterfaces before bd itself

Change-Id: I7acc432c62b1dd638351c55563adc1598a902493
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agobug 7738: bridge domain cleanup methods do not use transaction chain 60/51560/3
Vladimir Lavor [Wed, 8 Feb 2017 14:01:10 +0000 (15:01 +0100)]
bug 7738: bridge domain cleanup methods do not use transaction chain

* if bridge domain is removed, its transaction chain is
  externally closed so all methods used for bd cleanup are
  using databroker instead

Change-Id: I14f8395a91a17764d7e91286341fd123302bab48
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agobug 7738: before bridge domain is deleted, all ports are removed from it 10/51510/1
Vladimir Lavor [Tue, 7 Feb 2017 11:28:05 +0000 (12:28 +0100)]
bug 7738: before bridge domain is deleted, all ports are removed from it

Change-Id: Ia3cda0b80d81d68e1bc63156d2f098b932cbc320
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agobetter odl <-> device communication via netconf - vbd side 65/51065/1
Vladimir Lavor [Thu, 26 Jan 2017 11:55:24 +0000 (12:55 +0100)]
better odl <-> device communication via netconf - vbd side

* transaction is restarted after every exception (caused by
  collision, netconf failure, HC failure etc.)
* data to remove are verified whether they are present to
  prevent netconf transaction exceptions

Change-Id: I19935125e3b7b0a6fa640bb8a158132b911333d8
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoReplace mockito-all by mockito-core (see Bug 7662) 65/50865/1
Michael Vorburger [Mon, 23 Jan 2017 18:58:42 +0000 (19:58 +0100)]
Replace mockito-all by mockito-core (see Bug 7662)

Change-Id: I17774338a9c0a87e4f82b0f3d4b9e5b5b950c6ae
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoTiding up karaf features 25/50525/3
Tomas Cechvala [Mon, 16 Jan 2017 19:36:28 +0000 (20:36 +0100)]
Tiding up karaf features

Removing odl-vbd-api as it does not carry
implementation code.

Moving odl-vbd-api bundle under odl-vbd
feature.

Change-Id: Ia51ea396b35e8ade015abe48733d984ae71d9071
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoupdating models from HC2VPP 86/50286/2
Michal Cmarada [Thu, 19 Jan 2017 08:01:14 +0000 (09:01 +0100)]
updating models from HC2VPP

updating ietf-routing and vpp-acl models

Change-Id: I5f7e7519eea531c87fd5bdec9d01daad20e7e94a
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agocorrection for bridge domain deletion 40/50340/2
Matej Perina [Tue, 17 Jan 2017 10:30:21 +0000 (10:30 +0000)]
correction for bridge domain deletion

Change-Id: Ieee085254062befed770c7de381c86da250c589d
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agoBUG-5222: do not pull in odl-mdsal-xsql 94/50394/1
Robert Varga [Fri, 13 Jan 2017 09:00:52 +0000 (10:00 +0100)]
BUG-5222: do not pull in odl-mdsal-xsql

xsql is deprecated, buggy and never was meant for production
use. Do not pull it in.

Change-Id: Iadd854b38dd5bfb1b5ab2d8becb4867522a735a7
Signed-off-by: Robert Varga <nite@hq.sk>
7 years agoMerge "Replace dlux with dluxapps features"
Michal Cmarada [Mon, 9 Jan 2017 08:31:35 +0000 (08:31 +0000)]
Merge "Replace dlux with dluxapps features"

7 years agoReplace dlux with dluxapps features 44/49344/4
Daniel Malachovsky [Wed, 14 Dec 2016 11:50:04 +0000 (12:50 +0100)]
Replace dlux with dluxapps features

Renaming is due to DLUX project split.
Also, replacing yangui feature with yangman, new, redesigned and restyled
application.

https://wiki.opendaylight.org/view/Weather#Rename_some_odl-dlux-.2A_features_to_odl-dluxapps-.2A

Change-Id: Id9be9c03015d8366e78663965baead1d75341aea
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoAdd .gitreview configuration 32/48232/3
Thanh Ha [Thu, 10 Nov 2016 18:17:48 +0000 (13:17 -0500)]
Add .gitreview configuration

Change-Id: I214433de9fe1f050b6fda6241a02dc25f5907ef9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdating models from hc2vpp 36/49336/3
Michal Cmarada [Mon, 19 Dec 2016 13:46:50 +0000 (14:46 +0100)]
Updating models from hc2vpp

- adding models for ACLs
- updating v3po model

Change-Id: I1f9f4c23e9096cf8876c7db59de3af95fb755638
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 6743: Added futures when processing BD part 2. 70/48970/5
Vladimir Lavor [Thu, 8 Dec 2016 12:37:46 +0000 (13:37 +0100)]
Bug 6743: Added futures when processing BD part 2.

* Futures added to bridge domain processing to prevent
  race conditions
* Move util methods from VbdBridgeDomain to VbdUtil

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: Id0cdae3e9198845b33f9d0c8f5589cb27f9b7ead

7 years agotypo fix 33/49233/1
Matej Perina [Mon, 12 Dec 2016 10:31:53 +0000 (11:31 +0100)]
typo fix

Change-Id: If4cce4aa67c1cf93b1a97bbb107af8d7113e0182
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agoGUI - fixed various REST calls 46/48746/3
Daniel Malachovsky [Mon, 28 Nov 2016 15:18:14 +0000 (16:18 +0100)]
GUI - fixed various REST calls

Fixes for bugs:
Bug 7117 - Cannot add Virtual Bridge Domains in DLUX
Bug 7118 - Cannot remove VPP from inventory in DLUX

Change-Id: I18666bd6da3ab55e6d8718c0f80ba5fe62c2ded4
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agovxlan tunnel does not point to loopback interface 80/49180/1
Matej Perina [Fri, 9 Dec 2016 13:29:30 +0000 (14:29 +0100)]
vxlan tunnel does not point to loopback interface

 - during phase of automatic choosing of port, which will be used
   as tunnel output, interfaces with type loopback will be skipped
 - expected overriding by usa of user defined port choosing

Signed-off-by: Matej Perina <mperina@cisco.com>
Change-Id: Icaec28985bacf066b090b4fe3089291f6c187336

7 years agoTransactions are not closed manually to prevent NPE 23/49023/3
Vladimir Lavor [Tue, 6 Dec 2016 11:02:33 +0000 (12:02 +0100)]
Transactions are not closed manually to prevent NPE

Change-Id: Ibef98f344098b601c16e32ea8eebba0955f1825b
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoAdding required API models for NAT to VBD 89/48989/1
Tomas Cechvala [Mon, 5 Dec 2016 15:17:02 +0000 (16:17 +0100)]
Adding required API models for  NAT to VBD

Change-Id: I283ae34869e4d745bba2ae7ebefe248b956f6e6f
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoConsolidate netconf transactions in VBD 76/48976/2
Vladimir Lavor [Mon, 5 Dec 2016 12:00:35 +0000 (13:00 +0100)]
Consolidate netconf transactions in VBD

* serves also as a workaround for netconf bug 7295

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: Ide61fe91b8243f565881a7ee0b304d185ee5d1c1

7 years agoRouting and ACL model update 16/48916/2
Michal Cmarada [Fri, 2 Dec 2016 10:08:17 +0000 (11:08 +0100)]
Routing and ACL model update

Change-Id: I7140fc36895103c8643b013dd61a80c16e63943c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 6743: Added futures whend processing BD 38/48738/3
Vladimir Lavor [Mon, 28 Nov 2016 13:59:12 +0000 (14:59 +0100)]
Bug 6743: Added futures whend processing BD

Change-Id: I01ff08f4ae19f87be74bd9b221ff38b18ccd3dca
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agomodel update 70/48770/1
Michal Cmarada [Tue, 29 Nov 2016 09:59:46 +0000 (10:59 +0100)]
model update

Change-Id: I0c0308f5e81bf8e23f3d93299ad13656ddb162f4
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 6743: Optimized vxlan bridge domain removal/update 96/48396/4
Vladimir Lavor [Thu, 24 Nov 2016 16:11:01 +0000 (17:11 +0100)]
Bug 6743: Optimized vxlan bridge domain removal/update

* Fixed vxlan tunnel removal in vpp
* More reliable tunnel identification using vni

Change-Id: Ibd6076658078dd91e666965c8ac8a197798b93bd
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoBug 6743: VBD HA improved 28/47128/7
Vladimir Lavor [Tue, 15 Nov 2016 15:42:19 +0000 (16:42 +0100)]
Bug 6743: VBD HA improved

     - Added mechanism to watch netconf node connection status
     - Added workaround for case where netconf transaction fails during recovery
     - More reliable bridge domain restart
     - Vxlan tunnels should work when updated
     - Improved logging

Change-Id: I4cb29946c2858f95102f74335acb71e4b55c1a65
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoModel update 76/47876/2
Michal Cmarada [Mon, 14 Nov 2016 09:55:42 +0000 (10:55 +0100)]
Model update

for Loopback interface and routing

Change-Id: Iee43a4f977d502357075a375f553ef6b2a4b52ea
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoSet mdsal-singleton-common-api version to Carbon 31/48231/2
Thanh Ha [Thu, 10 Nov 2016 18:15:29 +0000 (13:15 -0500)]
Set mdsal-singleton-common-api version to Carbon

Looks like a patch was merge using the build version from Boron.
Update the dependency to pull in the correct Carbon version.

Change-Id: I569fb7c014978649dc979355243fb4d2d0b52e21
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Fix clustering API dependency"
Maros Marsalek [Mon, 31 Oct 2016 07:32:11 +0000 (07:32 +0000)]
Merge "Fix clustering API dependency"

7 years agoBug 6743: switch to netconf clustered topology 25/47625/3
Vladimir Lavor [Wed, 26 Oct 2016 15:58:49 +0000 (17:58 +0200)]
Bug 6743: switch to netconf clustered topology

Change-Id: I8a311781c9150e01e0a26f2379defc8500dcbf86
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoFix clustering API dependency 17/47517/1
Wojciech Dec [Tue, 25 Oct 2016 13:04:44 +0000 (15:04 +0200)]
Fix clustering API dependency

Change-Id: I434e8569c7e9b2b13ad770c887cec573f0fd3c41
Signed-off-by: Wojciech Dec <wdec@cisco.com>
7 years agoBug 6278: Switch to use odlparent's karaf-parent 60/47160/1
Ryan Goulding [Wed, 19 Oct 2016 17:29:35 +0000 (13:29 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: Icc560f18184c0909779ac512927c826a95344e86
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoUpdating yang models 20/46820/6
Michal Cmarada [Mon, 17 Oct 2016 14:37:17 +0000 (16:37 +0200)]
Updating yang models

updating yang models for v3po based on changes in HC

Change-Id: I228cf3cb73c29c1f0bf9f2c43ad46b25807a0b2c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoReference to DataBroker added into VBD blueprint/instance 03/46903/2
Vladimir Lavor [Thu, 13 Oct 2016 15:07:01 +0000 (17:07 +0200)]
Reference to DataBroker added into VBD blueprint/instance

Change-Id: I8c86dc5bbe7d964acf02c484a5648a9815cbceb9
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoAdded current status about bridge domain processing 83/46283/7
Vladimir Lavor [Thu, 29 Sep 2016 07:45:26 +0000 (09:45 +0200)]
Added current status about bridge domain processing

    - VBD now stores status about BD request processing
    - BD status model augments v3po.yang
    - status is stored in vpp-state in OPER DS
    - vbd.impl.BridgeDomain renamed to vbd.impl.VbdBridgeDomain
      to avoid usage of qualified class names

Change-Id: I34c6feaf8038546d521531677308402d372210a9
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoadded support for blueprint and ClusterSingletonService 69/46169/3
Matej Perina [Mon, 26 Sep 2016 12:36:47 +0000 (14:36 +0200)]
added support for blueprint and ClusterSingletonService

Change-Id: Ic465c94005351b2935158b5bb669d640602ae896
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agoBug 6105: Node and topology deletions are now handled correctly 76/45976/1
Michal Cmarada [Wed, 21 Sep 2016 13:20:31 +0000 (15:20 +0200)]
Bug 6105: Node and topology deletions are now handled correctly

* Nodes which are removed from the virtual bridge configured topology
  are now removed from the virtual bridge operational topology.
* Virtual bridge topology deletions will cause the underlying bridge
  domain data on VPP nodes to be deleted.
* Links which go to or from the deleted nodes will be removed from the
  virtual bridge operational topology.
* Interfaces on peer nodes which have tunnels to deleted nodes are
  removed and their associated vxlan tunnel is torn down

Change-Id: Icab9a20da299c9f539df3e90d82dd8714a7481b7
Signed-off-by: Tyler Levine <tylevine@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoFix for VXLAN tunnels 61/44861/2
Michal Cmarada [Tue, 30 Aug 2016 15:26:54 +0000 (17:26 +0200)]
Fix for VXLAN tunnels

VXLAN tunnels were not created on 3node setup. One VXLAN tunnel was missing on one node. This was caused by wrong ID being set to create the VXLAN tunnel.

Change-Id: I585f0274f3304fd9f2573bc469ae8b63cd050139
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoMerge "GUI - Fix errors on not loading JS libraries"
Ed Warnicke [Fri, 19 Aug 2016 19:00:00 +0000 (19:00 +0000)]
Merge "GUI - Fix errors on not loading JS libraries"

7 years agoUpdated v3po yang model as per 17 Aug 2016 00/44300/1
Wojciech Dec [Thu, 18 Aug 2016 16:50:20 +0000 (18:50 +0200)]
Updated v3po yang model as per 17 Aug 2016

Change-Id: I0f9b8f6e09d2e982e4b15754a4ae30d6eada2a4f
Signed-off-by: Wojciech Dec <wdec@cisco.com>
7 years agoGUI - Fix errors on not loading JS libraries 22/43522/3
Daniel Malachovsky [Tue, 9 Aug 2016 15:22:17 +0000 (17:22 +0200)]
GUI - Fix errors on not loading JS libraries

- updated versions of JS libraries
- put GUI on diet

Change-Id: I8b8b94e7f083be0bb298056f08df23c46002dcea
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoBump ietf versions to ...10-SNAPSHOT 39/43539/1
Thanh Ha [Tue, 9 Aug 2016 17:42:54 +0000 (13:42 -0400)]
Bump ietf versions to ...10-SNAPSHOT

Bump versions according to:
https://lists.opendaylight.org/pipermail/release/2016-August/007731.html

Change-Id: I43af16d7fc611b4c101dd52e9e28bd571ac3076c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBump versions by 0.1.0 for next dev cycle 17/43417/1
Thanh Ha [Mon, 8 Aug 2016 21:50:14 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I81e647d93b58177b0da351ee7519e4e2aead5f89
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "updating yang models after change in Honeycomb"
Maros Marsalek [Thu, 28 Jul 2016 10:35:09 +0000 (10:35 +0000)]
Merge "updating yang models after change in Honeycomb"

7 years agoMerge "Insert nodes into oper DS with correct node id"
Maros Marsalek [Thu, 28 Jul 2016 08:11:52 +0000 (08:11 +0000)]
Merge "Insert nodes into oper DS with correct node id"

7 years agoupdating yang models after change in Honeycomb 76/42676/1
Michal Cmarada [Thu, 28 Jul 2016 06:38:24 +0000 (08:38 +0200)]
updating yang models after change in Honeycomb

Change-Id: I96f18ae2e8774f03ec2633e939ae6abd31b1736f
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>