Giter VIP home page Giter VIP logo

collins's Introduction

Status Update for Collins

Description

Collins is a distributed task processor which can control worker nodes at various sites from a central console. Tasks can be scheduled, and executed at a regular frequency or be executed in an ad-hoc file. The worker nodes require only outbound IP access to the Cloud based API. A task is anything that can be wrapped in a Docker container, and output some basic HTML tags which will be rendered at the central console.

Completed

  • Added ability to add/delete jobs to UI
  • ACI linter plugin Completed
  • implemented DRF adapter for ember-data
  • verified ability to traverse firewalls

In Progress

  • continuing to cleanup UI
  • integration testing
  • some backend automations when jobs are submitted

Need help

If someone is familiar with Ansible, I think a cool next plugin would be to execute and arbitrary ansible-playbook and bubble the output up.

Development

This project is under heavy development. The easiest way to start contributing is to run a dev environment using docker-compose. The current docker file will map local volumes so your code is live at all times.

docker-compose build
docker-compose up

Server

virtualenv venv
source venv/bin/activate
pip install -r requirementst.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

Beat Service

To start the beat service on the server side the following command is ran:

celery -A api beat -l info -S django

Client

The client is the plugin manager, it is responsible for executing jobs

Plugins

  • always_pass
  • always_fail
  • apic-acitoolkit-lint - Sample plugin using the acitoolkit lint application
  • apic-api-test - Test Authentication to APIC

Milestones

  • API can send/receive jobs
  • Sample plugins
  • Execute Jobs on celery workers
  • Results associated with jobs (django ORM)
  • API can send/receive results by job id
  • last result functionality Dockerjob.results.last().result should populate last_result on Job
  • Save results from jobs ran on celery workers
  • Job/Results detail view
  • complete executioner code
  • build executioner dockerfile
  • Job Schedule(periodicTask)
  • determine standard for plugin names _ or -
  • always_fail plugin pushed to dockerhub
  • always_pass plugin pushed to dockerhub
  • apic-api-test plugin pushed to dockerhub
  • apic-acitoolkit-lint plugin pushed to dockerhub
  • remote workers

collins's People

Contributors

joshand avatar kecorbin avatar

Watchers

 avatar  avatar  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.