1RESALLOC-OPENSTACK-NEW(1)   Generated Python Manual  RESALLOC-OPENSTACK-NEW(1)
2
3
4

NAME

6       resalloc-openstack-new  -  atomically  allocate  VM with additional re‐
7       sources 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 floating IPs ATM).
18
19       The important thing is that the script aims to behave as atomically  as
20       possible,  in a sense that either everything is allocated as requested,
21       or the script fails (without any leftovers).
22
23

OPTIONS

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

AUTHORS

64       Pavel Raiskup <praiskup@redhat.com>
65
66

DISTRIBUTION

68       The  latest  version  of  resalloc-openstack  may  be  downloaded  from
69https://github.com/praiskup/resalloc-openstack
70
71
72
73resalloc-openstack 9.4            2022-11-23         RESALLOC-OPENSTACK-NEW(1)
Impressum