-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path30_create_runtime_template_with_customized_survey_text.json
70 lines (70 loc) · 2.45 KB
/
30_create_runtime_template_with_customized_survey_text.json
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
{
"name": "System Survey",
"description": "Prompt for system propertires such as hostname",
"spec": [
{
"type": "text",
"question_name": "Please enter a hostname",
"question_description": "this will set the hostname of the network device",
"variable": "network_hostname",
"required": false,
"default": "{{inventory_hostname}}"
},
{
"type": "text",
"question_name": "Domain Name",
"question_description": "Set the IP domain name",
"variable": "network_domain_name",
"required": false,
"default": ""
},
{
"type": "text",
"question_name": "Please enter a lookup source",
"question_description": "e.g. MgmtEth0/0/CPU0/0, source interface for performing DNS lookups",
"variable": "network_lookup_source",
"required": false,
"default": ""
},
{
"type": "text",
"question_name": "Please enter the name servers",
"question_description": "e.g. 8.8.8.8, List of DNS name servers by IP address to use to perform name resolution lookups",
"variable": "network_name_servers",
"required": false,
"default": "8.8.8.8"
},
{
"type": "text",
"question_name": "Please enter the domain search names",
"question_description": "e.g. the ip domain list, resolution for unqualified host names",
"variable": "network_domain_search",
"required": false,
"default": ""
},
{
"question_name": "What is the IP address of your NTP server?",
"question_description": "Please enter a IPv4 address",
"required": true,
"type": "text",
"variable": "ntp_server",
"min": 0,
"max": 1024,
"default": "216.239.35.0",
"choices": "",
"new_question": true
},
{
"question_name": "What is the IP address of your NTP server?",
"question_description": "Please enter a IPv4 address",
"required": true,
"type": "text",
"variable": "ntp_server",
"min": 0,
"max": 1024,
"default": "216.239.35.0",
"choices": "",
"new_question": true
}
]
}