STCLive : How do I remove the dialogs option from the access screen?


Doc ID    FAQ18075
Version:    1.0
Status:    Published
Published date:    08/28/2017
 

Environment/Versions

STCLive T&D
All Versions

Answer

1. Back up the json file 
cd /spirent/metro/11.501/MetroUI/config
cp default.json default.json.bak
2. View and edit default json file
3. Remove the lines contained inside the dialogs [] brackets. remove Lines 30 through 74.
 
   +29      "dialogs": [
   +30        {
   +31          "name": "",
   +32          "file": "isacore_nte_mac_verify.out",
   +33          "usage": [
   +34            "service-selection",
   +35            "service-testing"
   +36          ],
   +37          "params": [
   +38            {
   +39              "id": "MAX_MACS_LEARNED",
   +40              "label": "Max MACS Learned",
   +41              "default": 10,
   +42              "validation": {
   +43                "min": 1
   +44              }
   +45            },
   +46            {
   +47              "id": "DURATION",
   +48              "label": "Duration (sec)",
   +49              "default": 60,
   +50              "validation": {
   +51                "min": 15,
   +52                "max": 900
   +53              }
   +54            },
   +55            {
   +56              "id": "MAC_LEARNING",
   +57              "label": "MAC Learning",
   +58              "list": [
   +59                "OFF",
   +60                "ON",
   +61                "AS_FOUND"
   +62              ],
   +63              "default": "AS_FOUND"
   +64            }
   +65          ]
   +66        },
   +67        {
   +68          "name": "NTE Check Config Verify",
   +69          "file": "isacore_nte_check_config.out",
   +70          "usage": [
   +71            "service-selection",
   +72            "service-testing"
   +73          ]
   +74        }
   +75      ]
   +76    },
   +77    "ds": {
 
4. Save file
5. Restart MetroUI GUI
cd /spirent/metro/10.100/MetroUI/utilities/scripts
./stopMetroUI.pl
./startMetroUI.pl
6. Verify GUI
 
json file lines for dialogs should look like following
 
   "dialogs": [
    ]
 },
  "ds": {

Find Answers

Specified Languages
English
中文

Please Sign In

Username
Password

Did you forget your password?
Click here for assistance

New user? Start here.