...
PlantUML Macro |
---|
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Copyright 2020 highstreet technologies GmbH ' Licensed under the Apache License, Version 2.0 (the "License"); ' you may not use this file except in compliance with the License. ' You may obtain a copy of the License at ' ' http://www.apache.org/licenses/LICENSE-2.0 ' ' Unless required by applicable law or agreed to in writing, software ' distributed under the License is distributed on an "AS IS" BASIS, ' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ' See the License for the specific language governing permissions and ' limitations under the License. ' ' With respect to ONF CoreModel and IISOMI @startuml ' Diagram title ODLUX NetworkApp Information Model end title TOPpackage <|network-map- Network TOP <|-- SubNetwork TOP <|-- Site TOP <|-- Device TOP <|-- Port TOP <|-- Link TOP <|-- Path types { class GeoLocation <<Type>>{ decimal[ fraction-digit 5 ] latitude decimal[ fraction-digit 5 ] longitude } } package network-map-interfaces { interface Top { UUID id String name String label ENUM life-cycle-state ENUM alarm-summary-state } } package network-map-classes { class Network implements Top class SubNetwork implements Top class Site implements Top class Device implements Top class Port implements Top class Link implements Top class Path implements Top } Network "1" *--> "*" SubNetwork: hasSubnetworks Network "1" *--> "*" Path: hasPathes Network "1" *--> "*" Link: hasLinks SubNetwork "1" *--> "*" Site: hasSites Site "1" *--> "*" Device: hasDevices Site ..> GeoLocation: uses Device "1" *--> "*" Port: linkHasPorts Link "1" *o--> "2" Port: referencesPorts Path "1" *o--> "*" Link: referencesLinks class TOPSite { UUID id String nameGeoLocation geo-location } class Device { String labeltype ENUM life-cycle-state ENUM alarm-summary-state String manufacture } class Network { Port { int capacity [kbit{s] } ' End Diagram ' Format header <b><font color=#8888ff>License</font></b> <b><font color=#8888ff>Apache 2.0</font></b> end header right footer Thanks to plantUml! 2020-05-19 | onap.org | o-ran-sc.org end footer skinparam backgroundColor #fefefe skinparam backgroundColor #fefefe 'skinparam handwritten true skinparam roundcorner 15 skinparam class { BorderColor #444444 BackgroundColor #ffffdd FontColor #444444 } skinparam database { BorderColor #444444 BackgroundColor #ffffdd FontColor #444444 } skinparam sequence { MessageAlign left ArrowThickness 2 ArrowColor #2277dd ArrowFontColor #444444 ActorBorderColor #444444 LifeLineBorderColor #444444 LifeLineBackgroundColor #eeeeee BoxBorderColor #444444 GroupBorderColor #444444 GroupBackgroundColor #eeeeee ParticipantBorderColor #444444 ParticipantBackgroundColor #ffffdd ParticipantFontColor #444444 ActorBackgroundColor #ffffdd 'ActorFontColor DeepSkyBlue 'ActorFontSize 17 'ActorFontName Aapex } @enduml |
...