aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src/main/java/org
diff options
context:
space:
mode:
authorBoslet, Cory <cory.boslet@att.com>2020-05-08 14:58:31 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-05-08 14:58:32 -0400
commitfd2aba2a614dc1cefeffe794fc7d80e5d71cd821 (patch)
tree7cd1e1cbfe2940902f07591773864bcb74bc41be /adapters/mso-openstack-adapters/src/main/java/org
parent86b2d36e3dabd2e781d7a63063680d1f2776a254 (diff)
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) <mb388a@att.com> Change-Id: Idf34a41777e23b7171bd09c174830a4eeeb79e4b
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main/java/org')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java8
1 files changed, 8 insertions, 0 deletions
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);