Skip to content

Skeleton Rancher UI driver for custom docker-machine drivers

License

Notifications You must be signed in to change notification settings

smartsdk/ui-driver-fiwarelab

 
 

Repository files navigation

ui-driver-fiwarelab

FIWARELab Rancher UI driver

Using

Configuration

  • Add FIWARELab Keystone, Nova and Neutron endpoints in Rancher (Admin tab -> Settings -> Advanced Settings -> api.proxy.whitelist)
  • For example: "...,cloud.lab.fiware.org:4730,zurich.cloud.lab.fiware.org:8774,zurich.cloud.lab.fiware.org:9696"

Developing

  • Clone this repository into your machine`
  • npm install
  • bower install

This package contains a small web-server that will serve up the driver UI at http://localhost:3000/component.js. You can run this while developing and point the Rancher settings there.

Building

For other users to see your driver, you need to build it and host the output on a server accessible from their browsers.

  • npm build
  • Copy the contents of the dist directory onto a webserver.
    • If your Rancher is configured to use HA or SSL, the server must also be available via HTTPS.

Troubleshooting

  • No 'Access-Control-Allow-Origin' header is present on the requested resource.
  • This Custom rancher UI uses JSTACK lib as its core to get resources in FIWARELab, make sure that Rancher API URL (Admin tab -> Settings -> Host Registration URL) is the same as the URL used to access Rancher web interface.

About

Skeleton Rancher UI driver for custom docker-machine drivers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.1%
  • HTML 5.5%
  • CSS 0.4%