aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/dashboard/pdf.yaml
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-10 16:06:47 -0400
committerParker Berberian <pberberian@iol.unh.edu>2018-10-15 13:16:11 -0400
commit1f3a770d2547848590f39e9d9b9bdffeb94eec14 (patch)
tree97222e5facd1a242d951c38482315057b5790d51 /src/templates/dashboard/pdf.yaml
parent6d4019e59eda897384e9c00d1daf8b2ce87d128f (diff)
Lab as a Service 2.0
See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/templates/dashboard/pdf.yaml')
-rw-r--r--src/templates/dashboard/pdf.yaml95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/templates/dashboard/pdf.yaml b/src/templates/dashboard/pdf.yaml
new file mode 100644
index 0000000..297e04b
--- /dev/null
+++ b/src/templates/dashboard/pdf.yaml
@@ -0,0 +1,95 @@
+---
+version: {{version|default:"1.0"}}
+details:
+ pod_owner: {{details.owner}}
+ contact: {{details.contact}}
+ lab: {{details.lab}}
+ location: {{details.location}}
+ type: {{details.type}}
+ link: {{details.link}}
+
+jumphost:
+ name: {{jumphost.name}}
+ node:
+ type: {{jumphost.node.type}}
+ vendor: {{jumphost.node.vendor}}
+ model: {{jumphost.node.model}}
+ arch: {{jumphost.node.arch}}
+ cpus: {{jumphost.node.cpus}}
+ cpu_cflags: {{jumphost.node.cpu_cflags}}
+ cores: {{jumphost.node.cores}}
+ memory: {{jumphost.node.memory}}
+ disks:
+ {% for disk in jumphost.disks %}
+ - name: {{disk.name}}
+ disk_capacity: {{disk.capacity}}
+ disk_type: {{disk.type}}
+ disk_interface: {{disk.interface}}
+ disk_rotation: {{disk.rotation}}
+
+ {% endfor %}
+ os: {{jumphost.os}}
+ remote_params:
+ type: {{jumphost.remote.type}}
+ versions:
+ {% for version in jumphost.remote.versions %}
+ - {{version}}
+ {% endfor %}
+ user: {{jumphost.remote.user}}
+ pass: {{jumphost.remote.pass}}
+ remote_management:
+ type: {{jumphost.remote.type}}
+ versions:
+ {% for version in jumphost.remote.versions %}
+ - {{version}}
+ {% endfor %}
+ user: {{jumphost.remote.user}}
+ pass: {{jumphost.remote.pass}}
+ address: {{jumphost.remote.address}}
+ mac_address: {{jumphost.remote.mac_address}}
+ interfaces:
+ {% for interface in jumphost.interfaces %}
+ - name: {{interface.name}}
+ address: {{interface.address}}
+ mac_address: {{interface.mac_address}}
+ vlan: {{interface.vlan}}
+ {% endfor %}
+nodes:
+ {% for node in nodes %}
+ - name: {{node.name}}
+ node:
+ type: {{node.node.type}}
+ vendor: {{node.node.vendor}}
+ model: {{node.node.model}}
+ arch: {{node.node.arch}}
+ cpus: {{node.node.cpus}}
+ cpu_cflags: {{node.node.cpu_cflags}}
+ cores: {{node.node.cores}}
+ memory: {{node.node.memory}}
+ disks:
+ {% for disk in node.disks %}
+ - name: {{disk.name}}
+ disk_capacity: {{disk.capacity}}
+ disk_type: {{disk.type}}
+ disk_interface: {{disk.interface}}
+ disk_rotation: {{disk.rotation}}
+
+ {% endfor %}
+ remote_management:
+ type: {{node.remote.type}}
+ versions:
+ {% for version in node.remote.versions %}
+ - {{version}}
+ {% endfor %}
+ user: {{node.remote.user}}
+ pass: {{node.remote.pass}}
+ address: {{node.remote.address}}
+ mac_address: {{node.remote.mac_address}}
+ interfaces:
+ {% for interface in node.interfaces %}
+ - name: {{interface.name}}
+ address: {{interface.address}}
+ mac_address: {{interface.mac_address}}
+ vlan: {{interface.vlan}}
+ {% endfor %}
+ {% endfor %}