OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Enhancements to the TOSCA data filtering abilities


Hi,

 

I agree that we should use condition clauses in the node_filter instead of constraint clauses. This will allow us to put an âorâ or a ânotâ in front of several attributes.

Moreover, by using the âdirect assertion definitionâ when specifying it, the condition clause becomes undistinguishable from a constraint clause. Which means that all the existing specifications stay valid. We just add the possibility to put an âandâ âorâ or ânotâ before several properties/attributes, from now on.

 

Also within the constraint clause it is useful to have âorâ and ânotâ to be able to express better constraints. This is simple, just by adding the âandâ, âorâ, and ânotâ to the constraints keyword tables. Again, this will extend the constraint clause, with all that is already written staying valid.

 

The only thing that we still cannot do within a node_filter is to have an âorâ between normal properties and properties within a capability definition. But this is a small price to pay for backwards compatibility.

 

The changes in the document should be immediate and straightforward. I could help to write it.

 

BR,

/Calin

 

From: Chris Lauwers <lauwers@ubicity.com>
Date: Wednesday, 12 December 2018 at 03:26
To: "Katzman, Anatoly" <ak435s@intl.att.com>, Calin Curescu <calin.curescu@ericsson.com>, "NOSHPITZ, CLAUDE" <cn5542@att.com>, "alex.vul@intel.com" <alex.vul@intel.com>, Arturo Martin De Nicolas <arturo.martin-de-nicolas@ericsson.com>, "lishitao@huawei.com" <lishitao@huawei.com>, "ljlamers@vmware.com" <ljlamers@vmware.com>, "mrutkows@us.ibm.com" <mrutkows@us.ibm.com>, "Paul.Lipton@ca.com" <Paul.Lipton@ca.com>, "priya.g@netcracker.com" <priya.g@netcracker.com>, Steve Baillargeon <steve.baillargeon@ericsson.com>, "thinh.nguyenphu@nokia.com" <thinh.nguyenphu@nokia.com>, "dmytro.gassanov@NetCracker.com" <dmytro.gassanov@netcracker.com>, "don.deel@netapp.com" <don.deel@netapp.com>, "dpalma@vnomic.com" <dpalma@vnomic.com>, "SHADMI, DAVID" <ds200p@att.com>, "hsurti@cisco.com" <hsurti@cisco.com>, "ifat.afek@alcatel-lucent.com" <ifat.afek@alcatel-lucent.com>, "JDurand@us.fujitsu.com" <JDurand@us.fujitsu.com>, "jeremy@gigaspaces.com" <jeremy@gigaspaces.com>, "jim.hunter@ca.com" <jim.hunter@ca.com>, "jpackett@us.ibm.com" <jpackett@us.ibm.com>, "kraman@redhat.com" <kraman@redhat.com>, "luca.gioppo@csi.it" <luca.gioppo@csi.it>, "rpenta@redhat.com" <rpenta@redhat.com>, "xavier.degenne@fastconnect.fr" <xavier.degenne@fastconnect.fr>, "zhao.huabing@zte.com.cn" <zhao.huabing@zte.com.cn>
Cc: "tosca@lists.oasis-open.org" <tosca@lists.oasis-open.org>
Subject: RE: Enhancements to the TOSCA data filtering abilities

 

By the way, as I think about this more, it seems to me that there is no reason why node filters should use condition clauses (rather than constraint clauses). For example, if I wanted a node filter that says: âI want a Ubuntu host with 8G of memory or a CentOS host with 4G of memoryâ. I donât think I can express that using just constraint clauses (even when we add Boolean operators to constraints) since we need constraints that combine multiple properties. Using condition clauses in node filters would solve this problem.

 

Thanks,

 

Chris

 

From: Katzman, Anatoly <ak435s@intl.att.com>
Sent: Sunday, September 23, 2018 6:20 AM
To: Calin Curescu <calin.curescu@ericsson.com>; Chris Lauwers <lauwers@ubicity.com>; NOSHPITZ, CLAUDE <cn5542@att.com>; alex.vul@intel.com; Arturo Martin De Nicolas <arturo.martin-de-nicolas@ericsson.com>; lishitao@huawei.com; ljlamers@vmware.com; mrutkows@us.ibm.com; Paul.Lipton@ca.com; priya.g@netcracker.com; Steve Baillargeon <steve.baillargeon@ericsson.com>; thinh.nguyenphu@nokia.com; dmytro.gassanov@NetCracker.com; don.deel@netapp.com; dpalma@vnomic.com; SHADMI, DAVID <ds200p@att.com>; hsurti@cisco.com; ifat.afek@alcatel-lucent.com; JDurand@us.fujitsu.com; jeremy@gigaspaces.com; jim.hunter@ca.com; jpackett@us.ibm.com; kraman@redhat.com; luca.gioppo@csi.it; rpenta@redhat.com; xavier.degenne@fastconnect.fr; zhao.huabing@zte.com.cn
Subject: RE: Enhancements to the TOSCA data filtering abilities

 

Hi Calin,

Thank you for the feedback, really encouraging.

 

Regarding the new self-reflecting attributes â I think it is a good addition and that it deserves a separate proposal and a separate discussion thread 😊

 

On the sub-property targeting syntax, âmapâ vs âlistâ:

The map option crossed my mind when I was working on the proposal, but I have intentionally chosen the list, and this is why:

  1. The list syntax is consistent with what we already have in functions get_input (4.4.1), get_property (4.4.2) and get_attribute (4.5.1)
  2. The list syntax is much more extendable and more suits my future proposals that I have not yet disclosed. A spoiler: a list item could be extended from what we have now (just a sub-property name or index) to a more advanced selection _expression_ with terms like ANY, ALL, MATCH(pattern), etc.

 

I was also going to propose changes in the data type definition syntax to allow laconic refinement of deeply buried sub-properties:

data_types:

  VirtualCpuWithStaticPinning:

    derived_from: tosca.datatypes.nfv.VirtualCpu

    properties:

      [virtual_cpu_pinning, cpu_pinning_policy]:

        constraints:

          - equal: static

 

Well, we have a lot to discuss.

 

Looking forward to our future meetings,

 

Anatoly

 

 

From: Calin Curescu <calin.curescu@ericsson.com>
Sent: Wednesday, September 19, 2018 9:56 AM
To: Katzman, Anatoly <ak435s@intl.att.com>; Chris Lauwers <lauwers@ubicity.com>; NOSHPITZ, CLAUDE <cn5542@att.com>; alex.vul@intel.com; Arturo Martin De Nicolas <arturo.martin-de-nicolas@ericsson.com>; lishitao@huawei.com; ljlamers@vmware.com; mrutkows@us.ibm.com; Paul.Lipton@ca.com; priya.g@netcracker.com; Steve Baillargeon <steve.baillargeon@ericsson.com>; thinh.nguyenphu@nokia.com; dmytro.gassanov@NetCracker.com; don.deel@netapp.com; dpalma@vnomic.com; SHADMI, DAVID <ds200p@att.com>; hsurti@cisco.com; ifat.afek@alcatel-lucent.com; JDurand@us.fujitsu.com; jeremy@gigaspaces.com; jim.hunter@ca.com; jpackett@us.ibm.com; kraman@redhat.com; luca.gioppo@csi.it; rpenta@redhat.com; xavier.degenne@fastconnect.fr; zhao.huabing@zte.com.cn
Subject: RE: Enhancements to the TOSCA data filtering abilities

 

Hi Anatoly,

I fully support your proposed changes.

 

I have a suggestion for the format of proposal #3 syntax. Instead of:

 

Node_templates:

  function_01:

    type: MyFunction

    requirements:

      - compute:

          node_filter:

            capabilities:

              - tosca.capabilities.nfv.VirtualCompute:

                  properties:

                    [virtual_cpu, virtual_cpu_pinning, cpu_pinning_policy]:

                      - equal: static

 

I would propose:

 

Node_templates:

  function_01:

    type: MyFunction

    requirements:

      - compute:

          node_filter:

            capabilities:

              - tosca.capabilities.nfv.VirtualCompute:

                  properties:

                    virtual_cpu:

                      virtual_cpu_pinning:

                        cpu_pinning_policy:

                          - equal: static

 

That would be the same hierarchy, but when (and only when) descending through datatypes we would have the option to omit the âproperties:â keyname in the hierarchy to make the structure more readable.

 

NOTE also that the same hierarchy as above could be used in the refinement proposal of Chris, when we want to refine a property deeply buried in another set of complex properties.

 

I would also propose to extend the self-reflecting attributes of TOSCA node and relationship template to contain:

  • âtosca_typeâ,
    • for both nodes and relationships
    • to be able to filter out (in a workflow step) this node if it is of a specific type
  • âtosca_requirement_nameâ
    • for relationships
    • to be able to filter out (in a workflow step) this relationship if it has been created to fulfill a requirement with a specific symbolic name (which is almost always the case)
  • âtosca_requirement_indexâ
    • for relationships
    • only pending to the outcome of discussions if a requirement occurrences should be assigned a specific index

 

 

BR,

/Calin

 

 

 

From: Chris Lauwers <lauwers@ubicity.com>
Date: Monday, 3 September 2018 at 06:26
To: "KATZMAN, ANATOLY" <ak435s@intl.att.com>, "NOSHPITZ, CLAUDE" <cn5542@att.com>, "alex.vul@intel.com" <alex.vul@intel.com>, Arturo Martin De Nicolas <arturo.martin-de-nicolas@ericsson.com>, Calin Curescu <calin.curescu@ericsson.com>, "lishitao@huawei.com" <lishitao@huawei.com>, "ljlamers@vmware.com" <ljlamers@vmware.com>, "mrutkows@us.ibm.com" <mrutkows@us.ibm.com>, "Paul.Lipton@ca.com" <Paul.Lipton@ca.com>, "priya.g@netcracker.com" <priya.g@netcracker.com>, Steve Baillargeon <steve.baillargeon@ericsson.com>, "thinh.nguyenphu@nokia.com" <thinh.nguyenphu@nokia.com>, "dmytro.gassanov@NetCracker.com" <dmytro.gassanov@netcracker.com>, "don.deel@netapp.com" <don.deel@netapp.com>, "dpalma@vnomic.com" <dpalma@vnomic.com>, "SHADMI, DAVID" <ds200p@att.com>, "hsurti@cisco.com" <hsurti@cisco.com>, "ifat.afek@alcatel-lucent.com" <ifat.afek@alcatel-lucent.com>, "JDurand@us.fujitsu.com" <JDurand@us.fujitsu.com>, "jeremy@gigaspaces.com" <jeremy@gigaspaces.com>, "jim.hunter@ca.com" <jim.hunter@ca.com>, "jpackett@us.ibm.com" <jpackett@us.ibm.com>, "kraman@redhat.com" <kraman@redhat.com>, "luca.gioppo@csi.it" <luca.gioppo@csi.it>, "rpenta@redhat.com" <rpenta@redhat.com>, "xavier.degenne@fastconnect.fr" <xavier.degenne@fastconnect.fr>, "zhao.huabing@zte.com.cn" <zhao.huabing@zte.com.cn>
Cc: Chris Lauwers <lauwers@ubicity.com>
Subject: RE: Agenda for this week's TOSCA Simple Profile meeting

 

We obviously need to discuss the specifics in detail, but in general I fully support these types of enhancements as proposed by Anatoly.

 

Chris

 

From: Katzman, Anatoly <ak435s@intl.att.com>
Sent: Sunday, September 02, 2018 10:31 AM
To: NOSHPITZ, CLAUDE <cn5542@att.com>; alex.vul@intel.com; arturo.martin-de-nicolas@ericsson.com; calin.curescu@ericsson.com; Chris Lauwers <lauwers@ubicity.com>; lishitao@huawei.com; ljlamers@vmware.com; mrutkows@us.ibm.com; Paul.Lipton@ca.com; priya.g@netcracker.com; steve.baillargeon@ericsson.com; thinh.nguyenphu@nokia.com; dmytro.gassanov@NetCracker.com; don.deel@netapp.com; dpalma@vnomic.com; SHADMI, DAVID <ds200p@att.com>; hsurti@cisco.com; ifat.afek@alcatel-lucent.com; JDurand@us.fujitsu.com; jeremy@gigaspaces.com; jim.hunter@ca.com; jpackett@us.ibm.com; kraman@redhat.com; luca.gioppo@csi.it; rpenta@redhat.com; xavier.degenne@fastconnect.fr; zhao.huabing@zte.com.cn
Subject: RE: Agenda for this week's TOSCA Simple Profile meeting

 

Claude, all,

 

In addition to these topics, I would also like to submit for discussion on the WG forum a set of enhancements to the existing TOSCA syntax for conditions and constraints. The attached document contains the details. The document is probably far from perfect, but I believe that even in its current form it makes a good basis for the further discussion.

 

Of course, it is up to the forum to decide on the priority of this new topic in our backlog.

 

Regards,

 

Anatoly

 

From: NOSHPITZ, CLAUDE
Sent: Tuesday, August 28, 2018 6:42 PM
To: Katzman, Anatoly <ak435s@intl.att.com>; alex.vul@intel.com; arturo.martin-de-nicolas@ericsson.com; calin.curescu@ericsson.com; NOSHPITZ, CLAUDE <cn5542@att.com>; lauwers@ubicity.com; lishitao@huawei.com; ljlamers@vmware.com; mrutkows@us.ibm.com; Paul.Lipton@ca.com; priya.g@netcracker.com; steve.baillargeon@ericsson.com; thinh.nguyenphu@nokia.com; dmytro.gassanov@NetCracker.com; don.deel@netapp.com; dpalma@vnomic.com; SHADMI, DAVID <ds200p@att.com>; hsurti@cisco.com; ifat.afek@alcatel-lucent.com; JDurand@us.fujitsu.com; jeremy@gigaspaces.com; jim.hunter@ca.com; jpackett@us.ibm.com; kraman@redhat.com; luca.gioppo@csi.it; rpenta@redhat.com; xavier.degenne@fastconnect.fr; zhao.huabing@zte.com.cn
Subject: Agenda for this week's TOSCA Simple Profile meeting

 

TOSCA Simple Profile for YAML

Discussion topics for 2018-08-28:

 

  • Thinhâs request to backport get-inputs enhancements from 1.3 to 1.2 for IFA/SOL alignment, or freeze the 1.3 definition for early adoption by ETSI workstreams
  • Finalize derived-type property semantics (from last week): this should be ok as discussed, letâs check.
  • Requirements and capabilities types: aligning ETSI-IFA requirements/assumptions with Simple Profile

 

If time allows, otherwise for future meetings:

  • Policy: events, triggers, and actions
  • OS Container use case/structure (would this lead to an âevolvingâ normative type for 1.3?)

 

Thanks.

 

--Claude



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]