-
Notifications
You must be signed in to change notification settings - Fork 6
Aeolus Demo Commands
Back to presentations / demo portal
After you have Setup Aeolus. The following can be used to show off the application
Discuss the deltacloud architecture, different supported drivers , 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'](http://localhost:3005/api'))
client = DeltaCloud.new(’admin@internal’, ‘cloudpass’, ‘[http://localhost:3004/api'](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
Discuss tdl, REST/QMF/local interfaces, support providers & os types, JEOS, deployable / deployment descriptions, etc
$ 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><username>admin</username><tenant>admin</tenant>
<password>cloudpass</password><strategy>keystone</strategy><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 base_image browserquest_git_head_f16.xml
sudo imagefactory --debug target_image --id b55b42f1-aa2d-418f-b635-252e5f343209 rhevm
sudo imagefactory --debug provider_image --id “2492c8c2-ada4-4325-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