GithubHelp home page GithubHelp logo

View of a list of Server Profiles available in the system indicating which all are associated with servers about manageiq-providers-cisco_intersight HOT 6 CLOSED

alescernivec avatar alescernivec commented on June 18, 2024
View of a list of Server Profiles available in the system indicating which all are associated with servers

from manageiq-providers-cisco_intersight.

Comments (6)

agrare avatar agrare commented on June 18, 2024 1

Hey @alescernivec

Here is an example of creating a table with some references to other collections https://github.com/ManageIQ/manageiq-schema/pull/537/files#diff-d35730e8bff171e8f82edbc4d2097cb6fe3f70681f951d7b3f3c2f395b508c25R1-R17
https://guides.rubyonrails.org/active_record_migrations.html is good to understand as well.
Once committed migrations are run by doing rails db:migrate (this is done automatically by bin/update)

from manageiq-providers-cisco_intersight.

alescernivec avatar alescernivec commented on June 18, 2024

@agrare - we had a discussion regarding this in the last call. I believe that you mentioned VMWare's provider's collections. Could you please point us to these? Are there any collections we could reuse here?

from manageiq-providers-cisco_intersight.

agrare avatar agrare commented on June 18, 2024

Thanks @alescernivec I'm reviewing the docs that you posted and will update in a bit

from manageiq-providers-cisco_intersight.

agrare avatar agrare commented on June 18, 2024

Hey @alescernivec sorry for the delay. So a server profile isn't just a "oneshot" configuration during provisioning, but rather stays with the server over its lifetime? (per "Server Profile Drift" section) In that case it doesn't sound like a ConfigurationSpec which is only using once during initial provisioning.

Creating a new table / model for a PhysicalServerProfile sounds like the way to go here, this would also allow us to perform the redeploy operation if a server changes away from the profile.

from manageiq-providers-cisco_intersight.

alescernivec avatar alescernivec commented on June 18, 2024

Thank you, @agrare! Correct, it is not just a oneshot configuration, it has its lifecycle and could be in different states, as you have pointed out. We are looking towards extending the table/model but we have some problems with this (e.g. all the needed changes in the models, and how to force the migration, so that the tables are created in the databases with all the needed relations). Any documentation/reference would be much appreciated on this.Thanks again!

from manageiq-providers-cisco_intersight.

alescernivec avatar alescernivec commented on June 18, 2024

Resolved in #42

from manageiq-providers-cisco_intersight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.