Commit 4d34907b by Arnau Comas Codina

Interface for network interfaces

parent a5a2ad01
"""
General interface for using the CIRCLE portal API
It should be implemented for using other providers e. g. OpenStack
"""
class NetworkInterfacesInterface:
def create_interface(self, vlan):
raise NotImplementedError
def remove_interface(self, vlan):
raise NotImplementedError
def list_all_vlans(self):
raise NotImplementedError
def list_all_interfaces(self):
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