Workflow graph, Juju charm and node states

2017-08-02 Thread Steve Baillargeon
Hi Tal 1) Is it possible to send me an example of a custom workflow graph? I am trying to visualize such graph or use it in my presentation 2) When executing an operation associated with a "script", what are the main implications or differences between executing a Juju charm vs executing a

Node types

2017-08-03 Thread Steve Baillargeon
Hi Tal Q1 I see normative node types in the YAML spec. Here it makes sense to call them normative node types :) I see non-normative node types in the YAML spec. Here it makes sense to call them normative node types :) I also know the template author can create its own node types. Should I call

Re: ARIA install on MAC

2017-08-15 Thread steve . baillargeon
Hi Ran I succeeded to upgrade setuptools using --user python option. The pip install did not work. The error message is operations not permitted. See below Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py",

RE: ARIA install on PC

2017-08-15 Thread Steve Baillargeon
/0.1.1/aria/cli/exceptions.py ) ? On Tue, Aug 15, 2017 at 5:16 PM, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > Hi Ran > > Line 20 from version 0.1.1 on my PC has the following line: > from ..exceptions import AriaError > > I have downloaded and install

RE: ARIA install on PC

2017-08-15 Thread Steve Baillargeon
; from . import context > File > "C:\Python27\lib\site-packages\aria\orchestrator\context\__init__.py", > line 20, in > from . import workflow, operation > File > "C:\Python27\lib\site-packages\aria\orchestrator\context\workflow.py", > line 23, in > from .exceptions import ContextException > File > "C:\Python27\lib\site-packages\aria\orchestrator\context\exceptions.py > ", > line 20, in > from ..exceptions import OrchestratorError > File > "C:\Python27\lib\site-packages\aria\orchestrator\exceptions.py", > line 20, in > from ..exceptions import OrchestratorError > File "C:\Python27\lib\site-packages\aria\exceptions.py", line 20, in > > from ..exceptions import AriaError > ValueError: Attempted relative import beyond toplevel package > > > Regards > Steve Baillargeon > >

ARIA install on PC

2017-08-14 Thread Steve Baillargeon
aria\orchestrator\context\workflow.py", line 23, in from .exceptions import ContextException File "C:\Python27\lib\site-packages\aria\orchestrator\context\exceptions.py", line 20, in from ..exceptions import OrchestratorError File "C:\Python27\lib\site-packages\aria\orchestrator\exceptions.py", line 20, in from ..exceptions import OrchestratorError File "C:\Python27\lib\site-packages\aria\exceptions.py", line 20, in from ..exceptions import AriaError ValueError: Attempted relative import beyond toplevel package Regards Steve Baillargeon

Import definition for top-level service template

2017-08-10 Thread Steve Baillargeon
Quick questions about YAML 1.0 and substitution mappings In section 2.10.2 where it shows the definition of the top-level service template. The example does not show the import definitions. Can you confirm the top-level service template must import the substituting service template(s)? Will ARIA

ARIA install on MAC

2017-08-14 Thread steve . baillargeon
Hi  I am trying to install ARIA on MACBook Pro. It did not work. See below. Please advise. This is what I have running: - MacOS Sierra - pip version 9.0.1 - Python version 2.7.10 - setuptools 18.5 ( I could not upgrade it) This is the error message I got during ARIA install: > > > Command

RE: [VOTE] Add an 'entry-level' label to some of our Jira issues

2017-07-10 Thread Steve Baillargeon
Hi Do you intend to introduce "other levels" or just one label for beginners? If you only need one level, then maybe it is best to call it "simple" or 'basic"? Hi Avia and Tal, Is it possible to store the quick introduction to TOSCA and theoretical overview for everyone to see? Thanks Steve B

RE: imperative workflows (1.1)

2017-07-04 Thread Steve Baillargeon
Hi Good information. How does the user troubleshoot a Python script that is not properly executed by ARIA NG? Any support for CLI or API to inform client and provide cause/reason for error? -Steve B -Original Message- From: Ran Ziv [mailto:r...@gigaspaces.com] Sent: Tuesday, July 04,

RE: Service Composition / Substitution Mapping

2017-08-08 Thread Steve Baillargeon
Hi I have looked at the data you have provided. I am trying to catch up (understand) to current ARIA support for substitution mapping. What is supported today and what are the limitations/considerations? What is missing (hence the need for full implementation)? Do you have an working example or

RE: Version support for different TOSCA types

2017-08-08 Thread Steve Baillargeon
Hi Tal I see that TOSCA version is optional for all types. Clearly it is not used for "identification purpose". However the definition of the TOSCA version seems to be for a different purpose. Here is a snippet: It is important to provide a reliable, normative means to represent a version

RE: Unique identification of an instance element across services

2017-10-06 Thread Steve Baillargeon
Hi About the UUID. As far as I know and mentioned a number of times, ARIA already support different kinds of ID generation. I have nothing to add on this topic. I would like to focus on the service-template name and the 'already exist' error generated by ARIA when the user submits a

Relationships and Order of Node instantiation

2017-10-02 Thread Steve Baillargeon
Hi What are the normative relationships where ARIA will instantiate the target node before the source node (assuming the install workflow for instance)? Are they DependsOn and HostedOn? Regards Steve B

TOSCA state

2017-10-02 Thread Steve Baillargeon
Hi DJ Does ARIA support the "state" runtime attribute that reflects the actual state of a node instance? Does it get its value and any changes to its value from the IaaS plugin in real-time including push notification? If so, how does it map the IaaS resource state value to the TOSCA node state

RE: Relationships and Order of Node instantiation

2017-10-03 Thread Steve Baillargeon
gree? -Steve -Original Message- From: Tal Liron [mailto:t...@cloudify.co] Sent: Tuesday, October 03, 2017 1:11 PM To: dev@ariatosca.incubator.apache.org Subject: Re: Relationships and Order of Node instantiation On Tue, Oct 3, 2017 at 11:58 AM, Steve Baillargeon < steve.ba

Node Template Substitution

2017-10-04 Thread Steve Baillargeon
Hi Can we have a status update on the availability of the Node Template Substitution feature (aka substitution mappings)? Will it support the "capabilities" defined in YAML Profile 1.0 or YAML Profile 1.2? Regards Steve B

RE: Node Template Substitution

2017-10-13 Thread Steve Baillargeon
unique name is needed to represent such single “service-template” composed of multiple topologies. Is this correct? -Steve -Original Message- From: Steve Baillargeon Sent: Wednesday, October 11, 2017 11:29 AM To: dev@ariatosca.incubator.apache.org Subject: RE: Node Template Substitution

Service-template name

2017-10-13 Thread Steve Baillargeon
Hi When we say service-templates must have unique names, can someone clarify it is applicable for all service-templates including plugin service-templates? Regards Steve B

Selecting and installing a specific stack

2017-09-08 Thread Steve Baillargeon
Hi I have a service template with 2 stacks. Stack 1 has nodes A, B and C. Stack 2 has nodes D, E and F. Both stacks must be defined in the same service template. What is the easiest way to describe a service template allowing the ARIA user/orchestrator to select one of them for instantiation? Is

RE: Openstack plugin

2017-10-02 Thread Steve Baillargeon
What is the purpose of the Validation interface with the creation and deletion operations? What workflow invokes those operations? Thanks Regards Steve B -Original Message- From: D Jayachandran [mailto:d.jayachand...@ericsson.com] Sent: Sunday, October 01, 2017 10:24 AM To:

Renaming the install and uninstall normative workflows

2017-10-03 Thread Steve Baillargeon
Hi The YAML Profile 1.1 has officially named the normative workflows to be: * deploy: is the workflow used to instantiate and perform the initial deployment of the topology. * undeploy: is the workflow used to remove all instances of a topology. I suggest we rename the

RE: Relationships and Order of Node instantiation

2017-10-03 Thread Steve Baillargeon
kflows with whatever ordering you need. But I would guess those are edge cases. Are you encountering an issue or just generally wondering? On Mon, Oct 2, 2017 at 4:55 PM, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > Hi > What are the normative relations

RE: Contribution for https://issues.apache.org/jira/browse/ARIA-118

2017-09-25 Thread Steve Baillargeon
Hi YAML1.0 spec is incorrect for import definitions. YAML1.2 spec has updated the import grammar as follows. It will be great for ARIA to support parts of the YAML1.2 spec soon especially for areas that are corrected. From YAML 1.2 spec: 3.5.8.2 Grammar Import definitions have one the following

ARIA install on virtualenv

2017-09-01 Thread Steve Baillargeon
Hi Ran I have installed virtualenv on PC. Can you send commands to creature a virtualenv and install ARIA in it? Thank you -Steve

RE: Fortigate VNF template

2017-10-11 Thread Steve Baillargeon
Hi DeWayne Thank you for the great example. Two follow-up questions: 1) I don't see the Standard interface definitions for the Openstack related nodes in the main service template (except for private_network_subnet). Did I miss something? 2) Say I want to use cloud-init to inject data (say

RE: Node Template Substitution

2017-10-11 Thread Steve Baillargeon
bstitution Avia, can you please post a link to the design? thanks On Mon, Oct 9, 2017 at 5:14 PM Avia Efrat <a...@cloudify.co> wrote: > Currently the design is finished, and it is on a small hold for now. > The plan is to support the 1.0/1.1 profile. > > On Wed, Oct 4, 2017 a

Attributes

2017-11-14 Thread Steve Baillargeon
The required column for attributes is below. Required = yes --> Mandatory to fill in ? Required = no --> Optional to fill in ? [cid:image001.png@01D35D72.28B74270]

RE: Attributes

2017-11-14 Thread Steve Baillargeon
ame, state) are automatically filled by ARIA, if they are available. Any node type inheriting from tosca.nodes.Root will have them. I'm not sure what you mean by "optional" or "mandatory": there is no way to define attributes that way. See section 3.5.10.2 in the spec. On Tue,

Attributes

2017-11-14 Thread Steve Baillargeon
Hi The YAML spec is confusing about when the service or node instance actually exposes the value of an attribute. Does ARIA always implement and expose the values of all attribute definitions (optional and mandatory) defined in normative types? Related observation: it is very strange that the

Loading Custom Workflows from CSAR

2017-11-28 Thread Steve Baillargeon
Hi As far as I know the implementation string associated with the aria.Workflow type must call or execute a Python function (using the dot notation) that is stored in ARIA, like a plugin. When will it be possible to refer to a .py file stored in the CSAR instead? Do you have any Jira for this

RE: decoupling type definitions from CSAR

2017-11-10 Thread Steve Baillargeon
Hi Vaish I agree. We should also consider the same idea for NFV and ONAP types (as opposed to make them built-in). I suspect those types may get updated without the need to update the ARIA orchestrator version. Is it just a matter of allowing the admin user to load/delete type definitions

RE: attributes

2017-11-16 Thread Steve Baillargeon
Hi A follow-up question. I am trying to understand the meaning of "function" here. Is the solution as simple as defining an attribute (say of type string), skip the attribute assignment in the template and let the plugin decides the "value" for the attribute which can be a calculated value or

Attribute and Property Reflection

2017-11-16 Thread Steve Baillargeon
Hi Does ARIA support "attribute and property reflection" defined in 3.5.10.1? Regards Steve B

RE: Attribute and Property Reflection

2017-11-16 Thread Steve Baillargeon
is not to add any custom prefixes in ARIA, because they would not be portable The TOSCA spec has many authors, and it would be hard to track down the particular one who wrote this sentence... Personally, I think this is an awful and unclear feature. On Thu, Nov 16, 2017 at 2:43 PM, Steve Baillargeon

RE: Attribute and Property Reflection

2017-11-16 Thread Steve Baillargeon
it. On Thu, Nov 16, 2017 at 1:42 PM, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > Hi > Does ARIA support "attribute and property reflection" defined in 3.5.10.1? > > Regards > Steve B > >

RE: Attribute and Property Reflection

2017-11-16 Thread Steve Baillargeon
this feature. On Thu, Nov 16, 2017 at 2:12 PM, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > I see the following text in the JIRA: > According to the TOSCA 1.0 spec, property value should be 'exposed', > with the same name, as attributes. > > Does the spec really say

Multiple local storages for Compute Node Template

2017-11-02 Thread Steve Baillargeon
Hi Is this a valid set of requirement assignments for a node template of type Compute? All have the same requirement assignment name (as per Compute Node Type definition) but pointing to different node template names. requirements: - local_storage: my_storage_1 - local_storage: my_storage_2

Implementation Artifact Override

2017-11-07 Thread Steve Baillargeon
: cloudify-openstack-plugin > nova_plugin.server.create topology_template: node_templates: fortigate_vnf: type: aria.openstack.nodes.Server interfaces: Standard: create: implementation: my_script.py Regards Steve Baillargeon

Support for namespace prefix

2017-11-08 Thread Steve Baillargeon
Hi Say I have a topology template using the following node templates: * Node A from type tosca.nodes.Compute --> This is the TOSCA standard Compute node type. The tosca namespace prefix is not explicitly used here. * Node B from type abc: tosca.nodes.Compute --> This is an imported

RE: Node Template Substitution

2017-12-07 Thread Steve Baillargeon
, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > Hi Avia > One more question. > > Say we have a CSAR that contains multiple TOSCA YAML files e.g. a > top-level ST and a bunch of low-level STs. > I am assuming all those TOSCA service templates (all of them have a

Abstract Node Template Matching

2017-12-11 Thread Steve Baillargeon
Hi I just read section 14.3 called Abstract Node Matching in latest YAML Profile 1.2. It is also applicable to YAML Profile 1.0. All of the examples in section 14.3 do NOT involve any topology substitution. Basically the spec states the orchestrator MUST to do its best to replace an abstract

RE: Note template names

2017-10-24 Thread Steve Baillargeon
t;>> >>> In other words, the requirements-and-capabilities matching occurs >>> only after all imports were done and the final service template is valid. >>> >>> On Mon, Oct 23, 2017 at 10:45 AM, Steve Baillargeon < >>> steve.bailla

Version for Type Definitions Documents

2017-10-24 Thread Steve Baillargeon
the specification keyname in the _extension section for each type definition. What do you think? Regards Steve Baillargeon

RE: Version for Type Definitions Documents

2017-10-24 Thread Steve Baillargeon
nformation. Is is entirely internal to ARIA, as are all these YAML files. On Tue, Oct 24, 2017 at 5:12 PM, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > Hi > I currently see a YAML document called tosca-simple-1.0.yaml that > imports the following files: &g

RE: Contribution for https://issues.apache.org/jira/browse/ARIA-118

2017-10-31 Thread Steve Baillargeon
.2.) > > > On Tue, Sep 26, 2017 at 1:06 AM, D Jayachandran < > d.jayachand...@ericsson.com > > wrote: > > > Hi Tal, > > > > Are we looking at the below syntax for plugins, with the changes in > > YAML > > 1.1 > > > > Imports: > > - f

Defining a Metadata keyname as a list?

2017-10-30 Thread Steve Baillargeon
Hi The metadata section is defined as a map where each entry has a keyname and value. Example: : ... : Can I further define a metadata keyname as a list of values ? Example: : : [, ,...] Regards Steve B

Note template names

2017-10-19 Thread Steve Baillargeon
Hi Node template names must be unique within a given service template. What about the case when ST1 imports ST2 as follows. ST1 has 2 node templates: template A derived from node type X and template B derived from node type Y. ST2 has 1 node template: template A derived from node type Z . Will

Definition names

2017-10-26 Thread Steve Baillargeon
Hi The TOSCA YAML Profile is not 100% clear about duplicate definitions names. What are the guidelines for ARIA? Should all definitions names be unique across definitions "classes" (attributes, properties, requirements, capabilities,...) within a given node type definition? Or is it OK to only

RE: Definition names

2017-10-26 Thread Steve Baillargeon
definition the requirement is unique per node type. ARIA treats the requirements sequenced list in the node type the same way the YAML parser treats keys in a dict: if there is a key of the same name, it will overwrite a previous key of that name. On Thu, Oct 26, 2017 at 1:04 PM, Steve B

RE: Note template names

2017-10-23 Thread Steve Baillargeon
, Steve Baillargeon < steve.baillarg...@ericsson.com> wrote: > Node template names must be unique within a given service template. > Yes. Actually, there is an "interesting" issue with this: in YAML, a dict could have multiple keys with the same name. Wha

[aria] TOSCA YAML Profile version and Support for Topology Substitution

2018-03-25 Thread Steve Baillargeon
Hi Tom Sorry I lost track of the plans if any for supporting topology substitution defined in TOSCA YAML Profile 1.0 and TOSCA YAML Profile 1.0 (all features). Here are a few questions: - Can you confirm all versions of ARIA up to the latest release (i.e. apache-ariatosca 0.2.0) only support