X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwlaunchpad%2Fplugins%2Frwnsm%2Frift%2Ftasklets%2Frwnsmtasklet%2Frwnsmplugin.py;h=352a4825d8409ac796cc82a64814a41c05c2e298;hb=4a4a3c6a58e071ac0edf767ce50d02be81cb6346;hp=ec162597a3eaebd4cbc4fab5f2d39271e6644564;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmplugin.py b/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmplugin.py index ec162597..352a4825 100755 --- a/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmplugin.py +++ b/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/rwnsmplugin.py @@ -1,4 +1,4 @@ -# +# # Copyright 2016 RIFT.IO Inc # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -48,6 +48,11 @@ class NsmPluginBase(object): def nsm(self): return self._nsm + @abc.abstractmethod + def set_state(self, nsr_id, state): + pass + + @abc.abstractmethod def create_nsr(self, nsr): """ Create an NSR """ pass @@ -65,7 +70,7 @@ class NsmPluginBase(object): @abc.abstractmethod @asyncio.coroutine - def instantiate_vnf(self, nsr, vnfr): + def instantiate_vnf(self, nsr, vnfr, scaleout=False): """ Instantiate the virtual network function """ pass