self._log = log
self._loop = loop
- def create_nsr(self, nsr_msg, nsd,key_pairs=None):
+ def set_state(self, nsr_id, state):
+ pass
+
+ def create_nsr(self, nsr_msg, nsd, key_pairs=None, ssh_key=None):
"""
Create Network service record
"""
def nsm(self):
return self._nsm
- def create_nsr(self, nsr):
+ @abc.abstractmethod
+ def set_state(self, nsr_id, state):
+ pass
+
+ @abc.abstractmethod
+ def create_nsr(self, nsr, nsd, key_pairs=None, ssh_key=None):
""" Create an NSR """
pass