This modification means correcting the UML in a way that a workaround in the modified UML2YANG tool gets obsolete.
The resulting YANG files must be unchanged.
Creating an UML package (folder) in MicrowaveModel called "Imports". (Done in Issue#4)
Importing Package from User Model at MicrowaveModel level, chosing the CoreCommonDataTypes, selecting all components.
Importing Package from User Model at MicrowaveModel level, chosing the ImplementationCommonDataTypes, selecting all components.
Moving the resulting childs of type Package Import into the "Import" package (folder).
Replacing data type DateAndTime of the Core IM by DateTime of the ImplementationCommonDataTypes and changing the default value from "20101120140000.0Z+1" to "2010-11-20T14:00:00+01:00" at the following attributes:
Update the workaround in the modified old postprocessing after the processing of the UML2YANG tool according to the new UML dataType used for DateAndTime.
Please note: yes - line 49 and 54 are redundant - but makes the code more readable.
|Description||The ONF:DateAndTime type should not be used in furture. Please align with latest UML guidelines, once they are published.|
|Additional Information||The UML2YANG tool should reference ietf-yang-types, which already defines "data-and-time" accroding to ISO 8601.|