Skip to content

cpi job from bosh-openstack-cpi/12

Github source: ec04676d or master branch

Properties

agent

blobstore

access_key_id

access_key_id for agent used by s3 blobstore plugin

secret_access_key

secret_access_key for agent used by s3 blobstore plugin

mbus

Message bus endpoint for the agent to start accepting agent requests

Example
https://user:[email protected]:5000

blobstore

access_key_id

access_key_id used by s3 blobstore plugin

address

Address for agent to connect to blobstore server used by ‘simple’ blobstore plugin

agent

password

Password agent uses to connect to blobstore used by ‘simple’ blobstore plugin

user

Username agent uses to connect to blobstore used by ‘simple’ blobstore plugin

bucket_name

S3 Bucket used by s3 blobstore plugin

host

Host of blobstore server used by simple blobstore plugin

path

Path used by ‘local’ blobstore plugin

port

Port for agent to connect to blobstore server used by ‘simple’ blobstore plugin

provider

Provider of the blobstore used by director and agent (simple|local)

s3_port

Port of blobstore server used by s3 blobstore plugin

Default
443

secret_access_key

secret_access_key used by s3 blobstore plugin

ssl_verify_peer

Verify the SSL certificate used on the blobstore?

Default
true

use_ssl

Whether the simple blobstore plugin should use SSL to connect to the blobstore server

Default
true

env

http_proxy

Http proxy to connect to cloud API’s

https_proxy

Https proxy to connect to cloud API’s

no_proxy

No proxy environment variable

nats

address

NATS address used by agent to subscribe to agent requests

password

NATS password used by agent to subscribe to agent requests

port

NATS port used by agent to subscribe to agent requests

Default
4222

user

NATS username used by agent to subscribe to agent requests

ntp

List of ntp server URIs

Default
[]
Example
- 0.us.pool.ntp.org
- 1.us.pool.ntp.org

openstack

api_key

OpenStack API key

auth_url

URL of the OpenStack Identity endpoint to connect to

Example
http://192.168.0.1:5000/v2.0

boot_from_volume

Boot from volume (optional, false by default)

Default
false

config_drive

Config drive device (cdrom or disk) to use as metadata service on OpenStack (optional)

Example
cdrom

connection_options

Hash containing optional connection parameters to the OpenStack API

default_key_name

Default OpenStack keypair to use when spinning up new vms

default_security_groups

Default OpenStack security groups to use when spinning up new vms

domain

OpenStack domain (optional)

endpoint_type

OpenStack endpoint type (optional, by default publicURL)

Default
publicURL

ignore_server_availability_zone

when creating a disk, do not use the availability zone of the server, fall back to Openstacks default

Default
false

region

OpenStack region (optional)

state_timeout

Timeout (in seconds) for OpenStack resources desired state (optional, by default 300)

Default
300

stemcell_public_visibility

Set public visibility for stemcells (optional, false by default)

Default
false

tenant

OpenStack tenant name

use_dhcp

Whether to use DHCP when configuring networking on VM (for both manual and dynamic)

Default
true

username

OpenStack user name

wait_resource_poll_interval

Changes the delay (in seconds) between each status check to OpenStack when creating a resource (optional, by default 5)

Default
5

registry

endpoint

Full URL for the registry endpoint that may include basic auth credentials

Example
http://admin:admin-password@some-ip:port

host

Address of the Registry to connect to

password

Password to access the Registry

port

Port of the Registry for CPI and agent to connect to

Default
25777

username

Username to access the Registry

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/cpi/ directory (learn more).

  • bin/cpi (from cpi.erb)
  • config/cpi.json (from cpi.json.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.