From 1687aced3fee058d6657bedeafab1a9f116fc884 Mon Sep 17 00:00:00 2001 From: Ryan Goulding Date: Fri, 23 Jun 2017 15:09:13 -0400 Subject: [PATCH] Bug 8740: startup archetype should default to Yang 1.1 Default to yang 1.1 and showcase the awesome work our yangtools developers put in for 1.1 support. Change-Id: I5f8320baca375f4e57f036840b27d7270191f530 Signed-off-by: Ryan Goulding --- .../archetype-resources/api/src/main/yang/__artifactId__.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/src/main/yang/__artifactId__.yang b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/src/main/yang/__artifactId__.yang index a2e2108c3c..75eb8e3674 100644 --- a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/src/main/yang/__artifactId__.yang +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/src/main/yang/__artifactId__.yang @@ -2,7 +2,7 @@ #set( $dtf = $package.getClass().forName("java.time.format.DateTimeFormatter").getMethod("ofPattern", $package.getClass()).invoke(null, "yyyy-MM-dd") ) #set( $date = $ldt.format($dtf) ) module ${artifactId} { - yang-version 1; + yang-version 1.1; namespace "urn:opendaylight:params:xml:ns:yang:${artifactId}"; prefix "${artifactId}"; -- 2.36.6