--- /dev/null
+# Generated by Django 2.2 on 2020-12-09 20:02
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('notifier', '0006_emailed'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Email',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('sent', models.BooleanField(default=False)),
+ ('title', models.CharField(max_length=150)),
+ ('message', models.TextField()),
+ ('recipient', models.CharField(max_length=150)),
+ ],
+ ),
+ ]
<td>Pod Definition</td>
<td>{{ booking.resource.template }}</td>
</tr>
- <tr>
- <td>Pod Configuration</td>
- <td>{{ booking.config_bundle }}</td>
- </tr>
<tr>
<td>Lab Deployed At</td>
<td>{{ booking.lab }}</td>
</div>
<div class="collapse show" id="pod_panel">
<div class="card-body">
+ <h4>{{host.bundle.template.copy_of.name}}</h4>
{% for host in booking.resource.get_resources %}
- <h4>{{host.bundle.template.copy_of.name}}</h4>
+ <h4>{{host.config.name}}</h4>
<div class="overflow-auto">
<table class="table m-0">
<tr>
<td>Hostname:</td>
- <td>{{host.name}}</td>
+ <td>{{host.config.name}}</td>
</tr>
<tr>
<td>Machine:</td>
<td>Role:</td>
<td>{{host.template.opnfvRole}}</td>
</tr>
+ <tr>
+ <td>Is Headnode:</td>
+ <td>{{host.config.is_head_node}}</td>
<tr>
<td>Image:</td>
<td id="host_image_{{host.id}}">
- {{host.config.Image}}
+ {{host.config.image}}
<button
class="btn btn-primary ml-4"
data-toggle="modal"