Feature: Ability to define tags in deployment.yaml

Bug #1481385 reported by Dave Chiluk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-deployer
New
Wishlist
Unassigned

Bug Description

It would be nice to be able to define tags in deployment.yaml *(both xpath and trivial ones).

Revision history for this message
Billy Olsen (billy-olsen) wrote :

Note: this is different than the specified tag. Each node can already have a specific tag attached to it. Adding in general tag support to the maas section allows for richer xpath tags etc.

Changed in maas-deployer:
importance: Undecided → Wishlist
Revision history for this message
Edward Hope-Morley (hopem) wrote :
Revision history for this message
Felipe Reyes (freyes) wrote :

The deployment.yaml could look like this:

demo-maas:
  ...
  maas:
    ...
    tags:
      - name: gpu
        comment: 'GPU with clock speed >1GHz for running CUDA type operations.' # optional
        definition: '//node[@id="display"]/clock > 1000000000'
      - ...

Thoughts?

Revision history for this message
Dave Chiluk (chiluk) wrote :

    {
        "comment": "Ceph Nodes",
        "definition": "count(//node[starts-with(@id,\"disk\") and @class=\"disk\"]) >= 8",
        "resource_uri": "/MAAS/api/1.0/tags/9disk/",
        "name": "9disk",
        "kernel_opts": ""
    },

Here's an example of our more complicated xpath tag.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.