summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
b6f0dde)
Change-Id: I6bb5f24c3ffd70be7c4e36eea7c5e1384fa33a05
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
43 files changed:
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.resolver;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.policy.rev140421.tenants.tenant.subject.feature.instances.ActionInstance;
package org.opendaylight.groupbasedpolicy.resolver;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.policy.rev140421.tenants.tenant.subject.feature.instances.ActionInstance;
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.resolver;
import java.util.ArrayList;
package org.opendaylight.groupbasedpolicy.resolver;
import java.util.ArrayList;
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.resolver;
import javax.annotation.concurrent.Immutable;
package org.opendaylight.groupbasedpolicy.resolver;
import javax.annotation.concurrent.Immutable;
String oegid = null;
if (o.egId != null) oegid = o.egId.getValue();
return ComparisonChain.start()
String oegid = null;
if (o.egId != null) oegid = o.egId.getValue();
return ComparisonChain.start()
Ordering.natural().nullsLast())
Ordering.natural().nullsLast())
Ordering.natural().nullsLast())
.result();
}
Ordering.natural().nullsLast())
.result();
}
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.resolver;
import java.util.HashMap;
package org.opendaylight.groupbasedpolicy.resolver;
import java.util.HashMap;
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.resolver;
import java.util.ArrayList;
package org.opendaylight.groupbasedpolicy.resolver;
import java.util.ArrayList;
-package org.opendaylight.groupbasedpolicy.resolver.validator;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator;
+
import java.util.Collections;
import java.util.List;
import java.util.Collections;
import java.util.List;
-package org.opendaylight.groupbasedpolicy.resolver.validator;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator;
+
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Nullable;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Nullable;
-package org.opendaylight.groupbasedpolicy.resolver.validator;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator;
+
import java.util.ArrayList;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
-package org.opendaylight.groupbasedpolicy.resolver.validator;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator;
+
/**
* Interface for Validators used to validate Policy objects
*
/**
* Interface for Validators used to validate Policy objects
*
-package org.opendaylight.groupbasedpolicy.resolver.validator.validators;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator.validators;
+
import org.opendaylight.groupbasedpolicy.resolver.validator.AbstractValidator;
import org.opendaylight.groupbasedpolicy.resolver.validator.SimpleResult;
import org.opendaylight.groupbasedpolicy.resolver.validator.AbstractValidator;
import org.opendaylight.groupbasedpolicy.resolver.validator.SimpleResult;
-package org.opendaylight.groupbasedpolicy.resolver.validator.validators;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator.validators;
+
import java.util.ArrayList;
import java.util.List;
import org.opendaylight.groupbasedpolicy.resolver.validator.AbstractValidator;
import java.util.ArrayList;
import java.util.List;
import org.opendaylight.groupbasedpolicy.resolver.validator.AbstractValidator;
-package org.opendaylight.groupbasedpolicy.resolver.validator.validators;
-
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+
+package org.opendaylight.groupbasedpolicy.resolver.validator.validators;
+
import java.util.ArrayList;
import java.util.List;
import org.opendaylight.groupbasedpolicy.resolver.validator.AbstractValidator;
import java.util.ArrayList;
import java.util.List;
import org.opendaylight.groupbasedpolicy.resolver.validator.AbstractValidator;
- * Copyright 2011, Big Switch Networks, Inc.
+ * Copyright (c) 2011 Big Switch Networks, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
/**
* This allows you to represent a task that should be queued for future execution
/**
* This allows you to represent a task that should be queued for future execution
- * but where you only want the task to complete once in response to some sequence
+ * but where you only want the task to complete once in response to some sequence
* of events. For example, if you get a change notification and want to reload state,
* you only want to reload the state once, at the end, and don't want to queue
* an update for every notification that might come in.
* of events. For example, if you get a change notification and want to reload state,
* you only want to reload the state once, at the end, and don't want to queue
* an update for every notification that might come in.
* The semantics are as follows:
* * If the task hasn't begun yet, do not queue a new task
* * If the task has begun, set a bit to restart it after the current task finishes
*/
public class SingletonTask {
* The semantics are as follows:
* * If the task hasn't begun yet, do not queue a new task
* * If the task has begun, set a bit to restart it after the current task finishes
*/
public class SingletonTask {
- protected static final Logger LOG =
+ protected static final Logger LOG =
LoggerFactory.getLogger(SingletonTask.class);
LoggerFactory.getLogger(SingletonTask.class);
protected static class SingletonTaskContext {
protected boolean taskShouldRun = false;
protected boolean taskRunning = false;
protected SingletonTaskWorker waitingTask = null;
protected static class SingletonTaskContext {
protected boolean taskShouldRun = false;
protected boolean taskRunning = false;
protected SingletonTaskWorker waitingTask = null;
}
protected static class SingletonTaskWorker implements Runnable {
SingletonTask parent;
}
protected static class SingletonTaskWorker implements Runnable {
SingletonTask parent;
if ((nextschedule <= 0 || (nextschedule - now) <= 0)) {
parent.ses.execute(this);
} else {
if ((nextschedule <= 0 || (nextschedule - now) <= 0)) {
parent.ses.execute(this);
} else {
- parent.ses.schedule(this,
- nextschedule-now,
+ parent.ses.schedule(this,
+ nextschedule-now,
TimeUnit.NANOSECONDS);
}
}
TimeUnit.NANOSECONDS);
}
}
* cancel that task and reschedule it to run at the given time. If the
* task is already started, it will cause the task to be rescheduled once
* it completes to run after delay from the time of reschedule.
* cancel that task and reschedule it to run at the given time. If the
* task is already started, it will cause the task to be rescheduled once
* it completes to run after delay from the time of reschedule.
* @param delay the delay in scheduling
* @param unit the timeunit of the delay
*/
* @param delay the delay in scheduling
* @param unit the timeunit of the delay
*/
// schedule to restart at the right time
if (delay > 0) {
long now = System.nanoTime();
// schedule to restart at the right time
if (delay > 0) {
long now = System.nanoTime();
now + TimeUnit.NANOSECONDS.convert(delay, unit);
context.waitingTask.nextschedule = then;
} else {
now + TimeUnit.NANOSECONDS.convert(delay, unit);
context.waitingTask.nextschedule = then;
} else {
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.gbp.util;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpAddress;
package org.opendaylight.groupbasedpolicy.neutron.gbp.util;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpAddress;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.infrastructure;
import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
package org.opendaylight.groupbasedpolicy.neutron.mapper.infrastructure;
import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
/**
* Puts {@link #EPG} to {@link LogicalDatastoreType#CONFIGURATION}
/**
* Puts {@link #EPG} to {@link LogicalDatastoreType#CONFIGURATION}
* @param tenantId location of {@link #EPG}
* @param wTx transaction where {@link #EPG} is written
*/
* @param tenantId location of {@link #EPG}
* @param wTx transaction where {@link #EPG} is written
*/
/**
* Puts consumer-named-selector to {@link #EPG} in {@link LogicalDatastoreType#CONFIGURATION}
/**
* Puts consumer-named-selector to {@link #EPG} in {@link LogicalDatastoreType#CONFIGURATION}
* @param tenantId tenantId location of {@link #EPG}
* @param consumerNamedSelector is added to {@link #EPG}
* @param wTx transaction where the given consumer-named-selector is written
* @param tenantId tenantId location of {@link #EPG}
* @param consumerNamedSelector is added to {@link #EPG}
* @param wTx transaction where the given consumer-named-selector is written
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.infrastructure;
import java.util.ArrayList;
package org.opendaylight.groupbasedpolicy.neutron.mapper.infrastructure;
import java.util.ArrayList;
/**
* puts clause with {@link L3EndpointIdentificationConstraints} in {@link ConsumerMatchers}
* and {@link ProviderMatchers}. This clause points to subject in {@link #DHCP_CONTRACT}.
/**
* puts clause with {@link L3EndpointIdentificationConstraints} in {@link ConsumerMatchers}
* and {@link ProviderMatchers}. This clause points to subject in {@link #DHCP_CONTRACT}.
* @param tenantId location of {@link #DHCP_CONTRACT}
* @param ipPrefix used in {@link L3EndpointIdentificationConstraints}
* @param wTx transaction where entities are written
* @param tenantId location of {@link #DHCP_CONTRACT}
* @param ipPrefix used in {@link L3EndpointIdentificationConstraints}
* @param wTx transaction where entities are written
/**
* puts clause with {@link L3EndpointIdentificationConstraints} in {@link ConsumerMatchers}
* and {@link ProviderMatchers}. This clause points to subject in {@link #DNS_CONTRACT}.
/**
* puts clause with {@link L3EndpointIdentificationConstraints} in {@link ConsumerMatchers}
* and {@link ProviderMatchers}. This clause points to subject in {@link #DNS_CONTRACT}.
* @param tenantId location of {@link #DNS_CONTRACT}
* @param ipPrefix used in {@link L3EndpointIdentificationConstraints}
* @param wTx transaction where entities are written
* @param tenantId location of {@link #DNS_CONTRACT}
* @param ipPrefix used in {@link L3EndpointIdentificationConstraints}
* @param wTx transaction where entities are written
* Puts network service entities (classifier-instances, {@link #DHCP_CONTRACT},
* {@link #DNS_CONTRACT}, and {@link #EPG}) to
* {@link LogicalDatastoreType#CONFIGURATION}
* Puts network service entities (classifier-instances, {@link #DHCP_CONTRACT},
* {@link #DNS_CONTRACT}, and {@link #EPG}) to
* {@link LogicalDatastoreType#CONFIGURATION}
* @param tenantId location of network-service entities
* @param wTx transaction where network-service entities are written
*/
* @param tenantId location of network-service entities
* @param wTx transaction where network-service entities are written
*/
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.infrastructure;
import java.util.ArrayList;
package org.opendaylight.groupbasedpolicy.neutron.mapper.infrastructure;
import java.util.ArrayList;
/**
* puts clause with {@link L3EndpointIdentificationConstraints} in {@link ConsumerMatchers}
* and {@link ProviderMatchers}. This clause points to subject in {@link #CONTRACT}.
/**
* puts clause with {@link L3EndpointIdentificationConstraints} in {@link ConsumerMatchers}
* and {@link ProviderMatchers}. This clause points to subject in {@link #CONTRACT}.
* @param tenantId location of {@link #CONTRACT}
* @param ipPrefix used in {@link L3EndpointIdentificationConstraints}
* @param wTx transaction where entities are written
* @param tenantId location of {@link #CONTRACT}
* @param ipPrefix used in {@link L3EndpointIdentificationConstraints}
* @param wTx transaction where entities are written
/**
* Puts router entities (classifier-instances, {@link #CONTRACT} and {@link #EPG}) to
* {@link LogicalDatastoreType#CONFIGURATION}
/**
* Puts router entities (classifier-instances, {@link #CONTRACT} and {@link #EPG}) to
* {@link LogicalDatastoreType#CONFIGURATION}
* @param tenantId location of router entities
* @param wTx transaction where router entities are written
*/
* @param tenantId location of router entities
* @param wTx transaction where router entities are written
*/
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.common.rev140421.UniqueId;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.common.rev140421.UniqueId;
+/*
+ * Copyright (c) 2015 Intel, Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2015 Intel, Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
/**
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping;
/**
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.group;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.group;
import static com.google.common.base.Preconditions.checkNotNull;
}
return id.getValue();
}
}
return id.getValue();
}
public void removeSecGroup(EndpointGroupId id) {
secGroupById.remove(checkNotNull(id));
}
public void removeSecGroup(EndpointGroupId id) {
secGroupById.remove(checkNotNull(id));
}
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import java.util.Set;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import java.util.Set;
+/*\r
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+\r
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;\r
\r
import static com.google.common.base.Preconditions.checkNotNull;\r
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;\r
\r
import static com.google.common.base.Preconditions.checkNotNull;\r
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import org.opendaylight.groupbasedpolicy.neutron.mapper.util.MappingUtils;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import org.opendaylight.groupbasedpolicy.neutron.mapper.util.MappingUtils;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import javax.annotation.concurrent.Immutable;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import javax.annotation.concurrent.Immutable;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.util;
import java.util.List;
package org.opendaylight.groupbasedpolicy.neutron.mapper.util;
import java.util.List;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
package org.opendaylight.groupbasedpolicy.neutron.mapper.util;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.common.rev140421.UniqueId;
package org.opendaylight.groupbasedpolicy.neutron.mapper.util;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.common.rev140421.UniqueId;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.mapper.util;
public final class NeutronUtils {
package org.opendaylight.groupbasedpolicy.neutron.mapper.util;
public final class NeutronUtils {
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.neutron.ovsdb;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.neutron.ovsdb;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2015 Intel, Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay;
import java.util.HashSet;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay;
import java.util.HashSet;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.endpoint;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.endpoint;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.endpoint;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.endpoint;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.endpoint;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.endpoint;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow;
import static org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow.FlowUtils.addNxNsiMatch;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow;
import static org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow.FlowUtils.addNxNsiMatch;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow;
import com.google.common.base.Joiner;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow;
import com.google.common.base.Joiner;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.node;
import com.google.common.base.Objects;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.node;
import com.google.common.base.Objects;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.node;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.node;
import static com.google.common.base.Preconditions.checkNotNull;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.node;
import static com.google.common.base.Preconditions.checkNotNull;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.node;
import static com.google.common.base.Preconditions.checkNotNull;
-package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.sf;
- * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.sf;
import java.util.List;
import java.util.Map;
import java.util.List;
import java.util.Map;
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.sfcutils;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Ipv4Address;
package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.sfcutils;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Ipv4Address;