Skip to main content

Variable Data Custom Field

Completed

Comments

6 comments

  • Raj Jalan

    Hi Geoffrey,

    There are couple of ways you can do this. One is to add the facts as individual custom fields and then using include_cols=custom_fields for the device to get all the custom fields. Obvious issue is with that is that you will possibly have other custom fields in there. Better way will be use the notes field for a particular custom field as shown below. If you pass the device name, key as ansible_facts (example) and the notes as the json for what you want to store. Then in the custom fields data for a device, you can parse the key called ansible_facts (or whatever else you choose to call it).

    ?name=media_1436408817113.png

    ?name=media_1436408912228.png

    On a side note, we are thinking about how we can make Device42 work better with orchestration tools. For example, we recently released a Chef sync script: https://github.com/device42/chef_to_device42_sync_py
    I will send a private note to you to discuss this further on how we can integrate better with ansible.

    0
  • Geoffrey Wagner

    Any update on this?  We had discussed a JSON type over the phone, and i have not seen one show up in any of the recent patch notes.

    0
  • Raj Jalan

    Hi Geoffrey,

    Sorry, no update yet. We are working on a 64 bit version of the vApp and we will look into this after that is out.

    Thanks,

    Raj

     

    0
  • Geoffrey Wagner

    Just checking in to see if you guys have thought about this feature at all?

    0
  • Raj Jalan

    Hi Geoff,

    There have been few discussions, but we haven't made any changes around it yet. We will be making some changes around application components and adding json fields for some config data etc. That is being worked on currently and it might solve what you are looking to do. We are thinking about this from both data collection and also automation tool perspective. 

    0
  • Geoffrey Wagner

    Sweet.  Thanks for the update!

    0

Please sign in to leave a comment.