Giter Site home page Giter Site logo

cloud's Introduction

Required Packages

Package Version
python-cherrypy 3.2.2
python-ldap 2.3.10
python-jinja2 2.2.1
python-websockify 0.5.1
python-keystoneclient 2.3.2
python-novaclient 3.3.1
numpy 1.4.1
words 3.0

Launching

To launch the webfrontend without Apache, create config/global.conf and a badwords file using the guide below then run the following.

python server.py

And then navigate to:

http://hostname:81/

When running the webfrontend without Apache, you might have to manually launch websockify.

/usr/bin/websockify -v PORT --cert=CERT --key=KEY --target-config=TOKENDIR

Configuration

Copy config/default.conf to config/global.conf and change unset values, or any you wish, using the guide below:

[global]

# Auth
auth.ldap_address = The URL of an LDAP server to convert FedID into real name (optional)
auth.ldap_basedn = The basedn to lookup in LDAP (optional)
auth.session_expire_secs = Number of seconds to wait to expire a session

# CherryPy Server
server.socket_host = Network interface CherryPy will listen to
server.socket_port = TCP port CherryPy will listen to

# Cherrypy Tools
tools.caching.on = Set False to disable CherryPy caching
tools.isAuthorised.on = Set False to log out users without session
tools.jinja.on = Set True to enable CherryPy Jinja helper
tools.sessions.on = Set True to enable session storing
tools.sessions.storage_type = CherryPy class to use for session storing ('ram', 'file', 'postgresql' or 'memcached')
tools.sessions.storage_path = Path to sessions file directory
tools.sessions.timeout =  Number of minutes to timeout sessions

# Logs
log.access_file = Path to access log
log.error_file = Path to error log

# VM names
goodwords = Path to file containing goodwords for random name generator
badwords = Path to user-created files containing banned words for VM names 

# Websockify
wshostname = The hostname where you are running websockify(for noVNC)
wsport = The port that websockify is running on
#wscert = The location of the SSL cert
#wskey = The location of the SSL key
wstokendir = A directory to store noVNC tokens

# Wsgi
wsgi_enabled = Set True if you want to launch this application behind something like Apache

# Platform
cloudPlatform = Set to 'openstack' or 'opennebula'

# OpenNebula
headnode = The URL of the OpenNebula XMLRPC API (recommended to use HTTPS)
unlimited-cpu = Default CPU quota value for user with unlimited quota
unlimited-mem = Default RAM quota value for user with unlimited quota
unlimited-sys = Default Disk quota value for user with unlimited quota
unlimited-vm = Default VMs quota value for user with unlimited quota

# OpenStack
keystone = URL for keystone authentication
novaVersion = Version of nova used
openstack_host = Hostname of openstack
openstack_default_domain = Domain for user logins
vmNetworkLabel = Network label to assign to VMs
securityGroupName = Security group to assign to created VMs
flavorPrefix = Prefix to available flavor names
availabilityZoneName = Availabilty zone to assign to VMs
aqProfiles = URL storing aquilon profiles
countLimit = Maximum number of VMs created in OpenStack at once (If quota is unlimited)

# Misc
response.headers.server = Default response headers
email = The helpdesk/support email address that appears throughout the website


Use of the OpenStack logo is subject to a Community Use Agreement.

cloud's People

Contributors

mrichards99 avatar jhaydock-pro avatar apdibbo avatar frazzleuk avatar jrha avatar tofu-rocketry avatar gooball avatar jethompson97 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.