From f9f17980b29f7c092d97193761d2f80a550c627d Mon Sep 17 00:00:00 2001 From: Chip Childers Date: Tue, 8 Oct 2013 10:10:07 -0400 Subject: [PATCH] Adding license headers to the newly imported contrail plugin files --- .../api/command/CreateServiceInstanceCmd.java | 17 +++++++++++++++++ .../api/response/ServiceInstanceResponse.java | 17 +++++++++++++++++ .../contrail/management/ContrailElement.java | 17 +++++++++++++++++ .../management/ContrailElementImpl.java | 17 +++++++++++++++++ .../contrail/management/ContrailGuru.java | 17 +++++++++++++++++ .../contrail/management/ContrailManager.java | 17 +++++++++++++++++ .../management/ContrailManagerImpl.java | 17 +++++++++++++++++ .../contrail/management/DBSyncGeneric.java | 17 +++++++++++++++++ .../juniper/contrail/management/EventUtils.java | 16 ++++++++++++++++ .../management/ManagementNetworkGuru.java | 17 +++++++++++++++++ .../contrail/management/ModelDatabase.java | 17 +++++++++++++++++ .../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 +++++++++++++++++ .../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 +++++++++++++++++ .../contrail/model/VMInterfaceModel.java | 17 +++++++++++++++++ .../contrail/model/VirtualMachineModel.java | 17 +++++++++++++++++ .../contrail/model/VirtualNetworkModel.java | 17 +++++++++++++++++ .../contrail/management/MockAccountManager.java | 17 +++++++++++++++++ .../management/NetworkProviderTest.java | 17 +++++++++++++++++ .../contrail/management/TestConfiguration.java | 17 +++++++++++++++++ .../contrail/management/TestDbSetup.java | 17 +++++++++++++++++ .../management/VirtualNetworkModelTest.java | 17 +++++++++++++++++ .../test/resources/contrail.properties | 17 +++++++++++++++++ .../test/resources/db.properties | 16 ++++++++++++++++ .../test/resources/mysql_db_start.sh | 17 +++++++++++++++++ .../test/resources/mysql_db_stop.sh | 17 +++++++++++++++++ 37 files changed, 627 insertions(+) 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 9a84d314208..92f5eeb08bd 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; 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 00fe7d3c7bc..1b7a7d8debb 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; 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 bd2bdbccf74..885a60f8855 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; 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 d407edd65c7..3a38020c3dd 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; 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 d555577778a..c655b0bf0e5 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; 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 c517660abc0..519579310c1 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; 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 271b016dfb7..8a3ca1bb5b7 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; 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 54e2e1491cd..d169b37bede 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; 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 445a2cfa1e6..acd1bed68f5 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; 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 3c2301687ac..bad250255c5 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; 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 90c67cc2c0b..f9e7c24a27d 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; 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 35713121727..4c8c2e92c4b 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; 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 8626ce19c21..06daf129304 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; 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 91acb3a751d..6f0ecf2064f 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 { 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 4b7687961e2..aa4e9d5d664 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; 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 cad2ea82228..f3884fb163f 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; 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 20796f71848..b90792cac97 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; 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 87650c198b7..9c8b61d03e3 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; 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 0e519eab863..ca906667ab1 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; 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 e699fd1f97c..8e238fd24d7 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; 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 f29852c4417..ff085607c23 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; 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 2da18ca34d6..7abb40a2f07 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; 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 2f27082415f..7cd420c9de9 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; 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 944093711d4..4b05e96f6e0 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; 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 b70663e9b1b..f65bfc732ae 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; 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 1ac0840ae02..0ec7c9e0226 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; 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 591eac363d1..df40025d579 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; 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 5e5b29991fa..99ab9442640 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; 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 e3e73bf1935..029950a4e9e 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; 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 7cdb1a2ecc8..c3e07d068f6 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; 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 0f682d62d72..87feaa98126 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; 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 8d481637895..55cef7cd12e 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; 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 dccd0ffbb0d..a5767c6c519 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; diff --git a/plugins/network-elements/juniper-contrail/test/resources/contrail.properties b/plugins/network-elements/juniper-contrail/test/resources/contrail.properties index 2769c9fd7c2..0c5207e3eab 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 = diff --git a/plugins/network-elements/juniper-contrail/test/resources/db.properties b/plugins/network-elements/juniper-contrail/test/resources/db.properties index 04a71756785..e07d80c112d 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 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 cf033a6998b..7476ef80e6b 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 " >&2 exit 1 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 90aa07d9783..62d70d3956e 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 " >&2 exit 1