docs: cleanup tutorial scripts

This commit is contained in:
Blake Harnden 2023-06-05 14:22:08 -07:00
parent 2176fcc5a3
commit 0b1a44e9b2
4 changed files with 18 additions and 10 deletions

View file

@ -4,7 +4,10 @@ from core.api.grpc.wrappers import Position
def main():
# interface helper
iface_helper = client.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 = client.CoreGrpcClient()

View file

@ -4,7 +4,10 @@ from core.api.grpc.wrappers import Position
def main():
# interface helper
iface_helper = client.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 = client.CoreGrpcClient()