diff options
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/views')
12 files changed, 0 insertions, 451 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/views/bridge-domains.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/bridge-domains.tpl.html deleted file mode 100644 index 91b9d0aa4..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/bridge-domains.tpl.html +++ /dev/null @@ -1,56 +0,0 @@ -<div ng-controller="BridgeDomainsController"> - <div layout="row" style="height: 1000px; width: 100%"> - <div layout="column" style="height:100%; width:60%"> - <div ng-show="showOverlay" style="height: 100%; width: 100%"> - <h3>Overlay topology</h3> - <md-button class="md-raised" md-no-ink ng-click="toggleUnderlay()" style="width: 25%;" ng-disabled="!selectedBd['topology-id']">Show Underlay</md-button> - <div id="overlay-next-app" style="height: 50%; width: 100%"></div> - </div> - <div ng-show="!showOverlay" style="height: 100%; width: 100%"> - <h3>Underlay topology</h3> - <md-button class="md-raised" md-no-ink ng-click="toggleUnderlay()" style="width: 25%;" ng-disabled="!selectedBd['topology-id']">Show Overlay</md-button> - <div id="underlay-next-app" style="height: 50%; width: 100%"></div> - </div> - </div> - <div class="md-sidenav-left md-whiteframe-z2" style="height: 100%; width: 40%; background-color: #414042;"> - - <md-input-container style="margin-right: 5px;" layout="row"> - - <md-select ng-model='selectedBd' placeholder="Select BD" ng-change="bdChanged()" style="width: 100%;"> - <md-option ng-repeat="bd in bridgeDomainList" ng-value="bd">{{bd['topology-id']}}</md-option> - </md-select> - - <md-button class="md-raised" md-no-ink ng-click="addBd()" style="width: 25%;">Add BD</md-button> - <md-button class="md-raised" md-no-ink ng-click="removeBd()" style="width: 35%;" ng-if="selectedBd['topology-id'] && !selectedBd.node">Remove BD</md-button> - <!--<md-button class="md-raised" md-no-ink ng-click="reload()" style="width: 25%;">Reload</md-button>--> - - </md-input-container> - - <div ng-controller="TableController as TableCtrl"> - <table st-table="interfaceDisplayList" class="table" st-safe-src="interfaceList"> - <thead> - <tr> - <th st-sort="assigned" class="interactive">Assigned</th> - <th st-sort="vppName" st-sort-default="true" class="interactive">Vpp</th> - <th st-sort="'tp-id'" class="interactive">Interface Name</th> - <th st-sort="vbdName" class="interactive">Bridge Domain</th> - </tr> - </thead> - <tbody> - <tr ng-repeat="row in interfaceDisplayList | filter: filterRemoveVxlanIf"> - <div ng-hide="row.hidden"> - <td> - <md-switch ng-model="row.assigned" aria-label="Assign Switch" ng-change="TableCtrl.updateAssignment(row);"> - </md-switch> - </td> - <td>{{row.vppName}}</td> - <td>{{row['tp-id']}}</td> - <td>{{row.vbdName}}</td> - </div> - </tr> - </tbody> - </table> - </div> - </div> - </div> -</div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/config-interface-dialog.html b/vbd/gui/module/src/main/resources/vpp/views/config-interface-dialog.html deleted file mode 100644 index 2d7084b7c..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/config-interface-dialog.html +++ /dev/null @@ -1,38 +0,0 @@ -<md-dialog ng-cloak aria-label="config interface dialog"> - <form> - <md-toolbar> - <div class="md-toolbar-tools"> - <h2 style="color: white"> - {{ConfigInterfaceDialogCtrl.interf.label}} - </h2> - <span flex></span> - <md-button class="md-icon-button" ng-click="ConfigInterfaceDialogCtrl.cancel()" aria-label="close button"> - <div class="glyphicon glyphicon-remove"></div> - </md-button> - </div> - </md-toolbar> - <md-dialog-content style="max-width:800px;max-height:810px; "> - <div class="md-dialog-content"> - <!--<md-content layout-padding>--> - <form name="bDConfigForm"> - <md-input-container flex ng-if="ConfigInterfaceDialogCtrl.interf.type==='iana-if-type:ethernetCsmacd'"> - <label> - Description - </label> - <input ng-model="ConfigInterfaceDialogCtrl.interf.description" flex> - <md-switch ng-model="ConfigInterfaceDialogCtrl.interf['admin-status']" ng-true-value="'up'" ng-false-value="'down'">Admin Status</md-switch> - </md-input-container> - </form> - <!--</md-content>--> - </div> - </md-dialog-content> - <md-progress-linear md-mode="indeterminate" ng-show="ConfigInterfaceDialogCtrl.waiting"></md-progress-linear> - <md-dialog-actions layout="row"> - <span flex></span> - <label ng-hide="ConfigInterfaceDialogCtrl.interf['v3po:l2']['bridge-domain']">Assign to BD first.</label> - <md-button ng-click="ConfigInterfaceDialogCtrl.updateConfig();" style="margin-right:20px;" class="md-accent" ng-if="(ConfigInterfaceDialogCtrl.interf.type==='iana-if-type:ethernetCsmacd')" ng-disabled="!ConfigInterfaceDialogCtrl.interf['v3po:l2']['bridge-domain']"> - Update - </md-button> - </md-dialog-actions> - </form> -</md-dialog>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/config-vpp-dialog.html b/vbd/gui/module/src/main/resources/vpp/views/config-vpp-dialog.html deleted file mode 100644 index 3fcd4a68b..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/config-vpp-dialog.html +++ /dev/null @@ -1,67 +0,0 @@ -<md-dialog ng-cloak aria-label="new vpp dialog"> - <form> - <md-toolbar> - <div class="md-toolbar-tools"> - <h2 style="color: white"> - Configuring {{ConfigVppDialogCtrl.vpp.name}} - </h2> - <span flex></span> - <md-button class="md-icon-button" ng-click="ConfigVppDialogCtrl.close()" aria-label="close button"> - <div>X</div> - </md-button> - </div> - </md-toolbar> - <md-dialog-content style="max-width:800px;max-height:810px; "> - <div class="md-dialog-content"> - <md-content layout-padding> - <form name="vppConfigForm"> - <div layout="row"> - <md-input-container flex> - <label> - Name - </label> - <input ng-model="ConfigVppDialogCtrl.vpp.name" disabled> - </md-input-container> - <md-input-container flex> - <label> - IP Address - </label> - <input ng-model="ConfigVppDialogCtrl.vpp.ip" ng-disabled="ConfigVppDialogCtrl.vpp.status === 'connected'"> - </md-input-container> - <md-input-container flex> - <label> - Port - </label> - <input ng-model="ConfigVppDialogCtrl.vpp.port" ng-disabled="ConfigVppDialogCtrl.vpp.status === 'connected'"> - </md-input-container> - </div> - <div layout="row"> - <md-input-container flex ng-if="ConfigVppDialogCtrl.vpp.status != 'connected'"> - <label> - Username - </label> - <input ng-model="ConfigVppDialogCtrl.vpp.un"> - </md-input-container> - <md-input-container flex ng-if="ConfigVppDialogCtrl.vpp.status != 'connected'"> - <label> - Password - </label> - <input ng-model="ConfigVppDialogCtrl.vpp.pw" type="password"> - </md-input-container> - </div> - - </form> - </md-content> - - </div> - </md-dialog-content> - <md-progress-linear md-mode="indeterminate" ng-show="ConfigVppDialogCtrl.waiting"></md-progress-linear> - <md-dialog-actions layout="row"> - <span flex></span> - <md-button ng-click="ConfigVppDialogCtrl.updateConfig();" style="margin-right:20px;" class="md-accent" ng-if="ConfigVppDialogCtrl.vpp.status != 'connected'"> - Update - </md-button> - - </md-dialog-actions> - </form> -</md-dialog>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html deleted file mode 100644 index 5e6d1094e..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html +++ /dev/null @@ -1,15 +0,0 @@ -<div ng-controller="vppCtrl"> - <md-tabs md-dynamic-height md-border-bottom> - <md-tab label="Inventory" md-on-select="setMainView('inventory')"> - <md-content class="md-padding"> - <section ng-if="mainView === 'inventory'" ng-include src="view_path+'inventory-table.tpl.html'"></section> - <section ng-if="mainView === 'inventoryDetail'" ng-include src="view_path+'inventory-detail.tpl.html'"></section> - </md-content> - </md-tab> - <md-tab label="Bridge Domains" md-on-select="setMainView('bridgeDomains')"> - <md-content class="md-padding"> - <section ng-if="mainView === 'bridgeDomains'" ng-include src="view_path+'bridge-domains.tpl.html'" style="height:80%; overflow: hidden"></section> - </md-content> - </md-tab> - </md-tabs> -</div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html deleted file mode 100644 index a5a5dc5d7..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html +++ /dev/null @@ -1,99 +0,0 @@ -<div ng-controller="InventoryDetailController"> - <div layout="row" layout-xs="column"> - <!-- Topology --> - <div class="md-whiteframe-z2" flex="60" layout-margin> - <md-content layout-padding> - <h3>Vpp and Interfaces</h3> - <div id="next-vpp-topo"></div> - </md-content> - </div> - - <!-- right aligned detail --> - <div class="md-sidenav-left md-whiteframe-z2" flex layout-margin> - <md-content layout-padding> - <div style="float: left"> - <h3>VPP Detail</h3> - </div> - <div style="float: right"> - <md-button ng-click="setMainView('inventory')" class="md-raised">Back to VPP List</md-button> - </div> - - <table class="table table-striped"> - <tbody> - <tr> - <td><b>VPP Name</b></td> - <td> - <md-select ng-model='selectedVpp' placeholder="Select VPP" ng-change="selectVpp(vpp)"> - <md-option ng-repeat="vpp in vppList" ng-value="vpp">{{vpp.name}}</md-option> - </md-select> - </td> - </tr> - <tr> - <td><b>IP Address</b></td> - <td>{{selectedVpp.ipAddress}}</td> - </tr> - <tr> - <td><b>Port</b></td> - <td>{{selectedVpp.port}}</td> - </tr> - <tr> - <td><b>Connection Status</b></td> - <td>{{selectedVpp.status}}</td> - </tr> - </tbody> - </table> - - <div style="float: left"> - <h3>VXLAN Tunnel</h3> - </div> - <table st-table="displayInterfaceList" st-safe-src="selectedVpp.interfaces" class="table table-striped"> - <thead> - <tr> - <th st-sort="name" class="interactive">Name</th> - <th st-sort="oper-status" class="interactive" >Oper Status</th> - <th st-sort="admin-status" class="interactive">Admin Status</th> - <th st-sort="'v3po:vxlan.src'" class="interactive">Source IP</th> - <th st-sort="'v3po:vxlan.src'" class="interactive">Destination IP</th> - </tr> - </thead> - <tbody> - <tr ng-repeat="interface in displayInterfaceList | filter: filterGetVxlanIf"> - <td>{{interface.name}}</td> - <td>{{interface['admin-status']}}</td> - <td>{{interface['phys-address']}}</td> - <td>{{interface['v3po:vxlan'].src}}</td> - <td>{{interface['v3po:vxlan'].dst}}</td> - </tr> - </tbody> - </table> - </md-content> - </div> - </div> - - <div layout="row" flex="100" layout-margin> - <!-- interfaces list --> - <div class="md-whiteframe-z2" flex="100"> - <md-content layout-padding> - <h3>Interface list</h3> - <table st-table="displayInterfaceList" st-safe-src="selectedVpp.interfaces" class="table table-striped"> - <thead> - <tr> - <th st-sort="name" class="interactive">Name</th> - <th st-sort="oper-status" class="interactive" >Oper Status</th> - <th st-sort="admin-status" class="interactive">Admin Status</th> - <th st-sort="phys-address" class="interactive">MAC Address</th> - </tr> - </thead> - <tbody> - <tr ng-repeat="interface in displayInterfaceList | filter: filterRemoveVxlanIf"> - <td>{{interface.name}}</td> - <td>{{interface['oper-status']}}</td> - <td>{{interface['admin-status']}}</td> - <td>{{interface['phys-address']}}</td> - </tr> - </tbody> - </table> - </md-content> - </div> - </div> -</div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html deleted file mode 100644 index c47617cb1..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/inventory-table-interfaces-subgrid.tpl.html +++ /dev/null @@ -1 +0,0 @@ -<div ui-grid="row.entity.subGridOptions" style="height:150px;"></div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html deleted file mode 100644 index ab62c75c3..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html +++ /dev/null @@ -1,41 +0,0 @@ -<div ng-controller="InventoryTableController"> - <div layout="row" flex="100" layout-margin> - <div class="md-whiteframe-z2 flex"> - <md-content layout-padding> - <div style="float: left"> - <h3>VPP List</h3> - </div> - <div style="float: right"> - <md-button ng-click="addVppShowForm()" class="md-raised">Mount VPP</md-button> - <md-button ng-click="getVppList()" class="md-raised">Reload VPPs</md-button> - </div> - - <table st-table="displayVppList" st-safe-src="vppList" class="table table-striped"> - <thead> - <tr> - <th st-sort="name" class="interactive">VPP Name</th> - <th st-sort="ipAddress" class="interactive">IP Address</th> - <th st-sort="port" class="interactive">Port</th> - <th st-sort="status" class="interactive">Connection Status</th> - <th>Actions</th> - </tr> - </thead> - <tbody> - <tr ng-repeat="vpp in displayVppList"> - <td>{{vpp.name}}</td> - <td>{{vpp.ipAddress}}</td> - <td>{{vpp.port}}</td> - <td>{{vpp.status}}</td> - <td> - <!--<md-button ng-click="viewTopology(vpp)" class="md-accent">View Topology</md-button>--> - <md-button ng-click="selectVpp(vpp); setMainView('inventoryDetail')" >Detail</md-button> - <md-button ng-click="editVppShowForm(vpp)" ng-disabled="vpp.status === 'connected'" class="md-accent">Edit</md-button> - <md-button ng-click="deleteVpp(vpp)" class="md-accent">Delete</md-button> - </td> - </tr> - </tbody> - </table> - </md-content> - </div> - </div> -</div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory.tpl.html deleted file mode 100644 index 9d5e19d5e..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/inventory.tpl.html +++ /dev/null @@ -1,7 +0,0 @@ -<div ng-controller="InventoryController"> - <md-progress-linear md-mode="indeterminate" ng-if="InventoryController.dataService.loading"></md-progress-linear> - <div id="inventory-next-app" style="height: 100%"></div> - <md-button class="md-fab md-primary md-fab-bottom-right" md-no-ink aria-label="Add VPP" ng-click="InventoryController.addVpp()"> - <div class="glyphicon glyphicon-plus"></div> - </md-button> -</div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/new-bd-dialog.html b/vbd/gui/module/src/main/resources/vpp/views/new-bd-dialog.html deleted file mode 100644 index 41e6ad8a4..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/new-bd-dialog.html +++ /dev/null @@ -1,39 +0,0 @@ -<md-dialog ng-cloak aria-label="new bd dialog"> - <form> - <md-toolbar> - <div class="md-toolbar-tools"> - <h2 style="color: white"> - New BD - </h2> - <span flex></span> - <md-button class="md-icon-button" ng-click="NewBdDialogCtrl.close()" aria-label="close button"> - <div>X</div> - </md-button> - </div> - </md-toolbar> - <md-dialog-content style="max-width:800px;max-height:810px; "> - <div class="md-dialog-content"> - <md-content layout-padding> - <form name="bDConfigForm"> - <div layout layout-sm="column"> - <md-input-container flex> - <label> - Name - </label> - <input ng-model="NewBdDialogCtrl.bd.name"> - </md-input-container> - </div> - </form> - </md-content> - - </div> - </md-dialog-content> - <md-progress-linear md-mode="indeterminate" ng-show="NewBdDialogCtrl.waiting"></md-progress-linear> - <md-dialog-actions layout="row"> - <span flex></span> - <md-button ng-click="NewBdDialogCtrl.updateConfig();" style="margin-right:20px;" class="md-accent"> - Add - </md-button> - </md-dialog-actions> - </form> -</md-dialog>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html b/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html deleted file mode 100644 index d8d2600f3..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/new-vpp-dialog.html +++ /dev/null @@ -1,69 +0,0 @@ -<md-dialog ng-cloak aria-label="new vpp dialog"> - <form> - <md-toolbar> - <div class="md-toolbar-tools"> - <h2 style="color: white"> - Mount new VPP - </h2> - <span flex></span> - <md-button class="md-icon-button" ng-click="NewVppDialogCtrl.close()" aria-label="close button"> - <div>X</div> - </md-button> - </div> - </md-toolbar> - <md-dialog-content style="max-width:800px;max-height:810px; "> - <div class="md-dialog-content"> - <md-content layout-padding> - <form name="vppConfigForm"> - <div layout="row"> - <md-input-container flex> - <label> - Name - </label> - <input ng-model="NewVppDialogCtrl.vpp.name"> - </md-input-container> - <md-input-container flex> - <label> - IP Address - </label> - <input ng-model="NewVppDialogCtrl.vpp.ip"> - </md-input-container> - <md-input-container flex> - <label> - Port - </label> - <input ng-model="NewVppDialogCtrl.vpp.port"> - </md-input-container> - </div> - <div layout="row"> - <md-input-container flex> - <label> - Username - </label> - <input ng-model="NewVppDialogCtrl.vpp.un"> - </md-input-container> - <md-input-container flex> - <label> - Password - </label> - <input ng-model="NewVppDialogCtrl.vpp.pw" type="password"> - </md-input-container> - </div> - - </form> - </md-content> - - </div> - </md-dialog-content> - <md-progress-linear md-mode="indeterminate" ng-show="NewVppDialogCtrl.waiting"></md-progress-linear> - <md-dialog-actions layout="row"> - <span flex></span> - <md-button ng-click="NewVppDialogCtrl.updateConfig();" style="margin-right:20px;" class="md-raised" type="submit"> - <span>Mount</span> - </md-button> - <md-button ng-click="NewVppDialogCtrl.close();" style="margin-right:20px;" class="md-raised" type="button"> - <span>Close</span> - </md-button> - </md-dialog-actions> - </form> -</md-dialog>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/root.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/root.tpl.html deleted file mode 100644 index b07c00c51..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/root.tpl.html +++ /dev/null @@ -1 +0,0 @@ -<div class="main" ui-view></div>
\ No newline at end of file diff --git a/vbd/gui/module/src/main/resources/vpp/views/vpp-topo.html b/vbd/gui/module/src/main/resources/vpp/views/vpp-topo.html deleted file mode 100644 index 8b3c9fd8a..000000000 --- a/vbd/gui/module/src/main/resources/vpp/views/vpp-topo.html +++ /dev/null @@ -1,18 +0,0 @@ -<md-dialog ng-cloak aria-label="vpp topo"> - <form> - <md-toolbar> - <div class="md-toolbar-tools"> - <h2 style="color: white"> - Topology for {{VppTopoCtrl.vpp.name}} - </h2> - <span flex></span> - <md-button class="md-icon-button" ng-click="VppTopoCtrl.close()" aria-label="close button"> - <div>X</div> - </md-button> - </div> - </md-toolbar> - <md-dialog-content style="max-width:500px;max-height:500px;overflow:hidden"> - <div id="next-vpp-topo"></div> - </md-dialog-content> - </form> -</md-dialog>
\ No newline at end of file |