Manual topology file examples

Example 1: Leaf Spine topology with SR Linux nodes

{
  "links": [
    {
      "localNode": "leaf-1",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-1",
      "remotePort": "ethernet-1/32",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-1",
      "localPort": "ethernet-1/32",
      "remoteNode": "spine-2",
      "remotePort": "ethernet-1/32",
      "role": "T1_ISL_T2",
      "isActive": true
    },
        {
      "localNode": "leaf-2",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-1",
      "remotePort": "ethernet-1/31",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-2",
      "localPort": "ethernet-1/32",
      "remoteNode": "spine-2",
      "remotePort": "ethernet-1/31",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-3",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-1",
      "remotePort": "ethernet-1/30",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-3",
      "localPort": "ethernet-1/32",
      "remoteNode": "spine-2",
      "remotePort": "ethernet-1/30",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-4",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-1",
      "remotePort": "ethernet-1/29",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-4",
      "localPort": "ethernet-1/32",
      "remoteNode": "spine-2",
      "remotePort": "ethernet-1/29",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-5",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-1",
      "remotePort": "ethernet-1/28",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-5",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-2",
      "remotePort": "ethernet-1/28",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-6",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-1",
      "remotePort": "ethernet-1/27",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "leaf-6",
      "localPort": "ethernet-1/31",
      "remoteNode": "spine-2",
      "remotePort": "ethernet-1/27",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
      "localNode": "spine-1",
      "localPort": "ethernet-1/1",
      "remoteNode": "bl-1",
      "remotePort": "ethernet-1/32",
      "role": "T2_ISL_T3",
      "isActive": true
    },
    {
      "localNode": "spine-1",
      "localPort": "ethernet-1/2",
      "remoteNode": "bl-2",
      "remotePort": "ethernet-1/32",
      "role": "T1_ISL_T2",
      "isActive": true
    },
    {
        "localNode": "spine-2",
        "localPort": "ethernet-1/1",
        "remoteNode": "bl-1",
        "remotePort": "ethernet-1/31",
        "role": "T2_ISL_T3",
        "isActive": true
      },
      {
        "localNode": "spine-2",
        "localPort": "ethernet-1/2",
        "remoteNode": "bl-2",
        "remotePort": "ethernet-1/31",
        "role": "T1_ISL_T2",
        "isActive": true
      }
  ],
  "nodes": [
    {
      "deviceProfile": "d3lleaf",
      "rack": "1",
      "role": "T1_LEAF",
      "sequence": 1,
      "systemName": "leaf-1",
      "pod": "first",
      "deviceVendor":{
          "operatingSystem": "SRLinux",
           "softwareVersion": "21.11.2-72",
           "vendor": "Nokia"
      }
    },
    {
        "deviceProfile": "d3lleaf",
        "rack": "2",
        "role": "T1_LEAF",
        "sequence": 1,
        "systemName": "leaf-2",
        "pod": "first",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
        "deviceProfile": "d3lleaf",
        "rack": "3",
        "role": "T1_LEAF",
        "sequence": 1,
        "systemName": "leaf-3",
        "pod": "first",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
        "deviceProfile": "d3lleaf",
        "rack": "4",
        "role": "T1_LEAF",
        "sequence": 1,
        "systemName": "leaf-4",
        "pod": "first",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
        "deviceProfile": "d3lleaf",
        "rack": "5",
        "role": "T1_LEAF",
        "sequence": 1,
        "systemName": "leaf-5",
        "pod": "first",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
        "deviceProfile": "d3lleaf",
        "rack": "6",
        "role": "T1_LEAF",
        "sequence": 1,
        "systemName": "leaf-6",
        "pod": "first",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
      "deviceProfile": "d3lspine",
      "role": "T2_SPINE",
      "sequence": 1,
      "systemName": "spine-1",
      "pod": "first",
      "rack": "10",
      "deviceVendor":{
          "operatingSystem": "SRLinux",
           "softwareVersion": "21.11.2-72",
           "vendor": "Nokia"
      }
    },
    {
        "deviceProfile": "d3lspine",
        "role": "T2_SPINE",
        "sequence": 1,
        "systemName": "spine-2",
        "pod": "first",
        "rack": "10",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
        "deviceProfile": "d3lbl",
        "role": "T3",
        "sequence": 1,
        "systemName": "bl-1",
        "pod": "first",
        "rack": "11",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    },
    {
        "deviceProfile": "d3lbl",
        "role": "T3",
        "sequence": 1,
        "systemName": "bl-2",
        "pod": "first",
        "rack": "11",
        "deviceVendor":{
            "operatingSystem": "SRLinux",
             "softwareVersion": "21.11.2-72",
             "vendor": "Nokia"
        }
    }
  ],
"deviceProfiles": [
    {
      "name": "d3lleaf",
      "chassisType": "7220 IXR-D3L",
      "edgeLinks": [
          "ethernet-1/1",
          "ethernet-1/2",
          "ethernet-1/3",
          "ethernet-1/4",
          "ethernet-1/5",
          "ethernet-1/6",
          "ethernet-1/7",
          "ethernet-1/8",
          "ethernet-1/9",
          "ethernet-1/10",
          "ethernet-1/11",
          "ethernet-1/12",
          "ethernet-1/13",
          "ethernet-1/14",
          "ethernet-1/15",
          "ethernet-1/16",
          "ethernet-1/17",
          "ethernet-1/18",
          "ethernet-1/19",
          "ethernet-1/20",
          "ethernet-1/21",
          "ethernet-1/22",
          "ethernet-1/23",
          "ethernet-1/24",
          "ethernet-1/25",
          "ethernet-1/26",
          "ethernet-1/27",
          "ethernet-1/28",
          "ethernet-1/29"
      ]
    },
    {
        "name": "d3lspine",
        "chassisType": "7220 IXR-D3L"
    },
    {
        "name": "d3lbl",
        "chassisType": "7220 IXR-D3L",
        "edgeLinks": [
            "ethernet-1/1",
            "ethernet-1/2",
            "ethernet-1/3",
            "ethernet-1/4"
        ]
      }
  ],
"template": {
    "name": "leaf-spine-bl"
  }
}

Example 2: Leaf Spine topology with 210 WBX nodes

{
  {
	"links": [{
			"localNode": "t1-leaf1",
			"localPort": "1/1/9",
			"remoteNode": "t2-spine1",
			"remotePort": "1/1/9",
			"role": "ISL",
			"isActive": true
		},
		{
			"localNode": "t1-leaf1",
			"localPort": "1/1/13",
			"remoteNode": "t2-spine2",
			"remotePort": "1/1/13",
			"role": "ISL",
			"isActive": true
		},
		{
			"localNode": "t1-leaf2",
			"localPort": "1/1/17",
			"remoteNode": "t2-spine2",
			"remotePort": "1/1/17",
			"role": "T1_ISL_T2",
			"isActive": true
		},
		{
			"localNode": "t1-leaf3",
			"localPort": "1/1/21",
			"remoteNode": "t2-spine1",
			"remotePort": "1/1/21",
			"role": "T1_ISL_T2",
			"isActive": true
		},
		{
			"localNode": "t1-leaf3",
			"localPort": "1/1/25",
			"remoteNode": "t2-spine2",
			"remotePort": "1/1/25",
			"role": "T1_ISL_T2",
			"isActive": true
		},
		{
			"localNode": "t1-leaf4",
			"localPort": "1/1/29",
			"remoteNode": "t2-spine3",
			"remotePort": "1/1/29",
			"role": "T1_ISL_T2",
			"isActive": true
		},
		{
			"localNode": "t2-spine1",
			"localPort": "2/1/9",
			"remoteNode": "t3-spine1",
			"remotePort": "2/1/9",
			"role": "T2_ISL_T3",
			"isActive": true
		},
		{
			"localNode": "t2-spine1",
			"localPort": "2/1/13",
			"remoteNode": "t3-spine2",
			"remotePort": "2/1/13",
			"role": "T2_ISL_T3",
			"isActive": true
		},
		{
			"localNode": "t3-spine1",
			"localPort": "2/1/17",
			"remoteNode": "t4-bleaf1",
			"remotePort": "2/1/17",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine2",
			"localPort": "2/1/21",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/21",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine1",
			"localPort": "2/1/25",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/25",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine2",
			"localPort": "2/1/29",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/29",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine2",
			"localPort": "2/1/33",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/33",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine2",
			"localPort": "2/1/37",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/37",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine2",
			"localPort": "2/1/41",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/41",
			"role": "T3_ISL_T4",
			"isActive": true
		},
		{
			"localNode": "t3-spine2",
			"localPort": "2/1/45",
			"remoteNode": "t4-bleaf2",
			"remotePort": "2/1/45",
			"role": "T3_ISL_T4",
			"isActive": true
		}
	],
	"nodes": [{
			"deviceProfile": "wbx_t1",
			"role": "T1_LEAF",
			"sequence": 1,
			"systemName": "t1-leaf1",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t1",
			"role": "T1_LEAF",
			"sequence": 1,
			"systemName": "t1-leaf2",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t1",
			"role": "T1_LEAF",
			"sequence": 1,
			"systemName": "t1-leaf3",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t1",
			"role": "T1_LEAF",
			"sequence": 1,
			"systemName": "t1-leaf4",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t1",
			"role": "T1_LEAF",
			"sequence": 1,
			"systemName": "t1-leaf5",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t1",
			"role": "T1_LEAF",
			"sequence": 1,
			"systemName": "t1-leaf6",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t2",
			"role": "T2_SPINE",
			"sequence": 1,
			"systemName": "t2-spine1",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t2",
			"role": "T2_SPINE",
			"sequence": 1,
			"systemName": "t2-spine2",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t2",
			"role": "T2_SPINE",
			"sequence": 1,
			"systemName": "t2-spine3",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t2",
			"role": "T2_SPINE",
			"sequence": 1,
			"systemName": "t2-spine4",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t3",
			"role": "T3",
			"sequence": 1,
			"systemName": "t3-spine1",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t3",
			"role": "T3",
			"sequence": 1,
			"systemName": "t3-spine2",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t3",
			"role": "T3",
			"sequence": 1,
			"systemName": "t3-spine3",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t3",
			"role": "T3",
			"sequence": 1,
			"systemName": "t3-spine4",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": []
		},
		{
			"deviceProfile": "wbx_t4",
			"role": "BORDERLEAF",
			"sequence": 1,
			"systemName": "t4-bleaf1",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t4",
			"role": "BORDERLEAF",
			"sequence": 1,
			"systemName": "t4-bleaf2",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t4",
			"role": "BORDERLEAF",
			"sequence": 1,
			"systemName": "t4-bleaf3",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		},
		{
			"deviceProfile": "wbx_t4",
			"role": "BORDERLEAF",
			"sequence": 1,
			"systemName": "t4-bleaf4",
			"pod": "pod1",
			"rack": "1",
			"deviceVendor": {
				"operatingSystem": "SROS210WBX",
				"softwareVersion": "22.6.2-24",
				"vendor": "Nokia"
			},
			"lags": [{
					"name": "lag-1",
					"localName": "lag-1",
					"isMultiHome": false,
					"ports": [
						"1/1/22",
						"1/1/23"
					]
				},
				{
					"name": "lag-10",
					"localName": "lag-10",
					"isMultiHome": false,
					"ports": [
						"1/1/25",
						"1/1/24"
					]
				}
			]
		}
	],
	"deviceProfiles": [{
			"name": "wbx_t3",
			"chassisType": "210-WBX-32Q",
			"description": "wbx_t3",
			"edgeLinks": []
		},
		{
			"name": "wbx_t4",
			"chassisType": "210-WBX-32Q",
			"description": "wbx_t4",
			"edgeLinks": [
				"1/1/1",
				"1/1/2",
				"1/1/3",
				"1/1/4",
				"1/1/5",
				"1/1/46",
				"1/1/47",
				"1/1/48",
				"1/1/6",
				"1/1/7",
				"1/1/8",
				"1/1/35",
				"1/1/36",
				"1/1/37",
				"1/1/38",
				"1/1/39"
			]
		},
		{
			"name": "wbx_t1",
			"chassisType": "210-WBX-32Q",
			"description": "wbx_t1",
			"edgeLinks": [
				"1/1/1",
				"1/1/2",
				"1/1/3",
				"1/1/4",
				"1/1/5",
				"1/1/46",
				"1/1/47",
				"1/1/48",
				"1/1/6",
				"1/1/7",
				"1/1/8",
				"1/1/35",
				"1/1/36",
				"1/1/37",
				"1/1/38",
				"1/1/39"
			]
		},
		{
			"name": "wbx_t2",
			"chassisType": "210-WBX-32Q",
			"description": "wbx_t2",
			"edgeLinks": []
		}
	],
	"template": {
		"name": "wbx_topology_t1_t2_t3_t4"
	}
}