Max Chu | 6a4bb65 | 2017-09-29 17:15:56 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2017-present Open Networking Foundation |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <div class="row"> |
| 18 | <div class="col-xs-12"> |
| 19 | <h1>CFM/OAM Jitter and Delay Monitoring</h1> |
| 20 | <p>Select the appropriate MD, MA, MEP, and DM for which you would like to monitor delay and jitter statistics.</p> |
| 21 | <a class="btn btn-success" |
| 22 | ng-style="{'visibility': vm.displayButton ? 'visible' : 'hidden'}" |
| 23 | ng-click="vm.stateChange()" |
| 24 | > |
| 25 | View Delay and Jitter |
| 26 | </a> |
| 27 | </div> |
| 28 | </div> |
| 29 | |
| 30 | <div class="row"> |
| 31 | <div class="col-xs-3"> |
| 32 | <h4>Maintenance Domains (MD)</h4> |
| 33 | </div> |
| 34 | <div class="col-xs-3"> |
| 35 | <h4>Maintenance Associations (MA)</h4> |
| 36 | </div> |
| 37 | <div class="col-xs-3"> |
| 38 | <h4>MA Endpoints (MEP)</h4> |
| 39 | </div> |
| 40 | <div class="col-xs-3"> |
| 41 | <h4>Delay Measurements (DM)</h4> |
| 42 | </div> |
| 43 | </div> |
| 44 | |
| 45 | <div class="row"> |
| 46 | <div class="col-xs-3"> |
| 47 | <div class="form-group"> |
| 48 | <select class="form-control cfmlist" id="md" size="25" ng-model="vm.mdValue" ng-change="vm.triggerRefresh('md')"> |
| 49 | <option ng-repeat="md in vm.mds" value="{{md.mdNumericId}}">{{md.mdName}} (ID {{md.mdNumericId}})</option> |
| 50 | </select> |
| 51 | </div> |
| 52 | </div> |
| 53 | <div class="col-xs-3"> |
| 54 | <div class="form-group"> |
| 55 | <select class="form-control cfmlist" id="ma" size="25" ng-model="vm.maValue" ng-change="vm.triggerRefresh('ma')"> |
| 56 | <option ng-repeat="ma in vm.mas" value="{{ma.maNumericId}}">{{ma.maName}} (ID {{ma.maNumericId}})</option> |
| 57 | </select> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div class="col-xs-3"> |
| 61 | <div class="form-group"> |
| 62 | <select class="form-control cfmlist" id="mep" size="25" ng-model="vm.mepValue" ng-change="vm.triggerRefresh('mep')"> |
| 63 | <option ng-repeat="mep in vm.meps" value="{{mep.mepId}}">{{mep.mepId}}</option> |
| 64 | </select> |
| 65 | </div> |
| 66 | </div> |
| 67 | <div class="col-xs-3"> |
| 68 | <div class="form-group"> |
| 69 | <select class="form-control cfmlist" id="dm" size="25" ng-model="vm.dmValue" ng-change="vm.triggerRefresh('dm')"> |
| 70 | <!-- <option ng-repeat="dm in vm.dms" value="{{dm.dmId}}">{{dm.dmId}}</option> --> |
| 71 | <option value="1" ng-show="vm.displaydms">1</option> |
| 72 | <option value="2" ng-show="vm.displaydms">2</option> |
| 73 | </select> |
| 74 | </div> |
| 75 | </div> |
| 76 | </div> |
| 77 | |
| 78 | <div class="row"> |
| 79 | <div class="col-xs-12"> |
| 80 | <p>It may take some time for MAs and MEPs to be loaded. Thank you for your patience.</p> |
| 81 | </div> |
| 82 | </div> |