summaryrefslogtreecommitdiffstats
path: root/yang-comparator/src/main/resources/plugins.json
diff options
context:
space:
mode:
authorzhuguanyu <zhuguanyu5@huawei.com>2023-08-14 15:03:42 +0800
committerzhuguanyu <zhuguanyu5@huawei.com>2023-08-23 15:25:33 +0800
commit3fd2e411d4a68470bc18987a004c688662c11068 (patch)
treec6403ad3bd9c97d59f7cb6782053d65058e4a98d /yang-comparator/src/main/resources/plugins.json
parent0c3b6bbeaad1c0ca97f32e0ba973f21c9e78bb41 (diff)
YANG Comparator for YANG model automation
Issue-ID: MODELING-680 Change-Id: I555b4870d1fd5ca97136772f868482721af982d2 Signed-off-by: zhuguanyu <zhuguanyu5@huawei.com>
Diffstat (limited to 'yang-comparator/src/main/resources/plugins.json')
-rw-r--r--yang-comparator/src/main/resources/plugins.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/yang-comparator/src/main/resources/plugins.json b/yang-comparator/src/main/resources/plugins.json
new file mode 100644
index 0000000..4534d4d
--- /dev/null
+++ b/yang-comparator/src/main/resources/plugins.json
@@ -0,0 +1,34 @@
+{
+ "plugins": {
+ "plugin": [
+ {
+ "name": "yang_comparator",
+ "class-path": "yang-comparator-1.0-SNAPSHOT.jar",
+ "class": "com.huawei.yang.comparator.app.YangComparatorPlugin",
+ "description": "a plugin for comparing two yang schema.",
+ "parameter": [
+ {
+ "name": "old-yang",
+ "description": "mandatory,the old version yang directory."
+ },
+ {
+ "name": "settings",
+ "description": "optional,the settings file path."
+ },
+ {
+ "name": "compare-type",
+ "description": "mandatory, specify compare-type, one of stmt,tree,or compatible-check"
+ },
+ {
+ "name": "rule",
+ "description": "optional, specify the path of compatible-rule file."
+ },
+ {
+ "name": "result",
+ "description": "mandatory, specify the compare result file path, the result file is a xml format."
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file