-
Notifications
You must be signed in to change notification settings - Fork 0
Aeolus_Demo_Commands
Presentations to presentations / demo portal
After you have Aeolus demo setup Aeolus. The following can be used to show off the application
h2. Deltacloud
Discuss the deltacloud architecture, different supported drivers (bringing up the website), how calls can be invoked, statelessness, resources and collections, DMTF cloud definition and API, REST headers & params, etc
sudo /usr/bin/ruby /usr/bin/deltacloudd -i openstack -e production --port 3005 --host localhost -u nobody -g nobody -P "http://openstack:5000/v2.0"
sudo API_PROVIDER='https://ovirt:8443/api' /usr/bin/ruby /usr/bin/deltacloudd -i rhevm -e production --port 3004 --host localhost -u nobody -g nobody
$ irb
require 'deltacloud'
client = DeltaCloud.new('admin+admin', 'cloudpass', 'http://localhost:3005/api')
client = DeltaCloud.new('admin@internal', 'cloudpass', 'http://localhost:3004/api')
client.instances.collect { |i| i.name }
client.images.collect { |i| i.id }
client.create_instance('a4180f79-c4bf-4d61-a801-b5990b590fb0')
client.create_instance("00000000-0000-0000-0000-000000000000")
client.instance('98511559-46a3-4eb2-aba2-4c81c4e0d5b5').start!
client.instance('98511559-46a3-4eb2-aba2-4c81c4e0d5b5').state
h2. Imagefactory & oz
Discuss tdl, REST/QMF/local interfaces, support providers & os types, JEOS, deployable / deployment descriptions, etc
h3. Create provider description and credential files:
$ cat rhevm.json
{"nfs-dir": "/mnt/ovirt", "nfs-path": "/ext/ovirt31export",
"nfs-host": "110.220.110.30", "cluster": "_any_",
"api-url": "http://ovirt/api", "timeout": 1800 }
$ cat rhevm.xml
<provider_credentials><rhevm_credentials><username>admin@internal</username><password>cloudpass</password></rhevm_credentials></provider_credentials>
$ cat openstack.json
{glance-host “openstack”, glance-port 9292 }
$ cat openstack.xml \
<provider_credentials><openstack_credentials>adminadmincloudpasskeystone<auth_url>http://openstack:5000/v2.0</auth_url></openstack_credentials></provider_credentials>
There are many sample templates that you can use with image factory here: https://github.com/aeolus-incubator/templates
sudo imagefactory baseimage browserquestgitheadf16.xml
sudo imagefactory ~~~~debug target_image~~~~id
b55b42f1-aa2d418f-b635252e5f343209 rhevm
sudo imagefactory ~~~~debug provider_image~~~~id
"2492c8c2-ada44325-a783-da3c37871ba7"-target rhevm rhevm.json
rhevm.xml
Finally show off the WUI, clicking around to view / create some entities on the wui side. Additionally some commands to create entities via the command line include:
aeolus ~~~~help
aeolus hwp list
aeolus hwp create~~~~name demo
aeolus image —help
Mention Aeolus is an umbrella project, Heat, Snap, puppet, platform, and other efforts should be mentioned. Open an vibrant international community, willing to work with users and developers to meet their needs. #aeolus aeolus-devel