1 {% extends "base.html" %}
6 <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?lang=yaml"></script>
7 <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
11 <div class="container-fluid">
13 <div class="col-lg-6">
14 <div class="panel panel-default">
15 <div class="panel-heading clearfix">
16 <h4 style="display: inline;">Overview</h4>
17 <a data-toggle="collapse" data-target="#panel_overview" class="btn pull-right" style="line-height: 1;" >Expand</a>
19 <div class="panel-body" id="panel_overview">
23 <td>{{ booking.purpose }}</td>
27 <td>{{ booking.project }}</td>
31 <td>{{ booking.start }}</td>
35 <td>{{ booking.end }}</td>
38 <td>Pod Definition</td>
39 <td>{{ booking.resource.template }}</td>
42 <td>Pod Configuration</td>
43 <td>{{ booking.config_bundle }}</td>
46 <td>Lab Deployed At</td>
47 <td>{{ booking.lab }}</td>
54 <div class="col-lg-6">
56 <div class="panel panel-default">
57 <div class="panel-heading clearfix">
58 <h4 style="display: inline;">Pod</h4>
60 <a data-toggle="collapse" data-target="#pod_panel" class="btn pull-right" style="line-height: 1;" >Expand</a>
62 <div class="panel-body pod_panel" id="pod_panel">
64 {% for host in booking.resource.hosts.all %}
66 <td><h4>{{host.template.resource.name}}</h4></td>
71 <td>{{host.template.resource.name}}</td>
75 <td>{{host.name}}</td>
79 <td>{{host.config.opnfvRole}}</td>
83 <td>{{host.config.image}}</td>
87 <td>{{host.profile.ramprofile.first.amount}}G,
88 {{host.profile.ramprofile.first.channels}} channels</td>
96 <td>{{host.profile.cpuprofile.first.architecture}}</td>
100 <td>{{host.profile.cpuprofile.first.cores}}</td>
104 <td>{{host.profile.cpuprofile.first.cpus}}</td>
112 <table class="table">
115 <td>{{host.profile.diskprofile.first.size}}GiB</td>
119 <td>{{host.profile.diskprofile.first.media_type}}</td>
122 <td>Mount Point:</td>
123 <td>{{host.profile.diskprofile.first.name}}</td>
133 border: none !important;
136 <table class="table">
137 {% for intprof in host.profile.interfaceprofile.all %}
140 <table class="table borderless">
143 <td>{{intprof.name}}</td>
147 <td>{{intprof.speed}}</td>
167 <div class="col-lg-6">
169 <div class="panel panel-default">
170 <div class="panel-heading clearfix">
171 <h4 style="display: inline;">PDF</h4>
172 <a data-toggle="collapse" data-target="#pdf_panel" class="btn pull-right" style="line-height: 1;" >Expand</a>
175 <div class="panel-body" id="pdf_panel" style="padding: 0px;">
176 <pre class="prettyprint lang-yaml" style="margin: 0px; padding: 0px; border: none;">
190 <div class="col-lg-6">
191 <div class="panel panel-default">
192 <div class="panel-heading clearfix">
193 <h4 style="display: inline;">Deployment Progress</h4>
194 <p style="display: inline; margin-left: 10px;"> These are the different tasks that have to be completed before your deployment is ready</p>
195 <a data-toggle="collapse" data-target="#panel_tasks" class="btn pull-right" style="line-height: 1;" >Expand</a>
198 <div class="panel-body" id="panel_tasks">
199 <table class="table">
202 display: inline-block;
203 border: 3px solid #f3f3f3;
205 border-top: 3px solid #12aebb;
208 -webkit-animation: spin 2s linear infinite; /* Safari */
209 animation: spin 2s linear infinite;
213 0% {transform: rotate(0deg);}
214 100% {transform: rotate(360deg);}
218 display: inline-block;
223 animation: fadeInOut 1s infinite alternate;
227 @keyframes fadeInOut {
231 display: inline-block;
241 <th>Lab Response</th>
244 {% for task in booking.job.get_tasklist %}
247 {% if task.status < 100 %}
248 <div class="new"></div>
249 {% elif task.status < 200 %}
250 <div class="progress"></div>
252 <div class="done"></div>
258 {% if task.status < 100 %}
260 {% elif task.status < 200 %}
268 {% if task.message %}
269 {% if task.type_str == "Access Task" and user_id != task.config.user.id %}
270 Message from Lab: <pre>--secret--</pre>
272 Message from Lab: <pre>{{ task.message }}</pre>
275 No response provided (yet)
293 {% endblock content %}