summaryrefslogtreecommitdiffstats
path: root/v3po/impl
diff options
context:
space:
mode:
authorRobert Varga <nite@hq.sk>2016-01-30 01:40:23 +0100
committerRobert Varga <nite@hq.sk>2016-01-30 03:04:26 +0100
commitb3892936301fbf5bb3a0cae83893f12aa0313fc7 (patch)
tree239170638e98bf366affa1d87296862375989478 /v3po/impl
parent8c30d9493ab679ebdb58b8cefc10487f84cd6518 (diff)
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>
Diffstat (limited to 'v3po/impl')
-rw-r--r--v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/VppIetfInterfaceListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/VppIetfInterfaceListener.java b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/VppIetfInterfaceListener.java
index 7e6aa50f1..c9ad348ee 100644
--- a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/VppIetfInterfaceListener.java
+++ b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/VppIetfInterfaceListener.java
@@ -242,7 +242,7 @@ public class VppIetfInterfaceListener implements DataTreeChangeListener<Interfac
int srcAddr = parseIp(srcAddress.getValue());
int dstAddr = parseIp(dstAddress.getValue());
int encapVrfId = vxlan.getEncapVrfId().intValue();
- int vni = vxlan.getVni().intValue();
+ int vni = vxlan.getVni().getValue().intValue();
int ctxId = api.vxlanAddDelTunnel((byte)1 /* is add */, srcAddr, dstAddr, encapVrfId, -1, vni);
String apiName = "api.vxlanAddDelTunnel";