compass-web/v2.5/src/app/partials/cluster-network.tpl.html

184 lines
6.5 KiB
HTML

<div class="page-header">
<h1>
Network
</h1>
</div>
<div class="row side-padding-10 padding-top-30">
<div class="col-xs-12">
<!--
<table class="table table-striped">
<thead>
<tr>
<th>Network</th>
<th>Interface</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="(key, value) in configuration.package_config.network_mapping">
<td class="capitalize">{{key}} Network</td>
<td>{{value}}</td>
</tr>
</tbody>
</table>
-->
<div class="widget-header widget-header-flat review-targetconfig">
<h5 class="widget-title white">
OS Installation Network
</h5>
</div>
<table class="table table-striped table-border-grey">
<tbody>
<tr ng-repeat="(key, value) in configuration.package_config['network_mapping'].install">
<td>{{key}}</td>
<td>{{value}}</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<div class="widget-header widget-header-flat review-targetconfig">
<h5 class="widget-title white">
IP Settings
</h5>
</div>
<table class="table table-striped table-border-grey">
<thead>
<tr>
<th>Name</th>
<th>CIDR</th>
<th>IP Range</th>
<th>Role</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="ip in configuration.package_config['network_cfg']['ip_settings']">
<td>{{ip.name}}</td>
<td>{{ip.cidr}}</td>
<td>{{ip.ip_ranges[0].join(' --- ')}}</td>
<td>{{ip.role.join(', ')}}
</tr>
</tbody>
</table>
<br/>
<br/>
<div class="widget-header widget-header-flat review-targetconfig">
<h5 class="widget-title white">
sys_intf_mappings
</h5>
</div>
<table class="table table-striped table-border-grey">
<thead>
<tr>
<th>Name</th>
<th>Interface</th>
<th>Type</th>
<th>Role</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="ip in configuration.package_config['network_cfg']['sys_intf_mappings']">
<td>{{ip.name}}</td>
<td>{{ip.interface}}</td>
<td>{{ip.type}} {{ip.vlan_tag}}</td>
<td>{{ip.role.join(', ')}}
</tr>
</tbody>
</table>
<br/>
<br/>
<div class="widget-header widget-header-flat review-targetconfig">
<h5 class="widget-title white">
Virtual IPs
</h5>
</div>
<table class="table table-striped table-border-grey">
<thead>
<tr>
<th>Type</th>
<th>Interface</th>
<th>IP</th>
<th>Netmask</th>
</tr>
</thead>
<tbody>
<tr>
<td>Interal</td>
<td>{{configuration.package_config['network_cfg']['internal_vip'].interface}}</td>
<td>{{configuration.package_config['network_cfg']['internal_vip'].ip}}</td>
<td>{{configuration.package_config['network_cfg']['internal_vip'].netmask}}</td>
</tr>
<tr>
<td>Public</td>
<td>{{configuration.package_config['network_cfg']['public_vip'].interface}}</td>
<td>{{configuration.package_config['network_cfg']['public_vip'].ip}}</td>
<td>{{configuration.package_config['network_cfg']['public_vip'].netmask}}</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<div class="widget-header widget-header-flat review-targetconfig">
<h5 class="widget-title white">
Network Mapping
</h5>
</div>
<table class="table table-striped table-border-grey">
<tbody>
<tr>
<td class="table-review-padding"><strong>provider_net_mappings</strong>
</td>
<td></td>
</tr>
<tr ng-repeat="(key, value) in configuration.package_config['network_cfg'].provider_net_mappings[0]">
<td class="capitalize">
<div>
{{key}}
</div>
</td>
<td>{{value}}</td>
</tr>
</tbody>
</table>
<table class="table table-striped table-border-grey">
<tbody>
<tr>
<td class="table-review-padding"><strong>public_net_info</strong>
</td>
<td></td>
</tr>
<tr ng-repeat="(key, value) in configuration.package_config['network_cfg'].public_net_info">
<td class="capitalize">
<div>
{{key}}
</div>
</td>
<td>{{value}}</td>
</tr>
</tbody>
</table>
<br>
<br>
<div class="widget-header widget-header-flat review-targetconfig">
<h5 class="widget-title white">
Target System Configurations - NeutronConfig
</h5>
</div>
<table class="table table-striped table-border-grey">
<tbody>
<tr>
<td>tenent_network_type</td>
<td>{{configuration.package_config.neutron_config.openvswitch.tenant_network_type}}</td>
</tr>
<tr ng-if="configuration.package_config.neutron_config.openvswitch.tenant_network_type=='vxlan'" ng-repeat="(key, value) in configuration.package_config.neutron_config.openvswitch.network_vlan_ranges">
<td>network_vlan_ranges_{{key}}</td>
<td>{{value}}</td>
</tr>
<tr ng-if="configuration.package_config.neutron_config.openvswitch.tenant_network_type=='vxlan'" ng-repeat="(key, value) in configuration.package_config.neutron_config.openvswitch.bridge_mappings">
<td>bridge_mappins_{{key}}</td>
<td>{{value}}</td>
</tr>
</tbody>
</table>
</div>
</div>