hc2vpp.git
9 years agoRemove V3poRequest
Robert Varga [Fri, 12 Feb 2016 17:09:44 +0000 (18:09 +0100)]
Remove V3poRequest

The callback interface from vpp-japi needs to be remodeled to reflect
the fact there is only a single connection. Remove the unneeded
abstraction before we move on to proper callbacks.

Change-Id: Ic96d6f17110ab31988e1621ac42d76d0c5d4069f
Signed-off-by: Robert Varga <nite@hq.sk>
9 years agoUse Guava's int-toipv4 primitive
Robert Varga [Fri, 12 Feb 2016 17:14:08 +0000 (18:14 +0100)]
Use Guava's int-toipv4 primitive

Guava has a neat utility to perform the conversion, use that instead of
open-coding it.

Change-Id: Ifa8d79845950faccc3433b84e42dc2ba08828248
Signed-off-by: Robert Varga <nite@hq.sk>
9 years agoFixup logging and static methods
Robert Varga [Fri, 12 Feb 2016 17:04:37 +0000 (18:04 +0100)]
Fixup logging and static methods

Methods which can be static are made static. Also fixes string concat in
logging. Next we share a single instance of the VppState identifier.
Finally fixup the LoggingFuturesCallback.

Change-Id: I4f5076bfcbf782ecf4452e00726d49b46e15628c
Signed-off-by: Robert Varga <nite@hq.sk>
9 years agoDon't initialize data structures in V3po provider
Maros Marsalek [Fri, 19 Feb 2016 11:26:12 +0000 (12:26 +0100)]
Don't initialize data structures in V3po provider

Change-Id: Ie4e6c8846ac9e019ab954aa237406f142dcbebbe
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoInitialize v3po data structures
Maros Marsalek [Thu, 18 Feb 2016 16:02:26 +0000 (17:02 +0100)]
Initialize v3po data structures

This is a workaround to avoid posible DataTree exception
when submitting new interface configuration without pre-existing
day0 configuration.

Applies for all list nodes and a proper fix will follow in ODL.

Change-Id: I6ee6e7ae189542d5ae2ad742f431b88745c42c4d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoRemove test code from V3poProvider initialization.
Dave Wallace [Wed, 10 Feb 2016 08:50:12 +0000 (03:50 -0500)]
Remove test code from V3poProvider initialization.
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: Id0f5b13093fc3ea0aa2a67cc18f3af341b2448e2
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
9 years agoEncourage karaf to load odl-v3po-ui.
Dave Wallace [Tue, 9 Feb 2016 04:09:25 +0000 (23:09 -0500)]
Encourage karaf to load odl-v3po-ui.

Change-Id: I72b878f73418a02d662b7c4c2540644f9a4c02c7
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
9 years agoFixup after vpp-japi change
Robert Varga [Sun, 31 Jan 2016 17:48:08 +0000 (18:48 +0100)]
Fixup after vpp-japi change

vppApi has now proper lifecycle, we must adhere to it.

Change-Id: Ibf7eb5726f2751d017a3c28f823329ce4150cb01
Signed-off-by: Robert Varga <nite@hq.sk>
9 years agoSplit out interesting bits of v3po.yang
Robert Varga [Sat, 30 Jan 2016 00:40:23 +0000 (01:40 +0100)]
Split out interesting bits of v3po.yang

We need to lift some elements in the v3po bridge domain configuration
configuration for reuse in the virtual bridge topology.

Also drops couple of FIXMEs for future modeling work to sanitize the
model further.

Change-Id: Id2369ff5fa967a20c39fd6959a152221ea4924f5
Signed-off-by: Robert Varga <nite@hq.sk>
9 years agoFix a maven warning
Robert Varga [Sat, 30 Jan 2016 01:58:21 +0000 (02:58 +0100)]
Fix a maven warning

Correct relativePath for parent from external project.

Change-Id: I63eb96d96d5c66e756127d3caec25a4d1a522449
Signed-off-by: Robert Varga <nite@hq.sk>
9 years agoInitial honeycomb code commit.
Ed Warnicke [Sun, 10 Jan 2016 14:15:18 +0000 (06:15 -0800)]
Initial honeycomb code commit.

This commit drops the basic structure with disabled integration tests.
The tests will be enabled in a follow-up patch, which sorts out the
current .so loading problems.

Change-Id: If70f2f13b2cf49af82996f884218ac05d335c2ed
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Robert Varga <nite@hq.sk>