1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

improve fake output [skip ci]

This commit is contained in:
checktheroads
2020-12-15 01:17:50 -07:00
parent 81c7ce878a
commit 70e4d4edc9

View File

@@ -21,8 +21,8 @@ ROUTES = [
"weight": 170,
"med": 1,
"local_preference": 100,
"as_path": [65001],
"communities": ["65000:1"],
"as_path": [65001, 65101, 65102, 65103],
"communities": ["65000:1", "65000:101", "65000:102", "65000:103"],
"next_hop": "198.18.0.1",
"source_as": 65001,
"source_rid": "198.18.0.1",
@@ -36,8 +36,8 @@ ROUTES = [
"weight": 170,
"med": 1,
"local_preference": 100,
"as_path": [65001],
"communities": ["65000:1"],
"as_path": [65001, 65101, 65102, 65103],
"communities": ["65000:1", "65000:101", "65000:102", "65000:103"],
"next_hop": "2001:db8::1",
"source_as": 65001,
"source_rid": "198.18.0.1",
@@ -51,8 +51,13 @@ ROUTES = [
"weight": 170,
"med": 2,
"local_preference": 100,
"as_path": [65002],
"communities": ["65000:2"],
"as_path": [65002, 4200000201, 4200000202, 4200000203],
"communities": [
"65000:2",
"65000:201",
"198.18.0.2:65000",
"198.18.0.2:650201",
],
"next_hop": "198.18.0.2",
"source_as": 65002,
"source_rid": "198.18.0.2",
@@ -66,8 +71,13 @@ ROUTES = [
"weight": 170,
"med": 2,
"local_preference": 100,
"as_path": [65002],
"communities": ["65000:2"],
"as_path": [65002, 4200000201, 4200000202, 4200000203],
"communities": [
"65000:2",
"65000:201",
"198.18.0.2:65000",
"198.18.0.2:650201",
],
"next_hop": "2001:db8::2",
"source_as": 65002,
"source_rid": "198.18.0.2",