hoodsy / UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Cloud Exchange interface


An alternative OpenStack Dashboard to Horizon for the MOC.

###Setup and Usage

####1. Setup Devstack (OpenStack deployment)

Recommended Environment
  • Linux VM with atleast 4GB RAM and 10GB Storage

####2. Setup Django Projet

####3. Interface Usage

  • point browser to localhost:9000

#####Login Page

  • login as an existing keystone user, or register with keystone
    • a project admin must add user to project for that user to gain access;
    • or a new user can create a project, and will join that project as an admin

#####Projects Page

  • enter a project or create a new project
    • attempts to create keystone, nova, glance clients for user in project (username, password, project)

#####Project Management

  • create/edit/delete VMs
    • selection of a VM allows for control (start, stop) and resizing (incomplete functionality; needs resize confirmation/revert)
    • create VM with available flavors, images
    • access/use active VMs via VNC

#####Project Settings

  • add/edit current project's users; ADMIN ONLY
    • add users to project
    • edit users' roles
    • delete current project

#####Marketplace

  • faked data; example for future implementation

###TODO, FAQ, Issues

#####TODO

  • State DB - checking users, endpoints, session info
  • With a State DB:
    • Improvement of Keystone client sessions
    • Currently inefficient
    • Some privilege workarounds may be solved using private keystone endpoint, port 353572 (instead of public 5000)
  • Add error checking
  • Implement OCX Library

#####Known Issues

  • Refer to outstanding issues

#####FAQ

  • Why does the UI not work anymore?

    • Run ./rejoin**stack.sh
  • Why does OpenStack send connection errors?

    • You might need to rejoin or restack
  • Why does Django say port already in use when running server?

    • OpenStack may be using the port, either runserver first, or specify port (ie. python manage.py runserver 9999)
  • How can I test the OpenStack python API effeciently??

    • Look at UI/marketUI/auth.py. Use the defined keystone, glance and nova clients via python command line (first run 'source ~/devstack/openrc')

About

License:Apache License 2.0


Languages

Language:Python 88.0%Language:JavaScript 9.3%Language:CSS 2.7%