How to model reusable computer configurations in Enterprise Architect deployment model

自闭症网瘾萝莉.ら 提交于 2019-12-12 00:03:28

问题


I am on Enterprise Architect 13.5, creating a deployment diagram. I would like to define templates of servers that are always the same, e.g. with a specific processor, RAM, hard disks, and ideally also operating system.

I would then like to reuse this type of template in several deployment diagrams where we are using the same types of computers. When we decide to change the types of computers (e.g. newer OS or more RAM), I would like to update a single place only and all computers instantiated from the template should update automatically.

What I have tried:

  • Model my template as a node
  • Define the properties (RAM, processor, etc.) as the nodes' attributes with an initial value
  • Adding OS as a child execution environment to the node
  • Creating instances of this node whenever I want to use that type of computer in a diagram

However, this does not achieve the desired result since the initial attribute values are not shown on the instance, and also the execution environment is not part of the instance.

Any other ideas?


回答1:


Actually there are many ways which would be favored by yet unknown circumstances. However, here's a way with tagged values. If you add a TV to a Node and instantiate it, it will be inherited and you can override the value (here 2G instead of 1G).

I have turned on to show tags in the diagram

So that's probably a way. However, this is EA. When you create a new instance you will not see the inherited tag:

To make the inherited tag visible you have to turn it on in the element Features&Properties/...Visibility context (make sure the Tags option is checked as well):

Which then yields



来源:https://stackoverflow.com/questions/53328217/how-to-model-reusable-computer-configurations-in-enterprise-architect-deployment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!