Examples
• Install a new module by specifying YANG file, ownership and access permissions:
sysrepoctl --install --yang=/home/user/ietf-interfaces.yang --owner=admin:admin --permissions=644
• Change the ownership and permissions of an existing YANG module:
sysrepoctl --change --module=ietf-interfaces --owner=admin:admin --permissions=644
• Enable a feature within a YANG module:
sysrepoctl --feature-enable=if-mib --module=ietf-interfaces
• Uninstall 2 modules, second one is without revision:
sysrepoctl --uninstall --module=mod-a,mod-b --revision=2035-05-05
6.4.7 Operation examples
The following figure describes the steps to configure device via netopeer2:
NXP Semiconductors
NETCONF/YANG
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
82 / 199