Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporated comments, added test cases, and updated man page.
- Loading branch information
Jonathan Yang
committed
Oct 19, 2018
1 parent
f7b2cf2
commit 02f3df2
Showing
11 changed files
with
131 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module b { | ||
namespace "urn:b"; | ||
prefix b; | ||
|
||
revision 2014-04-01; | ||
|
||
identity b; | ||
identity b2; | ||
|
||
container b { | ||
leaf q { | ||
type string; | ||
} | ||
leaf q3 { | ||
type string; | ||
} | ||
} | ||
container c { | ||
leaf q { | ||
type string; | ||
} | ||
} | ||
feature foo { | ||
status obsolete; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module d { | ||
namespace urn:d; | ||
prefix d; | ||
|
||
import b { | ||
prefix b; | ||
} | ||
|
||
revision 2014-03-01; | ||
|
||
deviation /b:b/b:q { | ||
deviate add { | ||
default 'dummy'; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module d { | ||
namespace urn:d; | ||
prefix d; | ||
|
||
import b { | ||
prefix b; | ||
revision-date 2014-04-01; | ||
} | ||
|
||
revision 2014-04-01; | ||
|
||
deviation /b:b/b:q { | ||
deviate add { | ||
default 'smarty'; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module c { | ||
namespace urn:c; | ||
prefix c; | ||
|
||
import b { | ||
prefix b; | ||
} | ||
|
||
revision 2014-03-01; | ||
|
||
deviation /b:b/b:q { | ||
deviate add { | ||
default 'dummy'; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module c { | ||
namespace urn:c; | ||
prefix c; | ||
|
||
import b { | ||
prefix b; | ||
revision-date 2014-04-01; | ||
} | ||
|
||
revision 2014-04-01; | ||
|
||
deviation /b:b/b:q { | ||
deviate add { | ||
default 'dummy'; | ||
} | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d@2014-04-01.yang:14: error: CHK_DEF_CHANGED |
Empty file.