-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinventory.cue
More file actions
48 lines (45 loc) · 1.05 KB
/
Copy pathinventory.cue
File metadata and controls
48 lines (45 loc) · 1.05 KB
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
package inventory
auth: {
nvidia: {
user: *"cumulus" | string @tag(nvidia_user)
password: *"cumulus" | string @tag(nvidia_pwd)
}
arista: {
user: *"admin" | string @tag(arista_user)
password: *"admin" | string @tag(arista_pwd)
}
}
#devices: [{
name: "lon-sw-01"
vendor: "NVIDIA1"
type: "SN4700"
role: "lleaf"
site: "LON1"
status: "Active"
asn: 65000
loopback: "198.51.100.1/32"
uplinks: ["swp1"]
user: auth.nvidia.user
password: auth.nvidia.password
}, {
name: "lon-sw-02"
vendor: "Arista1"
type: "7050X3"
role: "sspine"
site: "LON2"
status: "Active"
asn: 65001
loopback: "198.51.100.2/32"
uplinks: ["Ethernet1"]
user: auth.arista.user
password: auth.arista.password
}]
ipam: {
url: *"https://demo.nautobot.com/api" | string @tag(ipam_url)
token: *"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" | string @tag(ipam_token)
headers: header: {
"Authorization": "Token \(token)"
"Accept": "application/json"
"Content-Type": "application/json"
}
}