aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/base/dashboard/pdf.yaml
blob: c893919215c325b23cfa5b6faead34e7a685ff05 (plain)
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
---
version: {{version|default:"1.0"}}
details:
  contact: {{details.contact}}
  lab: {{details.lab}}
  link: {{details.link}}
  location: {{details.location}}
  pod_owner: {{details.owner}}
  type: {{details.type}}
jumphost:
  disks:
  {% for disk in jumphost.disks %}
  - disk_capacity: {{disk.capacity}}
    disk_interface: {{disk.interface}}
    disk_rotation: {{disk.rotation}}
    disk_type: {{disk.type}}
    name: {{disk.name}}
  {% endfor %}
  interfaces:
    {% for interface in jumphost.interfaces %}
  - features: {{interface.features}}
    mac_address: {{interface.mac_address}}
    name: {{interface.name}}
    speed: {{interface.speed}}
    {% endfor %}
  name: {{jumphost.name}}
  node:
    arch: {{jumphost.node.arch}}
    cores: {{jumphost.node.cores}}
    cpu_cflags: {{jumphost.node.cpu_cflags}}
    cpus: {{jumphost.node.cpus}}
    memory: {{jumphost.node.memory}}
    model: {{jumphost.node.model}}
    type: {{jumphost.node.type}}
    vendor: {{jumphost.node.vendor}}
  os: {{jumphost.os}}
  remote_management:
    address: {{jumphost.remote.address}}
    mac_address: {{jumphost.remote.mac_address}}
    pass: {{jumphost.remote.pass}}
    type: {{jumphost.remote.type}}
    user: {{jumphost.remote.user}}
    versions:
      {% for version in jumphost.remote.versions %}
    - {{version}}
      {% endfor %}
  remote_params:
    pass: {{jumphost.remote.pass}}
    type: {{jumphost.remote.type}}
    user: {{jumphost.remote.user}}
    versions:
      {% for version in jumphost.remote.versions %}
    - {{version}}
      {% endfor %}
nodes:
{% for node in nodes %}
- disks:
    {% for disk in node.disks %}
  - disk_capacity: {{disk.capacity}}
    disk_interface: {{disk.interface}}
    disk_rotation: {{disk.rotation}}
    disk_type: {{disk.type}}
    name: {{disk.name}}
    {% endfor %}
  interfaces:
    {% for interface in node.interfaces %}
  - features: {{interface.features}}
    mac_address: {{interface.mac_address}}
    name: {{interface.name}}
    speed: {{interface.speed}}
    {% endfor %}
  name: {{node.name}}
  node:
    arch: {{node.node.arch}}
    cores: {{node.node.cores}}
    cpu_cflags: {{node.node.cpu_cflags}}
    cpus: {{node.node.cpus}}
    memory: {{node.node.memory}}
    model: {{node.node.model}}
    type: {{node.node.type}}
    vendor: {{node.node.vendor}}
  remote_management:
    address: {{node.remote.address}}
    mac_address: {{node.remote.mac_address}}
    pass: {{node.remote.pass}}
    type: {{node.remote.type}}
    user: {{node.remote.user}}
    versions:
      {% for version in node.remote.versions %}
    - {{version}}
      {% endfor %}
{% endfor %}