+<!---
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. (c) 2017-2018 AT&T Intellectual Property, Inc
+-->
+
This repo contains experimental scripts etc for setting up cloud-native stacks for application deployment and management on bare-metal servers. A lot of cloud-native focus so far has been on public cloud providers (AWS, GCE, Azure) but there aren't many tools and even fewer full-stack open source platforms for setting up bare metal servers with the same types of cloud-native stack features. Further, app modeling methods supported by cloud-native stacks differ substantially. The tools in this repo are intended to help provide a comprehensive, easily deployed set of cloud-native stacks that can be further used for analysis and experimentation on converged app modeling and lifecycle management methods, as well as other purposes, e.g. assessments of efficiency, performance, security, and resilience.
The toolset will eventually include these elements of one or more full-stack platform solutions:
* cloudify
* ONAP
* helm
-* applications useful for platform characterization
\ No newline at end of file
+* applications useful for platform characterization
--- /dev/null
+# When adding projects all `arrays: []` sections must have\r
+# a value, Use 'nullvalue' if no waivers are available.\r
+#\r
+# This file uses standard regular expression syntax, however be mindful\r
+# of escaping YAML delimiters too (such as `:`) using double quotes "".\r
+\r
+binaries:\r
+ docs/images/models-k8s.png:\r
+ - e57b24c5591f20a8892a159fb3e83dbfd987ec0dac637c602b71a14e62da7097\r
+ tests/blueprints/tosca-vnfd-3node-tacker/favicon.ico:\r
+ - 2088cf0e9512f999b35b76b89ceec1c0e19b7b4d4444a06485c505cc734ac229\r
+ tests/blueprints/tosca-vnfd-3node-tacker/logo.png:\r
+ - 2d6e161ccbcf1bd45faab7a148095977fee40547cac479cae44bb5fddc18eb74\r
+ docs/images/models-k8s.png:\r
+ - fe2af6fdafb5078f82a3d81b0f446f25cdd3e9795c92d1e848fc551e6e8248de\r
+ tests/blueprints/tosca-vnfd-3node-tacker/logo.png:\r
+ - af757aa0af55c321cfe1231737eefb069450eb23c6cb89d4d87134e3dbc26c92\r
+ tests/blueprints/tosca-vnfd-3node-tacker/favicon.ico:\r
+ - f38f1389d374b06d54f1dd410a9e09654848d35858014f1cb86475369dc16c56\r
+\r
+\r
+file_audits:\r
+ file_names:\r
+ - README.md\r
+ file_contents:\r
+ - "(.*)yum install.*wget"\r
+ - "(.*)yum install.*git"\r
+ - "(.*)apt-get install.*wget"\r
+ - "(.*)apt-get install.*git"\r
+ - "\\bcurl\\b"\r
+ - "wget"\r
+ - "git.*clone(.*)gerrit\\.opnfv\\.org"\r
+ - "git.*clone(.*)\\.openstack\\.org"\r
+ - "git.*clone(.*)github\\.com/openstack"\r
+ - "git.*clone(.*)github\\.com/cloudify-cosmo/cloudify-openstack-plugin"\r
+ - "git.*clone(.*)github\\.com/cloudify-cosmo/cloudify-fabric-plugin"\r
+ - "git.*clone(.*)github\\.com/cloudify-cosmo/cloudify-hello-world-example"\r
+ - "wget (.*)github\\.com/cloudify-cosmo/cloudify-manager-blueprints"\r
+ - "wget (.*)github\\.com/cloudify-incubator/cloudify-kubernetes-plugin"\r
+ - "wget (.*)gigaspaces-repository-eu\\.s3\\.amazonaws\\.com/org/cloudify3"\r
+ - "wget (.*)repository\\.cloudifysource\\.org"\r
+ - "wget (.*)releases\\.rancher\\.com"\r
+ - "wget (.*)packages\\.docker\\.com"\r
+ - "curl (.*)raw\\.githubusercontent\\.com/kubernetes/helm/master/scripts/get"\r
+ - "git.*clone(.*)github\\.com/blsaws/cloudify-cli-hello-world-example"\r
+ - "git.*clone(.*)github\\.com/Metaswitch/clearwater-docker"\r
+ - "git.*clone(.*)github\\.com/Metaswitch/clearwater-live-test"\r
+ - "git.*clone(.*)github\\.com/kubernetes"\r
+ - "git.*clone(.*)github\\.com/att/netarbiter"\r
+ - ".*\\$OS_PASSWORD.*"\r
+ - ".*\\~/tmp/.*"\r
+ - ".*SIGNUP_CODE\\=secret.*"\r
+ - "ssh_key_filename: /root/.ssh/vHello.pem"\r
+ - "vnf_mgmt 10.0.0.0/24"\r
+ - "# and setup CLI environment.*"\r
+ - "eval `ssh-agent`"\r
+ - ".*Create secrets for kubernetes.*"\r
+ - "cfy secrets.*"\r
+ - ".*get_secret: kubernetes.*"\r
+ - "0\\.0\\.0\\.0:4243"\r
+ - ".*kubectl create secret.*"\r
+ - ".*kubectl get secrets.*"\r
+ - ".*kubectl delete secrets.*"\r
+ - ".*Create Ceph admin secret.*"\r
+ - ".*SecretName: ceph.*"\r
+ - ".*Create ceph-secret.*"\r
+ - ".*# A similar secret.*"\r
+ - '.*"user":"", "password":"" }.*'\r
+ - ".*--password=\\$MYSQL_PASSWORD.*"\r
+ - ".*#bind_host = 0\\.0\\.0\\.0\\.*"\r
+ - ".*password = tacker.*"\r
+ - ".*# < transport_url = rabbit://stackrabbit:secretrabbit.*"\r
+ - ".*# password = secretservice.*"
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+# Copyright 2018 AT&T Intellectual Property, Inc
+#
+# 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.
+#
+# What this is: test script for the OPNFV Anteater toolset to test patches
+# for Anteater exceptions as described at
+# https://wiki.opnfv.org/pages/viewpage.action?pageId=11700198
+#
+#. Usage:
+#. $ git clone https://gerrit.opnfv.org/gerrit/models
+#. $ bash models/tools/anteater.sh [exceptions]
+#. exceptions: exceptions file to test (in Anteater format - see URL above)
+#. if not provided, test exceptions file in the anteater repo
+#.
+
+sudo docker stop anteater
+sudo docker rm -v anteater
+if [[ ! -d ~/releng-anteater ]]; then
+ git clone https://gerrit.opnfv.org/gerrit/releng-anteater ~/releng-anteater
+fi
+cd ~/releng-anteater/docker
+sudo docker build -t anteater .
+sudo docker run -d --name anteater anteater sleep 60
+if [[ "$1" != "" ]]; then
+ sudo docker cp $1 anteater:/home/opnfv/anteater/exceptions/models.yaml
+fi
+sudo docker exec -it anteater /bin/bash -c \
+'cat exceptions/models.yaml; \
+git clone https://gerrit.opnfv.org/gerrit/models ~/models; \
+~/venv/bin/anteater -p models --path ~/models' | tee ~/anteater-models.log