diff options
Diffstat (limited to 'ocata/vagrant')
-rw-r--r-- | ocata/vagrant/Vagrantfile | 14 | ||||
-rw-r--r-- | ocata/vagrant/bootstrap.sh | 13 | ||||
-rw-r--r-- | ocata/vagrant/compute.conf | 14 | ||||
-rw-r--r-- | ocata/vagrant/control.conf | 14 | ||||
-rw-r--r-- | ocata/vagrant/create_vm.sh | 13 | ||||
-rw-r--r-- | ocata/vagrant/setup_cell.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/setup_compute.sh | 13 | ||||
-rw-r--r-- | ocata/vagrant/setup_control.sh | 13 | ||||
-rw-r--r-- | ocata/vagrant/test/Dockerfile | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test-compute.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test-extensions.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test-identity.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test-image.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test-network.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test-orchestration.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/test_multicloud.sh | 14 | ||||
-rw-r--r-- | ocata/vagrant/test/tests | 14 |
17 files changed, 234 insertions, 0 deletions
diff --git a/ocata/vagrant/Vagrantfile b/ocata/vagrant/Vagrantfile index e42522e4..df8b605e 100644 --- a/ocata/vagrant/Vagrantfile +++ b/ocata/vagrant/Vagrantfile @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! $num_compute_nodes = 1 diff --git a/ocata/vagrant/bootstrap.sh b/ocata/vagrant/bootstrap.sh index 8bbd7dd6..a0893f6c 100644 --- a/ocata/vagrant/bootstrap.sh +++ b/ocata/vagrant/bootstrap.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. set -ex diff --git a/ocata/vagrant/compute.conf b/ocata/vagrant/compute.conf index 25019407..30dd69f0 100644 --- a/ocata/vagrant/compute.conf +++ b/ocata/vagrant/compute.conf @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + [[local|localrc]] SCREEN_LOGDIR=/opt/stack/log LOGFILE=stack.sh.log diff --git a/ocata/vagrant/control.conf b/ocata/vagrant/control.conf index c82a1573..3056acad 100644 --- a/ocata/vagrant/control.conf +++ b/ocata/vagrant/control.conf @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + [[local|localrc]] SCREEN_LOGDIR=/opt/stack/log LOGFILE=stack.sh.log diff --git a/ocata/vagrant/create_vm.sh b/ocata/vagrant/create_vm.sh index 6597ae45..42e55bee 100644 --- a/ocata/vagrant/create_vm.sh +++ b/ocata/vagrant/create_vm.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. source ~/devstack/openrc admin admin netid=$(openstack network list --name private -f value | cut -f1 -d' ') diff --git a/ocata/vagrant/setup_cell.sh b/ocata/vagrant/setup_cell.sh index 44265016..61679fe1 100644 --- a/ocata/vagrant/setup_cell.sh +++ b/ocata/vagrant/setup_cell.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex source ~/devstack/openrc admin admin diff --git a/ocata/vagrant/setup_compute.sh b/ocata/vagrant/setup_compute.sh index 3f503531..a1898738 100644 --- a/ocata/vagrant/setup_compute.sh +++ b/ocata/vagrant/setup_compute.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. set -ex diff --git a/ocata/vagrant/setup_control.sh b/ocata/vagrant/setup_control.sh index 15cf2c79..a4f9bed0 100644 --- a/ocata/vagrant/setup_control.sh +++ b/ocata/vagrant/setup_control.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. set -ex diff --git a/ocata/vagrant/test/Dockerfile b/ocata/vagrant/test/Dockerfile index bc306c7a..10e17cae 100644 --- a/ocata/vagrant/test/Dockerfile +++ b/ocata/vagrant/test/Dockerfile @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + FROM python:2 ENV MSB_ADDR "127.0.0.1" diff --git a/ocata/vagrant/test/test-compute.sh b/ocata/vagrant/test/test-compute.sh index 0c0fce1a..414815e0 100644 --- a/ocata/vagrant/test/test-compute.sh +++ b/ocata/vagrant/test/test-compute.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9006/api/multicloud-ocata/v0/openstack-hudson-dc_RegionOne diff --git a/ocata/vagrant/test/test-extensions.sh b/ocata/vagrant/test/test-extensions.sh index 305a5a39..c39777fe 100644 --- a/ocata/vagrant/test/test-extensions.sh +++ b/ocata/vagrant/test/test-extensions.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9006/api/multicloud-ocata/v0/openstack-hudson-dc_RegionOne diff --git a/ocata/vagrant/test/test-identity.sh b/ocata/vagrant/test/test-identity.sh index 6adb8822..b437ab7e 100644 --- a/ocata/vagrant/test/test-identity.sh +++ b/ocata/vagrant/test/test-identity.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9006/api/multicloud-ocata/v0/openstack-hudson-dc_RegionOne diff --git a/ocata/vagrant/test/test-image.sh b/ocata/vagrant/test/test-image.sh index 4b977938..6296d2cc 100644 --- a/ocata/vagrant/test/test-image.sh +++ b/ocata/vagrant/test/test-image.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9006/api/multicloud-ocata/v0/openstack-hudson-dc_RegionOne diff --git a/ocata/vagrant/test/test-network.sh b/ocata/vagrant/test/test-network.sh index 8b822164..813ea294 100644 --- a/ocata/vagrant/test/test-network.sh +++ b/ocata/vagrant/test/test-network.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9006/api/multicloud-ocata/v0/openstack-hudson-dc_RegionOne diff --git a/ocata/vagrant/test/test-orchestration.sh b/ocata/vagrant/test/test-orchestration.sh index 239d3a6b..19ee05a6 100644 --- a/ocata/vagrant/test/test-orchestration.sh +++ b/ocata/vagrant/test/test-orchestration.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9006/api/multicloud-ocata/v0/openstack-hudson-dc_RegionOne diff --git a/ocata/vagrant/test/test_multicloud.sh b/ocata/vagrant/test/test_multicloud.sh index 0f4a655a..f709f3b4 100644 --- a/ocata/vagrant/test/test_multicloud.sh +++ b/ocata/vagrant/test/test_multicloud.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + set -ex sudo apt-get update -y diff --git a/ocata/vagrant/test/tests b/ocata/vagrant/test/tests index 276fcd6f..33fa07da 100644 --- a/ocata/vagrant/test/tests +++ b/ocata/vagrant/test/tests @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Intel Corporation. +# +# Licensed 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. + test-extensions.sh test-identity.sh test-compute.sh |