import org.apache.felix.dm.Component;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerContext;
-import org.opendaylight.controller.sal.binding.api.data.DataBrokerService;
import org.opendaylight.controller.sal.binding.api.BindingAwareConsumer;
+import org.opendaylight.controller.sal.binding.api.data.DataBrokerService;
import org.osgi.framework.BundleContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
void init(Component c) {
this.ctx = c.getDependencyManager().getBundleContext();
- logger.info("****** OVSDB Neutron Registered with MD-SAL ******");
+ logger.info("OVSDB Neutron Registered with MD-SAL");
broker.registerConsumer(this, this.ctx);
}
public void onSessionInitialized(ConsumerContext session) {
this.consumerContext = session;
dataBrokerService = session.getSALService(DataBrokerService.class);
- logger.info("****** OVSDB Neutron Session Initilized with CONSUMER CONTEXT {} ******", session.toString());
+ logger.info("OVSDB Neutron Session Initilized with CONSUMER CONTEXT {}", session.toString());
}
@Override
*/
writeTunnelIn(dpid, TABLE_0_DEFAULT_INGRESS, TABLE_2_LOCAL_FORWARD, segmentationId, tunnelOFPort);
+
+ /*
+ * Table(1) Rule #2
+ * ----------------
+ * Match: Match Tunnel ID and L2 ::::FF:FF Flooding
+ * Action: Flood to selected destination TEPs
+ * -------------------------------------------
+ * table=1,priority=16384,tun_id=0x5,dl_dst=ff:ff:ff:ff:ff:ff \
+ * actions=output:10,output:11,goto_table:2
+ */
+
+ writeTunnelFloodOut(dpid, TABLE_1_ISOLATE_TENANT, TABLE_2_LOCAL_FORWARD, segmentationId, tunnelOFPort);
+
}
private void programRemoteEgressTunnelBridgeRules(Node node, Long dpid, String segmentationId, String attachedMac, long tunnelOFPort, long localPort) {
*/
writeTunnelOut(dpid, TABLE_1_ISOLATE_TENANT, TABLE_2_LOCAL_FORWARD, segmentationId, tunnelOFPort, attachedMac);
-
- /*
- * Table(1) Rule #2
- * ----------------
- * Match: Match Tunnel ID and L2 ::::FF:FF Flooding
- * Action: Flood to selected destination TEPs
- * -------------------------------------------
- * table=1,priority=16384,tun_id=0x5,dl_dst=ff:ff:ff:ff:ff:ff \
- * actions=output:10,output:11,goto_table:2
- */
-
- writeTunnelFloodOut(dpid, TABLE_1_ISOLATE_TENANT, TABLE_2_LOCAL_FORWARD, segmentationId, tunnelOFPort);
}
private Long getIntegrationBridgeOFDPID (Node node) {
if (ofNodes != null) {
for (Node ofNode : ofNodes) {
if (ofNode.toString().contains(dpid+"")) {
- logger.info("Identified the Openflow node via toString {}", ofNode);
+ logger.debug("Identified the Openflow node via toString {}", ofNode);
ofNodeFound = true;
break;
}
// Clear on that. From a user/manageability standpoint, it is easier
// to handle Bridge names compared to dpids.
// Updating the Openflow bridge name via the SAL Description update.
- updateOFBridgeName(n, (Bridge)newRow);
+
+ // updateOFBridgeName(n, (Bridge)newRow);
}
if ((oldRow == null) && (inventoryListener != null)) {
inventoryListener.rowAdded(n, name.getName(), uuid, newRow);