grpc: removed old client, refactored wrapped client to be the new standard client, removed old client tests, updated documentation
This commit is contained in:
parent
924e86da2b
commit
15acdaa40f
14 changed files with 698 additions and 3008 deletions
|
@ -1,11 +1,11 @@
|
|||
from core.api.grpc import clientw
|
||||
from core.api.grpc import client
|
||||
from core.api.grpc.wrappers import Position
|
||||
|
||||
# interface helper
|
||||
iface_helper = clientw.InterfaceHelper(ip4_prefix="10.0.0.0/24", ip6_prefix="2001::/64")
|
||||
iface_helper = client.InterfaceHelper(ip4_prefix="10.0.0.0/24", ip6_prefix="2001::/64")
|
||||
|
||||
# create grpc client and connect
|
||||
core = clientw.CoreGrpcClient()
|
||||
core = client.CoreGrpcClient()
|
||||
core.connect()
|
||||
|
||||
# add session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue