Commit 4d452b14 by Adam Torok

update methods added in interfaces

parent 10775612
...@@ -11,6 +11,9 @@ class NetworkManager: ...@@ -11,6 +11,9 @@ class NetworkManager:
def get(self, id) -> Network: def get(self, id) -> Network:
raise NotImplementedError raise NotImplementedError
def update(self, id, params) -> Network:
raise NotImplementedError
def delete(self, id) -> bool: def delete(self, id) -> bool:
raise NotImplementedError raise NotImplementedError
......
...@@ -11,6 +11,9 @@ class RouterManager: ...@@ -11,6 +11,9 @@ class RouterManager:
def get(self, id) -> Router: def get(self, id) -> Router:
raise NotImplementedError raise NotImplementedError
def update(self, id, params) -> Router:
raise NotImplementedError
def delete(self, id) -> bool: def delete(self, id) -> bool:
raise NotImplementedError raise NotImplementedError
......
...@@ -11,6 +11,9 @@ class SubnetManager: ...@@ -11,6 +11,9 @@ class SubnetManager:
def get(self, id) -> Subnet: def get(self, id) -> Subnet:
raise NotImplementedError raise NotImplementedError
def update(self, params) -> Subnet:
raise NotImplementedError
def delete(self, id) -> bool: def delete(self, id) -> bool:
raise NotImplementedError raise NotImplementedError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment