Improvements of roadm application:
1.Fix the bug of Treating path index as port number for APS;
2.Creating APS switching operations dynamically, instead of hard code;
3.Change APS interface for general using;
4.Compatible test base on the devices of OPENFLOW and NETCONF protocol.
Change-Id: Ib750d40ed28fc184a96b58e97715beab3d80ff17
diff --git a/apps/roadm/src/main/resources/app/view/roadmPort/roadmPort.html b/apps/roadm/src/main/resources/app/view/roadmPort/roadmPort.html
index 43aeb93..f896ebd 100644
--- a/apps/roadm/src/main/resources/app/view/roadmPort/roadmPort.html
+++ b/apps/roadm/src/main/resources/app/view/roadmPort/roadmPort.html
@@ -70,8 +70,8 @@
</table>
<div class="mode-select" ng-show="showServiceState">
<hr/>
- <label class="mode-title">Protection Mode:</label>
- <select ng-model="opsModeType" ng-options="mode.type for mode in opsModeTypes"></select>
+ <label class="mode-title">Protection Switch:</label>
+ <select ng-model="opsModeType" ng-options="mode.name for mode in opsModeTypes"></select>
<button ng-click="changeOpsMode()" title="Click to apply selected protection mode">Apply</button>
<label class="mode-fail" ng-if="changeModeFail">{{changeModeFailMsg}}</label>
</div>