MiamiOH / foreman_teamdynamix

A Foreman Plugin for TeamDynamix
GNU General Public License v3.0
1 stars 1 forks source link

Create TD Asset when Host is created in Foreman #5

Closed edestecd closed 6 years ago

edestecd commented 7 years ago

Use the TD api and read username/password from yaml file.

nipendar commented 6 years ago

Definition

edestecd commented 6 years ago

Rails has after hooks for create to do such things: http://guides.rubyonrails.org/active_record_callbacks.html

edestecd commented 6 years ago

We want to store the fqdn or a uniqueid in TD so a url can be generated back to foreman. We also want to create a new field for hosts in Foreman to store the Asset uniqueid in TeamDynamix so we can reference the TD asset later for display etc.

nipendar commented 6 years ago
  1. We want to store the fqdn or a uniqueid in TD so a url can be generated back to foreman.
    • saved as Serial number and Name field
  2. new field added as td_asset_id