From fd2aba2a614dc1cefeffe794fc7d80e5d71cd821 Mon Sep 17 00:00:00 2001 From: "Boslet, Cory" Date: Fri, 8 May 2020 14:58:31 -0400 Subject: Added to support to enabling l2 multicasting updated aai dependency Added to support to enabling l2 multicasting for lnterfaces. Issue-ID: SO-2914 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Idf34a41777e23b7171bd09c174830a4eeeb79e4b --- .../src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'adapters/mso-openstack-adapters/src/main') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java index dcf33da128..a00b9f9002 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java @@ -272,6 +272,14 @@ public class HeatBridgeImpl implements HeatBridgeApi { } else { lIf.setInterfaceRole(port.getvNicType()); } + boolean isL2Multicast = false; + if (port.getProfile().get("trusted") != null) { + String trusted = port.getProfile().get("trusted").toString(); + if (Boolean.parseBoolean(trusted)) { + isL2Multicast = true; + } + } + lIf.setL2Multicasting(isL2Multicast); updateLInterfaceIps(port, lIf); updateLInterfaceVlan(port, lIf); -- cgit 1.2.3-korg