+ {{#list-table
+ source=sortedStates
+ sortProperty=sortProperty
+ sortDescending=sortDescending
+ class="is-striped" as |t|}}
+ {{#t.head}}
+
|
+ {{#t.sort-by prop="name"}}Name{{/t.sort-by}}
+ {{#t.sort-by prop="state"}}State{{/t.sort-by}}
+
Last Event |
+ {{#t.sort-by prop="events.lastObject.time"}}Time{{/t.sort-by}}
+
Addresses |
+ {{/t.head}}
+ {{#t.body as |row|}}
+
+ |
+ {{#if (not row.model.driverStatus.healthy)}}
+
+ {{x-icon "warning" class="is-warning"}}
+
+ {{/if}}
+ |
+
+ {{#link-to "allocations.allocation.task" row.model.allocation row.model class="is-primary"}}
+ {{row.model.name}}
+ {{/link-to}}
+ |
+ {{row.model.state}} |
+
+ {{#if row.model.events.lastObject.message}}
+ {{row.model.events.lastObject.message}}
+ {{else}}
+ No message
+ {{/if}}
+ |
+ {{moment-format row.model.events.lastObject.time "MM/DD/YY HH:mm:ss"}} |
+
+
+ {{#with row.model.resources.networks.firstObject as |network|}}
+ {{#each network.reservedPorts as |port|}}
+ -
+ {{port.Label}}:
+ {{network.ip}}:{{port.Value}}
+
+ {{/each}}
+ {{#each network.dynamicPorts as |port|}}
+ -
+ {{port.Label}}:
+ {{network.ip}}:{{port.Value}}
+
+ {{/each}}
+ {{/with}}
+
+ |
+
+ {{/t.body}}
+ {{/list-table}}
+