From: garciadeblas Date: Tue, 29 Aug 2017 10:25:24 +0000 (+0200) Subject: Removed unused imports in vnfd and nsd yang models, warnings in Pyang shown now as... X-Git-Tag: v3.0.0rc02~15 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=5a20e9b06aa7cbfe4e2446e813fb86b4f3a7eb6b;p=osm%2FIM.git Removed unused imports in vnfd and nsd yang models, warnings in Pyang shown now as errors Change-Id: Iafcac411b4a7b5798a8e641464a7bf40312d9aa6 Signed-off-by: garciadeblas --- diff --git a/Makefile b/Makefile index c72183e..6305363 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ MODEL_DIR := models/yang RW_PB_EXT := build/yang/rw-pb-ext.yang Q?=@ -PYANG_OPTIONS := -Wnone +PYANG_OPTIONS := -Werror all: $(PYTHON_MODELS) pyangbind $(MAKE) package diff --git a/models/yang/nsd.yang b/models/yang/nsd.yang index dba3df4..48fc484 100644 --- a/models/yang/nsd.yang +++ b/models/yang/nsd.yang @@ -35,10 +35,6 @@ module nsd prefix "inet"; } - import ietf-yang-types { - prefix "yang"; - } - import mano-types { prefix "manotypes"; } diff --git a/models/yang/vnfd.yang b/models/yang/vnfd.yang index 51bb9f7..b3f820d 100644 --- a/models/yang/vnfd.yang +++ b/models/yang/vnfd.yang @@ -27,14 +27,6 @@ module vnfd prefix "manotypes"; } - import rw-pb-ext { - prefix "rwpb"; - } - - import ietf-yang-types { - prefix "yang"; - } - import ietf-inet-types { prefix "inet"; }