You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/01 19:21:04 UTC

[jira] [Commented] (ARIA-254) Support multiple nodes of a node template at service creation time

    [ https://issues.apache.org/jira/browse/ARIA-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033518#comment-16033518 ] 

ASF GitHub Bot commented on ARIA-254:
-------------------------------------

GitHub user tliron opened a pull request:

    https://github.com/apache/incubator-ariatosca/pull/143

    ARIA-254 Create of multiple nodes per template

    * New aria.Scaling policy (and "scaling" role)
    * NodeTemplate model no longer stores scaling values (default_instances,
    etc.) but instead fetches them from applicable scaling policies
    * Some code cleanup

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/incubator-ariatosca ARIA-254-multiple-nodes-per-template

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-ariatosca/pull/143.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #143
    
----
commit acfc7f461b7ee6f01b6095d8eb4e28554df8928c
Author: Tal Liron <ta...@gmail.com>
Date:   2017-06-01T19:17:17Z

    ARIA-254 Create of multiple nodes per template
    
    * New aria.Scaling policy (and "scaling" role)
    * NodeTemplate model no longer stores scaling values (default_instances,
    etc.) but instead fetches them from applicable scaling policies
    * Some code cleanup

----


> Support multiple nodes of a node template at service creation time
> ------------------------------------------------------------------
>
>                 Key: ARIA-254
>                 URL: https://issues.apache.org/jira/browse/ARIA-254
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Ran Ziv
>            Assignee: Tal Liron
>            Priority: Critical
>
> Currently each node template can only have a single node.
> We need to support having multiple nodes of a given node-template at service creation time. The mechanism for this should take into consideration future stories which would require allowing scaling the number of nodes of a node-template up or down.
> Note: the term {{default_instances}} appears in several places in the code ([1|https://github.com/apache/incubator-ariatosca/blob/1f3e7ff42fefcd5dc8191e3b0eeac0460db059b0/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml#L151], [2|https://github.com/apache/incubator-ariatosca/blob/fdd57c47acfe63dc25c6f20bcb3785225b3f774d/aria/modeling/service_template.py#L310], [3|https://github.com/apache/incubator-ariatosca/blob/60ea3ebb21e762d36115db26563a93dd3cb72003/extensions/aria_extension_tosca/simple_v1_0/modeling/__init__.py#L163]) - we could perhaps use this or an extension based on this idea to support this issue.
> One other thing that should be taken into consideration (but perhaps be moved to a separate JIRA issue) is the implicit declaration of multiple instances via the capabilities&requirements mechanism in TOSCA - We need to decide if to support this as well or not, and if we do, how does this play together with the primary method of declaring multiple nodes (or perhaps would this be the only method of doing so?)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)