mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
add more route types to fake output for testing [skip ci]
This commit is contained in:
@@ -89,7 +89,7 @@ ROUTES = [
|
||||
"active": False,
|
||||
"age": 480,
|
||||
"weight": 170,
|
||||
"med": 2,
|
||||
"med": 3,
|
||||
"local_preference": 100,
|
||||
"as_path": [65003],
|
||||
"communities": ["65000:3"],
|
||||
@@ -97,14 +97,14 @@ ROUTES = [
|
||||
"source_as": 65003,
|
||||
"source_rid": "198.18.0.3",
|
||||
"peer_rid": "198.18.0.3",
|
||||
"rpki_state": 0,
|
||||
"rpki_state": 3,
|
||||
},
|
||||
{
|
||||
"prefix": "2001:db8:3::/64",
|
||||
"active": False,
|
||||
"age": 480,
|
||||
"weight": 170,
|
||||
"med": 2,
|
||||
"med": 3,
|
||||
"local_preference": 100,
|
||||
"as_path": [65003],
|
||||
"communities": ["65000:3"],
|
||||
@@ -112,6 +112,36 @@ ROUTES = [
|
||||
"source_as": 65003,
|
||||
"source_rid": "198.18.0.3",
|
||||
"peer_rid": "198.18.0.3",
|
||||
"rpki_state": 3,
|
||||
},
|
||||
{
|
||||
"prefix": "198.18.4.0/24",
|
||||
"active": False,
|
||||
"age": 480,
|
||||
"weight": 170,
|
||||
"med": 4,
|
||||
"local_preference": 100,
|
||||
"as_path": [],
|
||||
"communities": ["65000:4"],
|
||||
"next_hop": "198.18.0.4",
|
||||
"source_as": 65004,
|
||||
"source_rid": "198.18.0.4",
|
||||
"peer_rid": "198.18.0.4",
|
||||
"rpki_state": 0,
|
||||
},
|
||||
{
|
||||
"prefix": "2001:db8:4::/64",
|
||||
"active": False,
|
||||
"age": 480,
|
||||
"weight": 170,
|
||||
"med": 4,
|
||||
"local_preference": 100,
|
||||
"as_path": [],
|
||||
"communities": ["65000:4"],
|
||||
"next_hop": "2001:db8::4",
|
||||
"source_as": 65004,
|
||||
"source_rid": "198.18.0.4",
|
||||
"peer_rid": "198.18.0.4",
|
||||
"rpki_state": 0,
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user