Manual topology file examples

Example 1: 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"
	}
}

Example 2: 7220 IXR-D5 with breakout ports and FEC

{
    "interfaceProfiles": [
        {
            "name": "ipG100-2",
            "breakout": {
                "channelSpeed": "G100",
                "numChannels": 2
            }
        },
        {
            "name": "ipG100-4",
            "breakout": {
                "channelSpeed": "G100",
                "numChannels": 4
            }
        },
        {
            "forwardErrorCorrection": "base-r",
            "name": "fec-profile1"
        },
        {
            "forwardErrorCorrection": "rs-528",
            "name": "fec-profile2"
        }
    ],
    "deviceProfiles": [
        {
            "name": "d5-spine",
            "chassisType": "7220 IXR-D5",
            "description": "spine-7220 IXR-D5",
            "edgeLinks": [],
            "interfaceGroups": [
                {
                    "interfaceProfile": "fec-profile1",
                    "interfaces": [
                        "ethernet-1/29/1",
                        "ethernet-1/29/2",
                        "ethernet-1/7/1",
                        "ethernet-1/7/2"
                    ],
                    "type": "ISL"
                },
                {
                    "interfaceProfile": "ipG100-2",
                    "interfaces": [
                        "ethernet-1/29",
                        "ethernet-1/7"
                    ],
                    "type": "ISL"
                }
            ]
        },
        {
            "name": "h3-spine",
            "chassisType": "7220 IXR-H3",
            "description": "spine-7220 IXR-H3",
            "edgeLinks": [],
            "interfaceGroups": [
                {
                    "interfaceProfile": "fec-profile2",
                    "interfaces": [
                        "ethernet-1/24/1",
                        "ethernet-1/24/2",
                        "ethernet-1/24/3",
                        "ethernet-1/24/4"
                    ],
                    "type": "ISL"
                },
                {
                    "interfaceProfile": "ipG100-4",
                    "interfaces": [
                        "ethernet-1/24"
                    ],
                    "type": "ISL"
                }
            ]
        },
        {
            "name": "d3l-leaf",
            "chassisType": "7220 IXR-D3L",
            "description": "d3lleaf",
            "edgeLinks": [
                "ethernet-1/1",
                "ethernet-1/2"
            ],
            "interfaceGroups": [
                {
                    "interfaceProfile": "fec-profile1",
                    "interfaces": [
                        "ethernet-1/4",
                        "ethernet-1/5"
                    ],
                    "type": "ISL"
                },
                {
                    "interfaceProfile": "fec-profile2",
                    "interfaces": [
                        "ethernet-1/6",
                        "ethernet-1/7"
                    ],
                    "type": "ISL"
                }
            ]
        }
    ],
    "nodes": [
        {
            "deviceProfile": "d3l-leaf",
            "role": "T1_LEAF",
            "sequence": 1,
            "systemName": "leaf1",
            "pod": "pod1",
            "rack": "1",
            "deviceVendor": {
                "operatingSystem": "SRLinux",
                "softwareVersion": "22.11.1-184",
                "vendor": "Nokia"
            }
        },
        {
            "deviceProfile": "d3l-leaf",
            "role": "T1_LEAF",
            "sequence": 1,
            "systemName": "leaf2",
            "pod": "pod1",
            "rack": "1",
            "deviceVendor": {
                "operatingSystem": "SRLinux",
                "softwareVersion": "22.11.1-184",
                "vendor": "Nokia"
            }
        },
        {
            "deviceProfile": "d5-spine",
            "role": "T2_SPINE",
            "sequence": 1,
            "systemName": "spine1",
            "pod": "pod1",
            "rack": "1",
            "deviceVendor": {
                "operatingSystem": "SRLinux",
                "softwareVersion": "22.11.1-184",
                "vendor": "Nokia"
            }
        },
        {
            "deviceProfile": "h3-spine",
            "role": "T2_SPINE",
            "sequence": 1,
            "systemName": "spine2",
            "pod": "pod1",
            "rack": "1",
            "deviceVendor": {
                "operatingSystem": "SRLinux",
                "softwareVersion": "22.11.1-184",
                "vendor": "Nokia"
            }
        }
    ],
    "links": [
        {
            "localNode": "leaf1",
            "localPort": "ethernet-1/4",
            "remoteNode": "spine1",
            "remotePort": "ethernet-1/29/1",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf2",
            "localPort": "ethernet-1/4",
            "remoteNode": "spine1",
            "remotePort": "ethernet-1/29/2",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf1",
            "localPort": "ethernet-1/5",
            "remoteNode": "spine1",
            "remotePort": "ethernet-1/7/1",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf2",
            "localPort": "ethernet-1/5",
            "remoteNode": "spine1",
            "remotePort": "ethernet-1/7/2",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf1",
            "localPort": "ethernet-1/8",
            "remoteNode": "spine1",
            "remotePort": "ethernet-1/27",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G40"
        },
        {
            "localNode": "leaf2",
            "localPort": "ethernet-1/8",
            "remoteNode": "spine1",
            "remotePort": "ethernet-1/28",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G40"
        },
        {
            "localNode": "leaf1",
            "localPort": "ethernet-1/6",
            "remoteNode": "spine2",
            "remotePort": "ethernet-1/24/1",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf2",
            "localPort": "ethernet-1/6",
            "remoteNode": "spine2",
            "remotePort": "ethernet-1/24/2",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf1",
            "localPort": "ethernet-1/7",
            "remoteNode": "spine2",
            "remotePort": "ethernet-1/24/3",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf2",
            "localPort": "ethernet-1/7",
            "remoteNode": "spine2",
            "remotePort": "ethernet-1/24/4",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G100"
        },
        {
            "localNode": "leaf1",
            "localPort": "ethernet-1/9",
            "remoteNode": "spine2",
            "remotePort": "ethernet-1/27",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G40"
        },
        {
            "localNode": "leaf2",
            "localPort": "ethernet-1/9",
            "remoteNode": "spine2",
            "remotePort": "ethernet-1/28",
            "role": "T1_ISL_T2",
            "isActive": true,
            "speed": "G40"
        }
    ],
    "template": {
        "description": "leaf-spine topology",
        "name": "leaf-spine"
    }
}