N°8515 - Add CMDB datamodel for Docker and Kubernetes#787
Conversation
datamodels/2.x/itop-container-mgmt/dictionaries/fr.dict.itop-container-mgmt.php
Outdated
Show resolved
Hide resolved
datamodels/2.x/itop-container-mgmt/dictionaries/fr.dict.itop-container-mgmt.php
Outdated
Show resolved
Hide resolved
|
To me the link from |
The name of 'ContainerApplication' is the most subject to discussion, at a point of time, I was about to name it Deployment. |
Co-authored-by: Stephen Abello <stephen.abello@combodo.com>
Co-authored-by: Stephen Abello <stephen.abello@combodo.com>
|
Wait, so what is the meaning of About the And does one of the objects represent that a container is actually running on one of the hosts/cluster? (I thought that would be what |
|
We don't model in iTop what is actually running on any of the host. |
|
Okay, I think I get it. But then again, why does the An image could be used in/for multiple deployments. Where a deployment would indeed also have multiple images. Then, maybe it should be a N:N relation? PS: |
datamodels/2.x/itop-container-mgmt/data/en_us.data.itop-container-type.xml
Show resolved
Hide resolved
Any information related to the way a particular container image should be deployed on the Hosts/Cluster is not something I want to have in the model, because it is way to dependent on the technology. Maybe a file attribute 'Deployment recipe' on the ContainerApplication? |
So in this regards, a
See for example the tags for the iTop image we created at Super-Visions. What I named
I Agree with that, only I don't know where you're referring to or to what you are replying to here? |
|
Just a general thought: How is the decision taken what should be in iTop core vs. extensions? Besides that, happy to see this available! |
Well, for me a ContainerImage is a reference of this kind of images, there is no 'hash' nor 'digest' string, and maybe we should, but the url is supposed to be the full path to that image, something like "https://hub.docker.com/layers/supervisions/itop/2.7.13/images/sha256-754eb1f7b671a306432f92a14a80ddc4dac556e8809201e848df5e21305f6beb". |
|
Okay, thanks. So my question I already asked a few times before is still relevant then: |
|
I suppose that you refer implicitly to Database normalization. |
|
I would urge to reconsider the choice made now that it is still possible. I foresee this to be more a pain in the ass when using this datamodel as a base for future extensions (Docker, Kubernetes, ... specifics) than what it currently solves (easier documenting deployments). |
Hipska
left a comment
There was a problem hiding this comment.
This starts to look good 👍 Some comments..
datamodels/2.x/itop-container-mgmt/module.itop-container-mgmt.php
Outdated
Show resolved
Hide resolved
datamodels/2.x/itop-container-mgmt/data/en_us.data.itop-container-type.xml
Outdated
Show resolved
Hide resolved
datamodels/2.x/itop-virtualization-mgmt/dictionaries/en_gb.dict.itop-virtualization-mgmt.php
Outdated
Show resolved
Hide resolved
| Dict::Add('EN US', 'English', 'English', [ | ||
| 'Class:LogicalInterface/Attribute:org_id' => 'Organization', | ||
| 'Class:LogicalInterface/Attribute:org_id+' => '', | ||
| ]); No newline at end of file |
There was a problem hiding this comment.
Please add a newline at the end of each file.
There was a problem hiding this comment.
I did it but what is the purpose ?
There was a problem hiding this comment.
You added 2 extra newlines 😛 that has indeed no use.
A single eol is best practice and doesn’t mess things up when handling files in commandline or programmatically.
datamodels/2.x/itop-virtualization-mgmt/dictionaries/en.dict.itop-virtualization-mgmt.php
Show resolved
Hide resolved
datamodels/2.x/itop-virtualization-mgmt/dictionaries/fr.dict.itop-virtualization-mgmt.php
Show resolved
Hide resolved
| ]); | ||
|
|
||
| // | ||
| // Class Container Image |
There was a problem hiding this comment.
Consistent description, same for all other occurrences.
| // Class Container Image | |
| // Class: ContainerImage |
There was a problem hiding this comment.
Why do you want this ?
There was a problem hiding this comment.
Consistency with all other occurrences. I thought this was the guideline.
datamodels/2.x/itop-container-mgmt/dictionaries/en.dict.itop-container-mgmt.php
Show resolved
Hide resolved
datamodels/2.x/itop-virtualization-mgmt/dictionaries/nl.dict.itop-virtualization-mgmt.php
Outdated
Show resolved
Hide resolved
…t.itop-virtualization-mgmt.php Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
Base information
Objective (enhancement)
Document containerization in iTop CMDB as an installation option
It's mainly XML datamodel, with very little coded behavior
Checklist before requesting a review
Checklist of things to do before PR is ready to merge