mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-24 22:01:02 +02:00
Added ports to link data in sample json.
This commit is contained in:
parent
106d4495d3
commit
7c7aafb688
@ -59,54 +59,72 @@
|
|||||||
"src": "of:0000000000000001",
|
"src": "of:0000000000000001",
|
||||||
"dst": "of:0000000000000002",
|
"dst": "of:0000000000000002",
|
||||||
"type": "optical",
|
"type": "optical",
|
||||||
|
"srcPort": 1,
|
||||||
|
"dstPort": 2,
|
||||||
"linkWidth": 1.5
|
"linkWidth": 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000001",
|
"src": "of:0000000000000001",
|
||||||
"dst": "of:0000000000000003",
|
"dst": "of:0000000000000003",
|
||||||
"type": "optical",
|
"type": "optical",
|
||||||
|
"srcPort": 2,
|
||||||
|
"dstPort": 5,
|
||||||
"linkWidth": 1.5
|
"linkWidth": 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000001",
|
"src": "of:0000000000000001",
|
||||||
"dst": "of:0000000000000004",
|
"dst": "of:0000000000000004",
|
||||||
"type": "optical",
|
"type": "optical",
|
||||||
|
"srcPort": 3,
|
||||||
|
"dstPort": 2,
|
||||||
"linkWidth": 1.5
|
"linkWidth": 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000002",
|
"src": "of:0000000000000002",
|
||||||
"dst": "of:0000000000000003",
|
"dst": "of:0000000000000003",
|
||||||
"type": "optical",
|
"type": "optical",
|
||||||
|
"srcPort": 3,
|
||||||
|
"dstPort": 4,
|
||||||
"linkWidth": 1.5
|
"linkWidth": 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000002",
|
"src": "of:0000000000000002",
|
||||||
"dst": "of:0000000000000004",
|
"dst": "of:0000000000000004",
|
||||||
"type": "optical",
|
"type": "optical",
|
||||||
|
"srcPort": 4,
|
||||||
|
"dstPort": 1,
|
||||||
"linkWidth": 1.5
|
"linkWidth": 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000003",
|
"src": "of:0000000000000003",
|
||||||
"dst": "of:0000000000000004",
|
"dst": "of:0000000000000004",
|
||||||
"type": "optical",
|
"type": "optical",
|
||||||
|
"srcPort": 3,
|
||||||
|
"dstPort": 3,
|
||||||
"linkWidth": 1.5
|
"linkWidth": 1.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000013",
|
"src": "of:0000000000000013",
|
||||||
"dst": "of:0000000000000003",
|
"dst": "of:0000000000000003",
|
||||||
"type": "direct",
|
"type": "direct",
|
||||||
|
"srcPort": 1,
|
||||||
|
"dstPort": 7,
|
||||||
"linkWidth": 1.0
|
"linkWidth": 1.0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000012",
|
"src": "of:0000000000000012",
|
||||||
"dst": "of:0000000000000002",
|
"dst": "of:0000000000000002",
|
||||||
"type": "direct",
|
"type": "direct",
|
||||||
|
"srcPort": 1,
|
||||||
|
"dstPort": 9,
|
||||||
"linkWidth": 1.0
|
"linkWidth": 1.0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "of:0000000000000011",
|
"src": "of:0000000000000011",
|
||||||
"dst": "of:0000000000000001",
|
"dst": "of:0000000000000001",
|
||||||
"type": "direct",
|
"type": "direct",
|
||||||
|
"srcPort": 1,
|
||||||
|
"dstPort": 6,
|
||||||
"linkWidth": 1.0
|
"linkWidth": 1.0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user