-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reflect previous changes in yanglint (no need for extra top-level element) to the yanglint examples. Fixes #23
- Loading branch information
Showing
10 changed files
with
213 additions
and
234 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<rule-list> | ||
<rule-list> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
</nacm> | ||
</config> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
</nacm> |
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 |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<rule-list> | ||
<rule-list> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<nam>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
</nacm> | ||
</config> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<nam>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
</nacm> |
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 |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<rule-list> | ||
<rule-list> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
<denied-operations>0</denied-operations> | ||
<denied-data-writes>0</denied-data-writes> | ||
<denied-notifications>0</denied-notifications> | ||
</nacm> | ||
</data> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
<denied-operations>0</denied-operations> | ||
<denied-data-writes>0</denied-data-writes> | ||
<denied-notifications>0</denied-notifications> | ||
</nacm> |
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 |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<rule-list> | ||
<rule-list> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<name>almighty</name> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
<denied-operations>0</denied-operations> | ||
<denied-data-writes>0</denied-data-writes> | ||
<denied-notifications>0</denied-notifications> | ||
</nacm> | ||
</data> | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
<denied-operations>0</denied-operations> | ||
<denied-data-writes>0</denied-data-writes> | ||
<denied-notifications>0</denied-notifications> | ||
</nacm> |
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> | ||
<interface> | ||
<name>eth0</name> | ||
<description>Wire Connection</description> | ||
<type xmlns:ift="urn:ietf:params:xml:ns:yang:iana-if-type">ift:ethernetCsmacd</type> | ||
<enabled>true</enabled> | ||
<ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> | ||
<address><ip>192.168.1.15</ip><netmask>255.255.255.0</netmask></address> | ||
<address><ip>192.168.1.10</ip><netmask>255.255.255.0</netmask></address> | ||
</ipv4> | ||
</interface> | ||
</interfaces> | ||
</data> | ||
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> | ||
<interface> | ||
<name>eth0</name> | ||
<description>Wire Connection</description> | ||
<type xmlns:ift="urn:ietf:params:xml:ns:yang:iana-if-type">ift:ethernetCsmacd</type> | ||
<enabled>true</enabled> | ||
<ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> | ||
<address><ip>192.168.1.15</ip><netmask>255.255.255.0</netmask></address> | ||
<address><ip>192.168.1.10</ip><netmask>255.255.255.0</netmask></address> | ||
</ipv4> | ||
</interface> | ||
</interfaces> |
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 |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> | ||
<rule-list> | ||
<rule-list> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<nam>almighty | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<group>almighty</group> | ||
<group nc:operation="create">test</group> | ||
<rule> | ||
<nam>almighty | ||
<module-name>*</module-name> | ||
<access-operations>*</access-operations> | ||
<action>permit</action> | ||
</rule> | ||
</rule-list> | ||
<groups> | ||
<group> | ||
<name>test</name> | ||
<user-name>smith</user-name> | ||
</group> | ||
<group> | ||
<name>almighty</name> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
<denied-operations>0</denied-operations> | ||
<denied-data-writes>0</denied-data-writes> | ||
<denied-notifications>0</denied-notifications> | ||
</nacm> | ||
</data> | ||
<user-name>smith</user-name> | ||
<user-name>doe</user-name> | ||
</group> | ||
</groups> | ||
<denied-operations>0</denied-operations> | ||
<denied-data-writes>0</denied-data-writes> | ||
<denied-notifications>0</denied-notifications> | ||
</nacm> |
Oops, something went wrong.