From dc88d8e2a77ec8709505064cb9c964a7febd662d Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Sat, 14 Dec 2024 10:11:07 -0800 Subject: [PATCH] docs: updated gRPC edit link example to start session properly before trying to edit something that will not exist --- docs/grpc.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/grpc.md b/docs/grpc.md index bfb025d6..5b69ccef 100644 --- a/docs/grpc.md +++ b/docs/grpc.md @@ -167,6 +167,9 @@ iface1 = iface_helper.create_iface(node1.id, 0) iface2 = iface_helper.create_iface(node2.id, 0) link = session.add_link(node1=node1, node2=node2, iface1=iface1, iface2=iface2) +# start session +core.start_session(session) + # configuring during runtime link.options.loss = 10.0 core.edit_link(session.id, link)