JSON representation

SLX-OS supports JSON format to represent the resource. This section provides information on the JSON representation for the YANG elements.

The following is an example of JASON representation.

{
"sflow": {
  "enable": "true",
  "collector": [
    {
    "collector-ip-address": "1.1.1.1",
    "collector-port-number": "6343",
    "use-vrf": "mgmt-vrf",
       
  },
    {
    "collector-ip-address": "1.2.3.4",
    "collector-port-number": "23",
    "use-vrf": "mgmt-vrf",
         }
  ],
  "polling-interval": "12",
  "sample-rate": "32",
 }
}