You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ch...@apache.org on 2013/10/08 16:10:24 UTC
git commit: updated refs/heads/contrail to f9f1798
Updated Branches:
refs/heads/contrail 7099686b7 -> f9f17980b
Adding license headers to the newly imported contrail plugin files
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f9f17980
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f9f17980
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f9f17980
Branch: refs/heads/contrail
Commit: f9f17980b29f7c092d97193761d2f80a550c627d
Parents: 7099686
Author: Chip Childers <ch...@apache.org>
Authored: Tue Oct 8 10:10:07 2013 -0400
Committer: Chip Childers <ch...@apache.org>
Committed: Tue Oct 8 10:10:07 2013 -0400
----------------------------------------------------------------------
.../api/command/CreateServiceInstanceCmd.java | 17 +++++++++++++++++
.../api/response/ServiceInstanceResponse.java | 17 +++++++++++++++++
.../contrail/management/ContrailElement.java | 17 +++++++++++++++++
.../contrail/management/ContrailElementImpl.java | 17 +++++++++++++++++
.../juniper/contrail/management/ContrailGuru.java | 17 +++++++++++++++++
.../contrail/management/ContrailManager.java | 17 +++++++++++++++++
.../contrail/management/ContrailManagerImpl.java | 17 +++++++++++++++++
.../juniper/contrail/management/DBSyncGeneric.java | 17 +++++++++++++++++
.../juniper/contrail/management/EventUtils.java | 16 ++++++++++++++++
.../contrail/management/ManagementNetworkGuru.java | 17 +++++++++++++++++
.../juniper/contrail/management/ModelDatabase.java | 17 +++++++++++++++++
.../juniper/contrail/management/ServerDBSync.java | 17 +++++++++++++++++
.../contrail/management/ServerDBSyncImpl.java | 17 +++++++++++++++++
.../contrail/management/ServerEventHandler.java | 17 +++++++++++++++++
.../management/ServerEventHandlerImpl.java | 17 +++++++++++++++++
.../contrail/management/ServiceManager.java | 17 +++++++++++++++++
.../contrail/management/ServiceManagerImpl.java | 17 +++++++++++++++++
.../contrail/management/ServiceVirtualMachine.java | 17 +++++++++++++++++
.../juniper/contrail/model/FloatingIpModel.java | 17 +++++++++++++++++
.../contrail/model/FloatingIpPoolModel.java | 17 +++++++++++++++++
.../juniper/contrail/model/InstanceIpModel.java | 17 +++++++++++++++++
.../juniper/contrail/model/ModelController.java | 17 +++++++++++++++++
.../net/juniper/contrail/model/ModelObject.java | 17 +++++++++++++++++
.../juniper/contrail/model/ModelObjectBase.java | 17 +++++++++++++++++
.../contrail/model/ServiceInstanceModel.java | 17 +++++++++++++++++
.../juniper/contrail/model/VMInterfaceModel.java | 17 +++++++++++++++++
.../contrail/model/VirtualMachineModel.java | 17 +++++++++++++++++
.../contrail/model/VirtualNetworkModel.java | 17 +++++++++++++++++
.../contrail/management/MockAccountManager.java | 17 +++++++++++++++++
.../contrail/management/NetworkProviderTest.java | 17 +++++++++++++++++
.../contrail/management/TestConfiguration.java | 17 +++++++++++++++++
.../juniper/contrail/management/TestDbSetup.java | 17 +++++++++++++++++
.../management/VirtualNetworkModelTest.java | 17 +++++++++++++++++
.../test/resources/contrail.properties | 17 +++++++++++++++++
.../juniper-contrail/test/resources/db.properties | 16 ++++++++++++++++
.../test/resources/mysql_db_start.sh | 17 +++++++++++++++++
.../test/resources/mysql_db_stop.sh | 17 +++++++++++++++++
37 files changed, 627 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/command/CreateServiceInstanceCmd.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/command/CreateServiceInstanceCmd.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/command/CreateServiceInstanceCmd.java
index 9a84d31..92f5eeb 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/command/CreateServiceInstanceCmd.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/command/CreateServiceInstanceCmd.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.api.command;
import javax.inject.Inject;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/response/ServiceInstanceResponse.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/response/ServiceInstanceResponse.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/response/ServiceInstanceResponse.java
index 00fe7d3..1b7a7d8 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/response/ServiceInstanceResponse.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/api/response/ServiceInstanceResponse.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.api.response;
import org.apache.cloudstack.api.ApiConstants;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElement.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElement.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElement.java
index bd2bdbc..885a60f 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElement.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElement.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import com.cloud.utils.component.PluggableService;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElementImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElementImpl.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElementImpl.java
index d407edd..3a38020 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElementImpl.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailElementImpl.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailGuru.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailGuru.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailGuru.java
index d555577..c655b0b 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailGuru.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailGuru.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManager.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManager.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManager.java
index c517660..5195793 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManager.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManager.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManagerImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManagerImpl.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManagerImpl.java
index 271b016..8a3ca1b 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManagerImpl.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ContrailManagerImpl.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/DBSyncGeneric.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/DBSyncGeneric.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/DBSyncGeneric.java
index 54e2e14..d169b37 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/DBSyncGeneric.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/DBSyncGeneric.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.lang.reflect.Method;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/EventUtils.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/EventUtils.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/EventUtils.java
index 445a2cf..acd1bed 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/EventUtils.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/EventUtils.java
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
package net.juniper.contrail.management;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ManagementNetworkGuru.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ManagementNetworkGuru.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ManagementNetworkGuru.java
index 3c23016..bad2502 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ManagementNetworkGuru.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ManagementNetworkGuru.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ModelDatabase.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ModelDatabase.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ModelDatabase.java
index 90c67cc..f9e7c24 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ModelDatabase.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ModelDatabase.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.util.TreeSet;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSync.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSync.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSync.java
index 3571312..4c8c2e9 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSync.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSync.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSyncImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSyncImpl.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSyncImpl.java
index 8626ce1..06daf12 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSyncImpl.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerDBSyncImpl.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandler.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandler.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandler.java
index 91acb3a..6f0ecf2 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandler.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandler.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
public interface ServerEventHandler {
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandlerImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandlerImpl.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandlerImpl.java
index 4b76879..aa4e9d5 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandlerImpl.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServerEventHandlerImpl.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.lang.reflect.Method;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManager.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManager.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManager.java
index cad2ea8..f3884fb 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManager.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManager.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import com.cloud.dc.DataCenter;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManagerImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManagerImpl.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManagerImpl.java
index 20796f7..b90792c 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManagerImpl.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceManagerImpl.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceVirtualMachine.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceVirtualMachine.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceVirtualMachine.java
index 87650c1..9c8b61d 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceVirtualMachine.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/management/ServiceVirtualMachine.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import com.cloud.hypervisor.Hypervisor.HypervisorType;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpModel.java
index 0e519ea..ca90666 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpPoolModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpPoolModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpPoolModel.java
index e699fd1..8e238fd 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpPoolModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/FloatingIpPoolModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/InstanceIpModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/InstanceIpModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/InstanceIpModel.java
index f29852c..ff08560 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/InstanceIpModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/InstanceIpModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelController.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelController.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelController.java
index 2da18ca..7abb40a 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelController.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelController.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import com.cloud.dc.dao.VlanDao;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObject.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObject.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObject.java
index 2f27082..7cd420c 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObject.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObject.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObjectBase.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObjectBase.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObjectBase.java
index 9440937..4b05e96 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObjectBase.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ModelObjectBase.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.util.Comparator;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ServiceInstanceModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ServiceInstanceModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ServiceInstanceModel.java
index b70663e..f65bfc7 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ServiceInstanceModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/ServiceInstanceModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VMInterfaceModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VMInterfaceModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VMInterfaceModel.java
index 1ac0840..0ec7c9e 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VMInterfaceModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VMInterfaceModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualMachineModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualMachineModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualMachineModel.java
index 591eac3..df40025 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualMachineModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualMachineModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualNetworkModel.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualNetworkModel.java b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualNetworkModel.java
index 5e5b299..99ab944 100644
--- a/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualNetworkModel.java
+++ b/plugins/network-elements/juniper-contrail/src/net/juniper/contrail/model/VirtualNetworkModel.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.model;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/MockAccountManager.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/MockAccountManager.java b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/MockAccountManager.java
index e3e73bf..029950a 100644
--- a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/MockAccountManager.java
+++ b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/MockAccountManager.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/NetworkProviderTest.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/NetworkProviderTest.java b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/NetworkProviderTest.java
index 7cdb1a2..c3e07d0 100644
--- a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/NetworkProviderTest.java
+++ b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/NetworkProviderTest.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestConfiguration.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestConfiguration.java b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestConfiguration.java
index 0f682d6..87feaa9 100644
--- a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestConfiguration.java
+++ b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestConfiguration.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestDbSetup.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestDbSetup.java b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestDbSetup.java
index 8d48163..55cef7c 100644
--- a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestDbSetup.java
+++ b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/TestDbSetup.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.net.ServerSocket;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/VirtualNetworkModelTest.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/VirtualNetworkModelTest.java b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/VirtualNetworkModelTest.java
index dccd0ff..a5767c6 100644
--- a/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/VirtualNetworkModelTest.java
+++ b/plugins/network-elements/juniper-contrail/test/net/juniper/contrail/management/VirtualNetworkModelTest.java
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
package net.juniper.contrail.management;
import java.util.UUID;
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/resources/contrail.properties
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/resources/contrail.properties b/plugins/network-elements/juniper-contrail/test/resources/contrail.properties
index 2769c9f..0c5207e 100644
--- a/plugins/network-elements/juniper-contrail/test/resources/contrail.properties
+++ b/plugins/network-elements/juniper-contrail/test/resources/contrail.properties
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
api.hostname =
api.port =
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/resources/db.properties
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/resources/db.properties b/plugins/network-elements/juniper-contrail/test/resources/db.properties
index 04a7175..e07d80c 100644
--- a/plugins/network-elements/juniper-contrail/test/resources/db.properties
+++ b/plugins/network-elements/juniper-contrail/test/resources/db.properties
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
cluster.servlet.port=9090
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh b/plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh
index cf033a6..7476ef8 100644
--- a/plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh
+++ b/plugins/network-elements/juniper-contrail/test/resources/mysql_db_start.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
if [ "$#" -ne 1 ] ; then
echo "Usage: $0 <port>" >&2
exit 1
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9f17980/plugins/network-elements/juniper-contrail/test/resources/mysql_db_stop.sh
----------------------------------------------------------------------
diff --git a/plugins/network-elements/juniper-contrail/test/resources/mysql_db_stop.sh b/plugins/network-elements/juniper-contrail/test/resources/mysql_db_stop.sh
index 90aa07d..62d70d3 100644
--- a/plugins/network-elements/juniper-contrail/test/resources/mysql_db_stop.sh
+++ b/plugins/network-elements/juniper-contrail/test/resources/mysql_db_stop.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
if [ "$#" -ne 1 ] ; then
echo "Usage: $0 <port>" >&2
exit 1