Let's look at the example: in a submodule I define an extension, then I
want to use this extension in the module which includes the submodule:
% composite.yang module
module composite {
namespace "urn:test:composite";
prefix c;
include submodule;
c:ext1 "test"; // pyang error
}
% submodule.yang
submodule submodule {
belongs-to composite {
prefix c;
}
extension ext1 {
argument test;
}
c:ext1 "test arg";
}
But when I validate the composite module by pyang I receive an error
message: "composite.yang:7: error: extension "ext1" is not defined in
module composite"
What version of the product are you using? On what operating system?
pyang 0.9.3
Original issue reported on code.google.com by kur...@gmail.com on 16 Apr 2009 at 1:26
Original issue reported on code.google.com by
kur...@gmail.com
on 16 Apr 2009 at 1:26Attachments: