Giter Site home page Giter Site logo

hwakabh / cottonmouth Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1003 KB

Alternate solutions for DellEMC ViPR-Controller, CoprHD

License: GNU General Public License v3.0

Python 77.59% CSS 9.85% JavaScript 1.69% HTML 10.86%
ansible dellemc django mongodb python

cottonmouth's People

Contributors

dependabot[bot] avatar hwakabh avatar

cottonmouth's Issues

separate service modules

Following to MTVS architecture in Django framework, separate operational logic from views.py and use them as service module.

add error-handling logic for local file search

In service_utils.py, case if user-input values are not in device_*.yml, the error-handling process or user notifications should be raised by the programs.
Currently when this case would occur, user just come across Django debugging menu.
The assertion below would be better to be included in try ... except.

    connect_device = configs[input_vplex.replace('#','_')]['connect_devices']

Implemented RESTful API

  • Basic implementation of RESTful-API
    • with `Django REST-API Framework (DRF)
    • Test would be expected to run by curl comands
  • Updated pre-requirements to install djangorestframework and django-filter python libs

Integrations with custom ansible modules

  • Integrations with Django and ansible commands
    • make ansible root within application root
    • add service modules within Django MTV archtechtures
    • kick ansible commands from service module

Update Django templates

  • Update Django templates within MTV architechtures
    • create home.html to create web-front page
    • allow UI-users to operate interactively

Create master-playbook for ansible functions

  • create site.yml kicked by service modules of Django
  • the playbook allows user to:
    • select target operations comment/un-comment the role of ansible
  • ansible role would be:
    • ansible-vplex
    • ansible-mds
    • ansible-unity
    • ansible-vsphere

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.