Added the copyright marks 13/32313/1
authorsaomenmen <zhangmroy@163.com>
Wed, 6 Jan 2016 02:26:14 +0000 (10:26 +0800)
committersaomenmen <zhangmroy@163.com>
Wed, 6 Jan 2016 02:28:40 +0000 (10:28 +0800)
Change-Id: I247221bfb3313bb812bfe738fd1d98bbc2555f0c
Signed-off-by: saomenmen <zhangmroy@163.com>
15 files changed:
nemo-impl/src/test/java/org/opendaylight/nemo/intent/algorithm/EdgeTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/intent/algorithm/RoutingAlgorithmTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/intent/algorithm/VertexTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/intent/computation/VNMappingUnitTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/intent/computation/VNMappingUnitUtilsTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/user/vnspacemanager/languagestyle/NEMOParse/ParseExceptionTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/user/vnspacemanager/languagestyle/NEMOParse/TokenMgrErrorTest.java
nemo-impl/src/test/java/org/opendaylight/nemo/user/vnspacemanager/languagestyle/NEMOParse/TokenTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/OpenflowRendererTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/physicalnetwork/OFLinkListenerTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/physicalnetwork/OFNodeListenerTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/physicalnetwork/OFPacketInListenerTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/physicalnetwork/PhysicalFlowUtilsTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/physicalnetwork/UtilsTest.java
nemo-renderers/openflow-renderer/src/test/java/org/opendaylight/nemo/renderer/openflow/utils/ARPTest.java

index ecfd4e3210cc56d21b35e3777be323345d26eaa9..cdc7d3cadf7fd98bff3c7cec77d389c39a477439 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.intent.algorithm;
 
 import junit.framework.TestCase;
index c3fcb9b2cbd6b03a94ab04a36a60797d8c752cf0..5a84645bba469409f5953e055c842237dc105130 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.intent.algorithm;
 
 import junit.framework.TestCase;
index f7931f617b303c7f9831f2e09143fc93928cc036..74bdb88f9bc880cde0c93a0c58ee8cd150a5161a 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.intent.algorithm;
 
 import junit.framework.TestCase;
index d456803c3472cdafee6a38a4fc2aede0a4632be5..e979bdcbe7a0951065d9c60cee69c6bb231b4d5f 100644 (file)
@@ -154,10 +154,12 @@ public class VNMappingUnitTest extends TestCase {
         when(virtualLink.getDestNodeId()).thenReturn(virtualNodeId);
         when(virtualLink.getBandwidth()).thenReturn(1L);
         //return to main
+        doNothing().when(pnResourcesTracker).addPhysicalPath(any(UserId.class),any(PhysicalPath.class));
         when(virtualLink.getLinkId()).thenReturn(virtualLinkId);
         when(virtualLinkId.getValue()).thenReturn(new String("00001111-0000-0000-0000-000011112222"));
 
         vnMappingUnit.virtualNetworkMapping(virtualNetwork, userVnPnMapping, physicalPaths);
+        verify(pnResourcesTracker).addPhysicalPath(any(UserId.class), any(PhysicalPath.class));
         verify(userVnPnMapping,times(2)).getVnPnMappingResult();
         verify(virtualLink,times(2)).getSrcNodeId();
         verify(virtualLink,times(2)).getDestNodeId();
@@ -202,10 +204,12 @@ public class VNMappingUnitTest extends TestCase {
         when(virtualLink.getDestNodeId()).thenReturn(virtualNodeId);
         when(virtualLink.getBandwidth()).thenReturn(1L);
         //return to main
+        doNothing().when(pnResourcesTracker).addPhysicalPath(any(UserId.class),any(PhysicalPath.class));
         when(virtualLink.getLinkId()).thenReturn(virtualLinkId);
         when(virtualLinkId.getValue()).thenReturn(new String("00001111-0000-0000-0000-000011112222"));
 
         vnMappingUnit.virtualNetworkMapping(virtualNetwork, unmappedVirtualLinks, userVnPnMapping, physicalPaths);
+        verify(pnResourcesTracker).addPhysicalPath(any(UserId.class), any(PhysicalPath.class));
         verify(userVnPnMapping,times(2)).getVnPnMappingResult();
         verify(virtualLink,times(2)).getSrcNodeId();
         verify(virtualLink,times(2)).getDestNodeId();
index 7e53fc9dec395ae4f6ca45b6ea6e83a70b2c0531..61086743de69b649895f67234cf4479fb17edf07 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.intent.computation;
 import org.junit.Before;
 import org.junit.Test;
index 30fdfa42fb836753a5aecf178a688dac2d01bda3..21f09abc720b911ee7b2beec67393fd231caa5c3 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.user.vnspacemanager.languagestyle.NEMOParse;
 
 import  org.opendaylight.nemo.user.vnspacemanager.languagestyle.NEMOParse.ParseException;
index ec9386ef7d9c909b0ac452c4ef457ffd4f698ed3..a73c9d630dd67b735a9e8bba7b41797c9db6358f 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.user.vnspacemanager.languagestyle.NEMOParse;
 
 import  org.opendaylight.nemo.user.vnspacemanager.languagestyle.NEMOParse.TokenMgrError;
index b26dc959e35887ef0871ab1512e748d0fc17c5e3..562ad462f5220e154a304210126c38b0ae2ecd52 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.user.vnspacemanager.languagestyle.NEMOParse;
 
 import org.opendaylight.nemo.user.vnspacemanager.languagestyle.NEMOParse.Token;
index 02a5c9d7b533088c6c4084c33b09c071e89b174c..eb2f7e706bc32d3919cfaa69c0fa55b29f5c0f30 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow;
 
 import junit.framework.TestCase;
index 1f260803dfa831717d3ba48b8de64b3226ca2d86..fcb69c4a7f52513f7403e55844e454c213d16052 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow.physicalnetwork;
 
 import org.junit.Assert;
index 6ec59670e553141b11ec7d54ef6149d07844bf66..864c76f07883a2a86911b9619e4015a1e1db2e0e 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow.physicalnetwork;
 
 import junit.framework.TestCase;
index 368fff4f8f5811f2423d4ddc0a4a62ace6440352..b4c1a9db37964184043fd51f050f81af11f0f5c7 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow.physicalnetwork;
 
 import junit.framework.TestCase;
index d71e9c98f6b19efc2cfeff9fba61692a774c23bc..c26688e9aaf281c7fb130a1648e1ad82d1e28811 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow.physicalnetwork;
 
 import junit.framework.TestCase;
index 391412001ea41bd17539e5ef61854c0ba2b5f66d..6e0ba5301e18d6e40d0affb7077d18054568b097 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow.physicalnetwork;
 import org.junit.Assert;
 import org.junit.Test;
index 16384ce25af9a6fbc0c57c9c0c8603916936a1ae..76d4a6f05191c3082fc946d112de6bbf5f3aa470 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Huawei, 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.nemo.renderer.openflow.utils;
 
 import junit.framework.TestCase;