Child pages
  • XOR vs. CHOICE Modelling

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In an IETF context the connectivity matrix is for the same purpose.

2023-05-26 IISOMI Meeting Minutes

XOR in UML means: One and only one of the alternatives need to be used.
Choice in YANG allows also to have non of the alternatives if optional.

YANG does also allow to define a kind of "xor" using containers with when statements that are mutually exclusive.
This could be defined in UML using conditional relationships with mutually exclusive conditions; i.e., without using the xor-constraint in UML.