Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cd /usr/local/omk/lib/json/opCharts/table_schemas
vi opCharts_node-list.json


6.- En el archivo opCharts_business-services-nodes.json se agregan los campos nuevos para que aparezcan en la sección de Servicio de Negocios. 

Directorio:

Code Block
cd /usr/local/omk/lib/json/opCharts/table_schemas/
vi opCharts_business-services-nodes.json


Code Block
 { "name": "catchall.data.nodestatus",
    "label": "Node Status",
    "cell": "NodeStatus",
    "editable" : false
  },
    { "name": "nodes.configuration.country",
    "label": "Country",
    "cell": "String",
    "search" : "regex",
    "editable" : false
  },
  { "name": "nodes.configuration.latitude",
    "label": "Latitude",
    "cell": "String",
    "search" : false,
    "editable" : false
  },
  { "name": "nodes.configuration.longitude",
    "label": "Longitude",
    "cell": "String",
    "search" : false,
    "editable" : false
  },
  { "name": "nodes.configuration.address",
    "label": "Address",
    "cell": "String",
    "search" : "regex",
    "editable" : false
  },
  { "name": "nodes.configuration.bandwith",
    "label": "Bandwith_Mbps",
    "cell": "String",
    "search" : "regex",
    "editable" : false
  },
  { "name": "nodes.configuration.circuit",
    "label": "Circuit_ID",
    "cell": "String",
    "search" : "regex",
    "editable" : false
  },


Para opReports4

6.- En el archivo report_node.html.ep se agregan los campos nuevos que deseamos visualizar, para que se pueda ver reflejado en el módulo de opReports

...