{
  "interfaces": {
    "access": [
      {
        "interface": "SN-1-DT",
        "network-interface": "SN-2-DT:10",
        "stream-group-id": 1,
        "type": "ipoe",
        "dhcp": true,
        "outer-vlan-min": 1001,
        "outer-vlan-max": 1100,
        "inner-vlan-min": 1001,
        "inner-vlan-max": 1100
      }
    ],
   "network": [
      {
        "interface": "SN-2-DT",
        "vlan": 10,
        "address": "192.0.2.2/27",
        "gateway": "192.0.2.1",
        "address-ipv6": "2001:db8::2/64",
        "gateway-ipv6": "2001:db8::1",
        "ospfv2-instance-id": 1,
        "ospfv2-type": "p2p",
        "ldp-instance-id": 1
      }
    ]
  },
    "dhcp": {
      "enable": true
    },
    "dhcpv6": {
      "enable": true,
      "rapid-commit": true
  },
  "session-traffic": {
    "ipv4-pps": 1,
    "ipv6-pps": 1,
    "ipv6pd-pps": 1,
    "autostart": true
    },
    "streams": [{
            "name": "BE",
            "stream-group-id": 1,
            "type": "ipv4",
            "direction": "both",
            "network-ipv4-address": "192.0.2.2",
            "network-interface": "SN-2-DT:10",
            "vlan-priority": 1,
            "priority": 128,
            "length": 1000,
            "pps": 2000
        },
        {
            "name": "LowDelay",
            "stream-group-id": 1,
            "type": "ipv4",
            "direction": "both",
            "network-ipv4-address": "192.0.2.2",
            "network-interface": "SN-2-DT:10",
            "vlan-priority": 2,
            "priority": 160,
            "length": 1000,
            "pps": 2000
        },
        {
            "name": "LowLoss",
            "stream-group-id": 1,
            "type": "ipv4",
            "direction": "both",
            "network-ipv4-address": "192.0.2.2",
            "network-interface": "SN-2-DT:10",
            "vlan-priority": 3,
            "priority": 192,
            "length": 1000,
            "pps": 2000
        },
        {
            "name": "VoIP",
            "stream-group-id": 1,
            "type": "ipv4",
            "direction": "both",
            "network-ipv4-address": "192.0.2.2",
            "network-interface": "SN-2-DT:10",
            "vlan-priority": 4,
            "priority": 224,
            "length": 1000,
            "pps": 2000
        }
    ],
     "ospf": [
      {
          "instance-id": 1,
          "version": 2,
          "router-id": "192.0.2.65",
          "hostname": "R1",
      "external": {
          "purge": false,
      "mrt-file": "/home/supervisor/ospf.mrt",
              "connections": [
                  {
                      "router-id": "198.51.100.1",
                      "local-ipv4-address": "10.0.0.1",
                      "metric": 1000
                  }
              ]
          }
      }
  ],
  "ldp": [
    {
      "instance-id": 1,
      "lsr-id": "192.0.2.65",
      "raw-update-file": "/home/supervisor/out.ldp"
    }
  ],
  "bgp": [
        {
            "network-interface": "SN-2-DT:10",
            "local-as": 4200000001,
            "peer-as": 42000001,
            "local-ipv4-address": "198.51.100.3",
            "peer-ipv4-address": "192.0.2.64",
        "raw-update-file": "/home/supervisor/internet.bgp"
        }
    ]

}