grpc updated client methods to use proto objects directly, added more docs
This commit is contained in:
parent
ec1b82238e
commit
5c47b0cc43
4 changed files with 203 additions and 88 deletions
|
@ -28,6 +28,7 @@ from core.enumerations import LinkTypes
|
|||
from core.enumerations import MessageFlags
|
||||
from core.enumerations import NodeTlvs
|
||||
from core.enumerations import NodeTypes
|
||||
from core.grpc.client import InterfaceHelper
|
||||
from core.grpc.server import CoreGrpcServer
|
||||
from core.misc import ipaddress
|
||||
from core.misc.ipaddress import MacAddress
|
||||
|
@ -249,6 +250,11 @@ def ip_prefixes():
|
|||
return IpPrefixes(ip4_prefix="10.83.0.0/16")
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def interface_helper():
|
||||
return InterfaceHelper(ip4_prefix="10.83.0.0/16")
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def cored():
|
||||
# create and return server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue