Skip to content
Snippets Groups Projects
Commit 8dcee204 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'release/2.0.1' into 'develop'

Minor cosmetic change in Hackfest/Mock OSM tool

See merge request !65
parents f5d3088b 9ba0946a
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!65Minor cosmetic change in Hackfest/Mock OSM tool
...@@ -58,13 +58,11 @@ SERVICE_CONNECTION_POINTS = [ ...@@ -58,13 +58,11 @@ SERVICE_CONNECTION_POINTS = [
class MockOSMShell(cmd.Cmd): class MockOSMShell(cmd.Cmd):
intro = 'Welcome to the MockOSM shell.\nType help or ? to list commands.\n' intro = 'Welcome to the MockOSM shell.\nType help or ? to list commands.\n'
prompt = '(mock-osm) ' prompt = '(mock-osm) '
file = None
def __init__(self, *args, **kwargs) -> None: def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.mock_osm = MockOSM(WIM_URL, WIM_PORT_MAPPING, WIM_USERNAME, WIM_PASSWORD) self.mock_osm = MockOSM(WIM_URL, WIM_PORT_MAPPING, WIM_USERNAME, WIM_PASSWORD)
# ----- basic turtle commands -----
def do_create(self, arg): def do_create(self, arg):
'Create an ELINE (L2) service' 'Create an ELINE (L2) service'
service_uuid = self.mock_osm.create_connectivity_service( service_uuid = self.mock_osm.create_connectivity_service(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment