| 34 | }}} |
| 35 | |
| 36 | Edit the Ports information. Make sure the URN of each egress port matches the port in the /etc/gram/config.json in the stitching/edge_points section. |
| 37 | |
| 38 | {{{ |
| 39 | "ports" : { |
| 40 | "urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+stitchport+procurve2:16": { |
| 41 | "command" : ["expect", "/home/gram/gram/opsmon/stats.expect", "te", "0/2"], |
| 42 | "parser_module" : "parse_interface_stats", |
| 43 | "parser" : "parse_interface_stats.parse_interface_stats", |
| 44 | "measurements" : [ |
| 45 | {"table" : "ops_interface_rx_bps", "key" : "input_bytes", "change_rate" : "True"}, |
| 46 | {"table" : "ops_interface_rx_pps", "key" : "input_packets", "change_rate" : "True"}, |
| 47 | {"table" : "ops_interface_tx_bps", "key" : "output_bytes", "change_rate" : "True"}, |
| 48 | {"table" : "ops_interface_tx_pps", "key" : "output_packets", "change_rate" : "True"} |
| 49 | ] |
| 50 | } |
| 51 | } |
| 52 | |