Merge "Remove Unneeded field"
[pharos-tools.git] / dashboard / src / templates / dashboard / idf.yaml
1 idf:
2   version: {{version|default:"0.1"}}
3   net_config:
4     oob:
5       ip-range: {{net_config.oob.ip-range}}
6       vlan: {{net_config.oob.vlan}}
7     admin:
8       interface: {{net_config.admin.interface}}
9       vlan: {{net_config.admin.vlan}}
10       network: {{net_config.admin.network}}
11       mask: {{net_config.admin.mask}}
12     mgmt:
13       interface: {{net_config.mgmt.interface}}
14       vlan: {{net_config.mgmt.vlan}}
15       network: {{net_config.mgmt.network}}
16       mask: {{net_config.mgmt.mask}}
17     private:
18       interface: {{net_config.private.interface}}
19       vlan: {{net_config.private.vlan}}
20       network: {{net_config.private.network}}
21       mask: {{net_config.private.mask}}
22     public:
23       interface: {{net_config.public.interface}}
24       vlan: {{net_config.public.vlan}}
25       network: {{net_config.public.network}}
26       mask: {{net_config.public.mask}}
27       ip-range: {{net_config.public.ip-range}}
28       mask: {{net_config.public.mask}}
29       gateway: {{net_config.public.gateway}}
30       dns:
31       {% for serv in net_config.public.dns %}
32       - {{serv}}
33       {% endfor %}
34   fuel:
35     jumphost:
36       bridges:
37         admin: {{fuel.jumphost.bridges.admin}}
38         mgmt: {{fuel.jumphost.bridges.mgmt}}
39         private: {{fuel.jumphost.bridges.private}}
40         public: {{fuel.jumphost.bridges.public}}
41     network:
42       {% for node in fuel.network.nodes %}
43       node:
44       - interfaces:
45         {% for iface in node.interfaces %}
46         - {{ iface }}
47         {% endfor %}
48       - busaddr:
49         {% for addr in node.bus_addrs %}
50         - {{addr}}
51         {% endfor %}
52       {% endfor %}