[ONOS-5058][ONOS-4796][ONOS-4893]compiler annotation implementation + defect fix
Change-Id: Ie317409d9ab1d36e626433558b2d51f26daaac82
diff --git a/plugin/src/test/resources/ValidCompilerAnnotation.yang b/plugin/src/test/resources/ValidCompilerAnnotation.yang
deleted file mode 100644
index 7913fab..0000000
--- a/plugin/src/test/resources/ValidCompilerAnnotation.yang
+++ /dev/null
@@ -1,13 +0,0 @@
-module event {
-
- namespace "http://example.com/event";
- prefix "ev";
-
- ca:compiler-annotation "/candidate-servers/server" {
- abc:app-data-structure "map" {
- ca:key "name";
- }
- xyz:app-extended-name "special-server";
- }
-}
-
diff --git a/plugin/src/test/resources/leafRefPathConcatenation.yang b/plugin/src/test/resources/leafRefPathConcatenation.yang
new file mode 100644
index 0000000..a9b688e
--- /dev/null
+++ b/plugin/src/test/resources/leafRefPathConcatenation.yang
@@ -0,0 +1,20 @@
+module test {
+ namespace "urn:ietf:params:xml:ns:yang:ietf-isis";
+ prefix isis;
+ typedef isis-instance-state-ref {
+ type leafref {
+ path "/isis-prefix-ipv4-std/"
+ +"default-metric";
+ }
+ }
+ container isis-route-content {
+ leaf metric {
+ type isis-instance-state-ref ;
+ }
+ }
+ container isis-prefix-ipv4-std {
+ leaf default-metric {
+ type string;
+ }
+ }
+}
\ No newline at end of file