Skip to content

Instantly share code, notes, and snippets.

@ahogen
Last active April 6, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahogen/b57bbc60193cbc807b889d0f1c15e0a4 to your computer and use it in GitHub Desktop.
Save ahogen/b57bbc60193cbc807b889d0f1c15e0a4 to your computer and use it in GitHub Desktop.

PlantUML Graph [link]

@startuml
INIT_BRIDGE : updateRoleDisabledTree()

ROLE_SELECTION : clearReselectTree()
ROLE_SELECTION : updateRolesTree()
ROLE_SELECTION : setSelectedTree()

note as N1
  IEEE Std. 802.1AS-2011 clause 10.3.12.2
  
  PortRoleSelection state machine
end note


[*] --> INIT_BRIDGE

INIT_BRIDGE --> ROLE_SELECTION : UCT
ROLE_SELECTION -->ROLE_SELECTION : reselect[1] || reselect[2] || ... || reselect[N]
@enduml

Mermaid Graph [link]

graph TD

A["INIT_BRIDGE <hr><br> updtRoleDisabledTree()"]

B["ROLE_SELECTION <hr><br>clearReselectTree()<br>updateRolesTree()<br> setSelectedTree()"]

%%
%% Flow chart start
%%

S((BEGIN)) --> A

A -->|UCT| B

B --> |"Reselect[1] || reselect[2] || ... || reselect[N]"|B

cmt["IEEE Std. 802.1AS-2011 clause 10.3.12.2<br><br>PortRoleSelection state machine"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment