Ubuntu Pastebin

Paste from rog at Mon, 24 Aug 2015 14:41:18 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
var configSchema = environschema.Fields{
	"username": {
		Description: "The user name for user-password authentication (when auth-mode is userpass)",
		Type:        environschema.Tstring,
		EnvVars: []string{
			"OS_USERNAME",
			"NOVA_USERNAME",
			"OS_ACCESS_KEY",
			"NOVA_API_KEY",
		},
		Group: environschema.AccountGroup,
	},
	"password": {
		Description: "The password for user-password authentication (when auth-mode is userpass)",
		Type:        environschema.Tstring,
		EnvVars: []string{
			"OS_PASSWORD",
			"NOVA_PASSWORD",
			"OS_SECRET_KEY",
			// Apparently some clients really used these, so we use them for backward compatiblity.
			"EC2_SECRET_KEYS",
			"AWS_SECRET_ACCESS_KEY",
		},
		Group: environschema.AccountGroup,
	},
	"tenant-name": {
		Description: "The openstack tenant name",
		Type:        environschema.Tstring,
		EnvVars: []string{
			"OS_TENANT_NAME",
			"NOVA_PROJECT_ID",
		},
		Group: environschema.AccountGroup,
	},
	"auth-url": {
		Description: "The keystone URL for authentication",
		Type:        environschema.Tstring,
		EnvVar:      "OS_AUTH_URL",
		Example:     "https://yourkeystoneurl:443/v2.0/",
		Group:       environschema.AccountGroup,
	},
	"auth-mode": {
		Description: "The authentication mode to use. When set to keypair, the access-key and secret-key parameters should be set; when set to userpass or legacy, the username and password parameters should be set ",
		Type:        environschema.Tstring,
		Values:      []interface{}{AuthKeyPair, AuthLegacy, AuthUserPass},
		Group:       environschema.AccountGroup,
	},
	"access-key": {
		Description: "The access key to use when auth-mode is set to keypair",
		Type:        environschema.Tstring,
		EnvVars: []string{
			"OS_USERNAME",
			"NOVA_USERNAME",
			"OS_ACCESS_KEY",
			"NOVA_API_KEY",
		},
		Group: environschema.AccountGroup,
	},
	"secret-key": {
		Description: "The secret key to use when auth-mode is set to keypair",
		EnvVars: []string{
			"OS_PASSWORD",
			"NOVA_PASSWORD",
			"OS_SECRET_KEY",
			// Apparently some clients really used these, so we use them for backward compatiblity.
			"EC2_SECRET_KEYS",
			"AWS_SECRET_ACCESS_KEY",
		},
		Group: environschema.AccountGroup,
		Type:  environschema.Tstring,
	},
	"region": {
		Description: "The openstack region.",
		Type:        environschema.Tstring,
		EnvVars: []string{
			"OS_REGION_NAME",
			"NOVA_REGION",
		},
	},
	"control-bucket": {
		Description: "The name to use for the control bucket",
		Type:        environschema.Tstring,
	},
	"use-floating-ip": {
		Description: "Whether a floating IP address is required to give the nodes a public IP address. Some installations assign public IP addresses by default without requiring a floating IP address",
		Type:        environschema.Tbool,
	},
	"use-default-secgroup": {
		Description: `Whether new machine instances should have the "default" Openstack security group assigned`,
		Type:        environschema.Tbool,
	},
	"network": {
		Description: "The network label or UUID to bring machines up on when multiple networks exist",
		Type:        environschema.Tstring,
	},
}
Download as text