grpc: removed old client, refactored wrapped client to be the new standard client, removed old client tests, updated documentation

This commit is contained in:
Blake Harnden 2021-05-04 13:29:22 -07:00
parent 924e86da2b
commit 15acdaa40f
14 changed files with 698 additions and 3008 deletions

View file

@ -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