// step-1 auth_username = 'your_auth_username'; auth_password = 'your_auth_password'; auth_url = 'http://controller:5000'; project_name = 'your_project_name_or_id'; region_name = 'your_region_name'; var conn = require('pkgcloud').compute.createClient({ provider: 'openstack', username: auth_username, password: auth_password, authUrl:auth_url, region: region_name }); // step-2 conn.getImages(function(err, images) { for (i =0; i