2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-header-title title-text="Network details"></rd-header-title>
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header-content>
|
2018-02-01 12:27:52 +00:00
|
|
|
<a ui-sref="docker.networks">Networks</a> > <a ui-sref="docker.networks.network({id: network.Id})">{{ network.Name }}</a>
|
2016-06-08 06:23:11 +00:00
|
|
|
</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="row">
|
2016-09-14 05:48:20 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-sitemap" title-text="Network details"></rd-widget-header>
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<td>Name</td>
|
|
|
|
<td>{{ network.Name }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ network.Id }}
|
2018-03-13 05:36:53 +00:00
|
|
|
<button class="btn btn-xs btn-danger" ng-click="removeNetwork(network.Id)"><i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Delete this network</button>
|
2016-09-14 05:48:20 +00:00
|
|
|
</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Driver</td>
|
|
|
|
<td>{{ network.Driver }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-09-14 05:48:20 +00:00
|
|
|
<td>Scope</td>
|
|
|
|
<td>{{ network.Scope }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
2018-08-22 06:45:14 +00:00
|
|
|
<tr>
|
|
|
|
<td>Attachable</td>
|
|
|
|
<td>{{ network.Attachable }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Internal</td>
|
|
|
|
<td>{{ network.Internal }}</td>
|
|
|
|
</tr>
|
2019-01-16 22:39:15 +00:00
|
|
|
<tr ng-if="network.IPAM.Config.length > 0" ng-repeat="config in network.IPAM.Config">
|
|
|
|
<td>Subnet - {{ config.Subnet }}</td>
|
|
|
|
<td>Gateway - {{ config.Gateway }}</td>
|
2016-09-14 05:48:20 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-09-19 14:58:30 +00:00
|
|
|
<!-- access-control-panel -->
|
|
|
|
<por-access-control-panel
|
|
|
|
ng-if="network && applicationState.application.authentication"
|
|
|
|
resource-id="network.Id"
|
|
|
|
resource-control="network.ResourceControl"
|
|
|
|
resource-type="'network'">
|
|
|
|
</por-access-control-panel>
|
|
|
|
<!-- !access-control-panel -->
|
|
|
|
|
2016-09-14 05:48:20 +00:00
|
|
|
<div class="row" ng-if="!(network.Options | emptyobject)">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-cogs" title-text="Network options"></rd-widget-header>
|
2016-09-14 05:48:20 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="(key, value) in network.Options">
|
|
|
|
<td>{{ key }}</td>
|
|
|
|
<td>{{ value }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-25 20:28:54 +00:00
|
|
|
|
|
|
|
|
2017-08-13 11:31:50 +00:00
|
|
|
<div class="row" ng-if="containersInNetwork.length > 0">
|
2016-12-25 20:28:54 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-server" title-text="Containers in network"></rd-widget-header>
|
2016-12-25 20:28:54 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<th>Container Name</th>
|
|
|
|
<th>IPv4 Address</th>
|
|
|
|
<th>IPv6 Address</th>
|
|
|
|
<th>MacAddress</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="container in containersInNetwork">
|
2018-05-06 07:15:57 +00:00
|
|
|
<td><a ui-sref="docker.containers.container({ id: container.Id, nodeName: nodeName })">{{ container.Name }}</a></td>
|
2016-12-25 20:28:54 +00:00
|
|
|
<td>{{ container.IPv4Address || '-' }}</td>
|
|
|
|
<td>{{ container.IPv6Address || '-' }}</td>
|
|
|
|
<td>{{ container.MacAddress || '-' }}</td>
|
|
|
|
<td>
|
2018-05-06 07:15:57 +00:00
|
|
|
<button type="button" class="btn btn-xs btn-danger" ng-click="containerLeaveNetwork(network, container)"><i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Leave Network</button>
|
2016-12-25 20:28:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|