xfer
This commit is contained in:
parent
fe502a3645
commit
c6e2836b85
@ -934,7 +934,7 @@ impl VeilidAPI {
|
||||
entry <node>
|
||||
nodeinfo
|
||||
config [key [new value]]
|
||||
purge <buckets|connections>
|
||||
purge <buckets|connections|routes>
|
||||
attach
|
||||
detach
|
||||
restart network
|
||||
|
@ -24,6 +24,10 @@ else:
|
||||
async def simple_connect_and_run(func: Callable[[veilid.VeilidAPI], Awaitable]):
|
||||
api = await veilid.json_api_connect(VEILID_SERVER, VEILID_SERVER_PORT, simple_update_callback)
|
||||
async with api:
|
||||
|
||||
# purge routes to ensure we start fresh
|
||||
await api.debug("purge routes")
|
||||
|
||||
await func(api)
|
||||
|
||||
async def simple_update_callback(update: veilid.VeilidUpdate):
|
||||
|
@ -29,6 +29,9 @@ async def test_routing_context_app_message_loopback():
|
||||
api = await veilid.json_api_connect(VEILID_SERVER, VEILID_SERVER_PORT, app_message_queue_update_callback)
|
||||
async with api:
|
||||
|
||||
# purge routes to ensure we start fresh
|
||||
await api.debug("purge routes")
|
||||
|
||||
# make a routing context that uses a safety route
|
||||
rc = await (await api.new_routing_context()).with_privacy()
|
||||
|
||||
@ -60,6 +63,9 @@ async def test_routing_context_app_call_loopback():
|
||||
api = await veilid.json_api_connect(VEILID_SERVER, VEILID_SERVER_PORT, app_call_queue_update_callback)
|
||||
async with api:
|
||||
|
||||
# purge routes to ensure we start fresh
|
||||
await api.debug("purge routes")
|
||||
|
||||
# make a routing context that uses a safety route
|
||||
rc = await (await api.new_routing_context()).with_privacy()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user