Bug 8739: Autogenerate date for yang in archetype 83/59483/2
authorRyan Goulding <ryandgoulding@gmail.com>
Fri, 23 Jun 2017 19:02:16 +0000 (15:02 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Sat, 24 Jun 2017 13:27:12 +0000 (13:27 +0000)
commit06d0f886e1b028e5a841709f3cb803eb5adfcaa3
tree6c83ed83558d27b123b42af646e64daf85a199da
parente7574c267bf058d1af2d0343e2a3d525742d79ff
Bug 8739: Autogenerate date for yang in archetype

A couple of lines to autogenerate the date based on the day that
the archetype is run.  The date is then formatted appropriately
and used as the yang revision.  This helps keep the yang data
model writer honest.

Change-Id: Ic885b71a777119702b3ce78a21623298c44ad9c1
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/src/main/yang/__artifactId__.yang

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.