'Download plantuml from http://plantuml.sourceforge.net/ 'Generate png with java -jar plantuml.jar 'Output in img/.png 'If Java spits out memory error increase heap size with java -Xmx1024m -jar plantuml.jar @startuml img/topology.png hide empty fields hide empty methods hide <> circle hide <> circle hide <> circle hide <> stereotype hide <> circle page 1x1 Title topology note top of topology_topology : Namespace: urn:topology \nPrefix: topology \nOrganization : \nCTTC \nContact : \nricard.vilalta@cttc.es \nRevision : 2018-08-24 \n package "topology:topology" as topology_topology { class "topology" as topology << (M, #33CCFF) module>> enum "layer-protocol-name" as topology_I_layer_protocol_name { ETH OPTICAL } class "port" as topology_I_port_grouping <<(G,Lime) grouping>> topology_I_port_grouping : port-id : string topology_I_port_grouping : layer-protocol-name : layer-protocol-name class "node" as topology_I_node_grouping <<(G,Lime) grouping>> topology_I_node_grouping : node-id : string class "port" as topology_I_node_I_port << (L, #FF7700) list>> topology_I_node_grouping *-- "0..N" topology_I_node_I_port topology_I_node_I_port : port {uses} class "link" as topology_I_link_grouping <<(G,Lime) grouping>> topology_I_link_grouping : link-id : string topology_I_link_grouping : source-node : leafref : /topology/node/node-id topology_I_link_grouping : target-node : leafref : /topology/node/node-id topology_I_link_grouping : source-port : leafref : /topology/node/port/port-id topology_I_link_grouping : target-port : leafref : /topology/node/port/port-id class "topology" as topology_I_topology_grouping <<(G,Lime) grouping>> class "node" as topology_I_topology_I_node << (L, #FF7700) list>> topology_I_topology_grouping *-- "0..N" topology_I_topology_I_node topology_I_topology_I_node : node {uses} class "link" as topology_I_topology_I_link << (L, #FF7700) list>> topology_I_topology_grouping *-- "0..N" topology_I_topology_I_link topology_I_topology_I_link : link {uses} class "topology" as topology_I_topology <> topology *-- "1" topology_I_topology topology_I_topology : topology {uses} } topology_I_node_I_port --> topology_I_port_grouping : uses topology_I_topology_I_node --> topology_I_node_grouping : uses topology_I_topology_I_link --> topology_I_link_grouping : uses topology_I_topology --> topology_I_topology_grouping : uses center footer UML Generated : 2022-10-10 17:35 endfooter @enduml