Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UML modeling of an augmentation containing directly a "list" statement #10

Open
bzeuner opened this issue Dec 18, 2018 · 4 comments
Open

Comments

@bzeuner
Copy link
Contributor

bzeuner commented Dec 18, 2018

The «Specify» abstraction association in UML is mapped to an "augment" statement in YANG. Since the abstraction association does not have a multiplicity, it is not possible to define that the specifying object class has a multiplicity of e.g., [*].

See following example from ieee802-dot1q-cfm-bridge:

greenshot

The corresponding YANG specification is:

greenshot

@nigel-r-davis
Copy link
Contributor

On the IISOMI call 19 Dec 2018, it was suggested that the presence of a "partOfObjectKey" key stereotypes against at least one attribute in the class indicates a list. If there is no "partOfObjectKey present in the class then this indicates a container. This was not agreed and will be discussed further on the next IISOMI call.

@karthik-sethuraman
Copy link
Collaborator

karthik-sethuraman commented Dec 19, 2018 via email

@XingZhao-CATR
Copy link
Contributor

Karthik's solution: in UML OpenModel_profile, rename <> to <> stereotype to add the mutiplicity and no longer use abstraction.

@kamlam
Copy link

kamlam commented Aug 7, 2019

Xing supposes to type:
Karthik's solution: in UML OpenModel_profile, rename the "specify" stereotype to "augment" to add the mutiplicity and no longer use abstraction. Somehow, text within the double angle bracket << and >> got lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants