"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "solum/deployer/api.py" between
solum-9.0.0.tar.gz and solum-10.0.0.tar.gz

About: OpenStack Solum is designed to make cloud services easier to consume and integrate into your application development process.
The "Wallaby" series (latest release).

api.py  (solum-9.0.0):api.py  (solum-10.0.0)
skipping to change at line 22 skipping to change at line 22
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""API for interfacing with Solum Deployer.""" """API for interfacing with Solum Deployer."""
from oslo_config import cfg from oslo_config import cfg
from solum.common.rpc import service from solum.common.rpc import service
class API(service.API): class API(service.API):
def __init__(self, transport=None, context=None): def __init__(self, context=None):
cfg.CONF.import_opt('topic', 'solum.deployer.config', cfg.CONF.import_opt('topic', 'solum.deployer.config',
group='deployer') group='deployer')
super(API, self).__init__(transport, context, super(API, self).__init__(context,
topic=cfg.CONF.deployer.topic) topic=cfg.CONF.deployer.topic)
def deploy(self, assembly_id, image_loc, image_name, ports): def deploy(self, assembly_id, image_loc, image_name, ports):
self._cast('deploy', assembly_id=assembly_id, image_loc=image_loc, self._cast('deploy', assembly_id=assembly_id, image_loc=image_loc,
image_name=image_name, ports=ports) image_name=image_name, ports=ports)
def scale(self, assembly_id): def scale(self, assembly_id):
self._cast('scale', assembly_id=assembly_id) self._cast('scale', assembly_id=assembly_id)
def destroy_assembly(self, assem_id): def destroy_assembly(self, assem_id):
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)