1resalloc-openstack-new(1)   General Commands Manual  resalloc-openstack-new(1)
2
3
4

NAME

6       resalloc-openstack-new   -   atomically  allocate  VM  with  additional
7       resources in openstack
8

SYNOPSIS

10       resalloc-openstack-new [-h] [--name NAME] --image IMAGE [--floating-ip-
11       from  FLOATING_IP_NETWORK]  --flavor  FLAVOR  [--alloc-volume  VOLUMES]
12       [--post-command  COMMAND]  [--print-ip]   [--key-pair-id   KEY_PAIR_ID]
13       [--nic NICS]
14

DESCRIPTION

16       Start  a  new VM in openstack, with some dependant resources (swap vol‐
17       umes or
18       floating IPs ATM). The important thing  is  that  the  script  aims  to
19       behave as
20       atomically  as possible, in a sense that either everything is allocated
21       as
22       requested, or the script fails (without any leftovers).
23

OPTIONS

25       --name NAME
26              Choose the name for the resulting VM
27
28
29       --image IMAGE
30
31       --floating-ip-from FLOATING_IP_NETWORK
32              allocate floating ip from network, check 'neutron net-list'
33
34
35       --flavor FLAVOR
36              openstack flavor, see 'nova flavor-list'
37
38
39       --alloc-volume VOLUMES
40              allocate volumes by cinder
41
42
43       --post-command COMMAND
44              run COMMAND after VM is started, and fail if  the  script  fails
45              too. The
46              variables  RESALLOC_OS_NAME and RESALLOC_OS_IP are exported into
47              environment of
48              those scripts.
49
50
51       --print-ip
52              after successful allocation, print IP on standard output
53
54
55       --key-pair-id KEY_PAIR_ID
56              use specific key, see ids (== names) in `nova keypair-list`
57
58
59       --nic NICS
60              comma-separated, key=value,foo=baz arguments (see
61              nova.servers.create(nics=...) help
62
63

AUTHORS

65       resalloc-openstack was written by Pavel Raiskup <praiskup@redhat.com>.
66

DISTRIBUTION

68       The  latest  version  of  resalloc-openstack  may  be  downloaded  from
69https://github.com/praiskup/resalloc-openstack
70
71
72
73                                    Manual           resalloc-openstack-new(1)
Impressum