GithubHelp home page GithubHelp logo

moffzilla / cae Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.43 MB

CAE is an agnostic and extensible Configuration Audit Engine based on a Ms Architecture.

License: MIT License

Python 36.52% Shell 63.48%

cae's Introduction

CAE

CAE is an agnostic and extensible Configuration Audit Engine based on a MicroServices Architecture guidelines with containerized and scalable components for production workloads.

CAE supports increased operational efficiency by providing an automated & standard way of auditing VNF configurations.

alt text

Requirements

  • Running on Xenial (Cores=2 Mem=8G Root-Disk=30G)
  • This project has tested it in AWS Region: us-east-1
  • The Demo deployment is self-contained ( all CAE components including ElasticSearch )
  • The Ansible Playbook provided is for reference, it helps to provision an AWS instance, install Docker & Docker Compose (1.16.1),build CAE base image and deploy a basic set up for testing
  • Make sure resources as the AMI image, SSH Keys, Security Groups referenced in the artifacts exist in the selected region.
  • You’ll need AWS CLI installed.
  • You will need installed this Python module & Boto can be installed from your OS distribution or python’s using the pip command, install the AWS CLI and Boto3
  • Before executing make sure you have access to AW AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS Region
  • More minimum requirements can be found examining the Playbooys, make sure to update your personal settings, e.g. ssh-key

Deployment

Run Self-Contained Playbook

Under "~/deploy"

Execute:

ansible-playbook ec2_module-cae.yml -vvvv --user=ubuntu

You can ingest your own reference configuration by using onap-dump :

python tools/onap-dump.py -H [ElasticSearch IP] -p [vnf-vendor] -d  tools/data/master/[Master-Configuration].json

You can Audit your own runtime configuration by :

python tools/onap-pipe.py -H [Redis-IP] -d tools/data/config/[VNF-Config]

You can launch the basic CAE GUI :

docker run --net=cvaas001dev148_default -d -p 5000:5000 --privileged=true -e ELASTICHOST=172.18.0.3:9200  --name cvaas-gui moffzilla/cvaas-gui:dev340 /bin/bash -c "./web/run.sh 172.18.0.6"

Appendix - Tools:

The following tools (under deploy) are also included for resetting your enviroment

To terminate any AWS Instance created (it requires you to have installed aws cli) A) To remove all the Machines execute Script

'./terminate_all_instances.py' 

B) To remove an specific machine execute Script

'./list_instances.py'

'./terminate_instances.py [instance-id]'

C) Manually by AWS CLI

   'aws ec2 describe-instances | grep InstanceId'

   'aws ec2 terminate-instances --instance-ids [i-id]'

cae's People

Contributors

moffzilla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.