From 9be1faefddf49a6e4107cedc5908fdd0d4d52758 Mon Sep 17 00:00:00 2001 From: Filip Maric Date: Fri, 25 Mar 2022 15:34:14 +0100 Subject: [PATCH] interfaces-plugin: update README to include which features need to be enabled --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f1fcaf02..fa2c0675 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Lastly, invoke the build and install using `make`: $ make -j$(nproc) install ``` -The plugins require several YANG modules to be loaded into the Sysrepo datastore. +The plugins require several YANG modules to be loaded into the Sysrepo datastore and several features need to be enabled. For the interfaces plugin this can be achieved by invoking the following commands: ``` @@ -88,6 +88,8 @@ $ sysrepoctl -i ./yang/ietf-ip@2018-02-22.yang $ sysrepoctl -i ./yang/ietf-if-extensions@2020-07-29.yang $ sysrepoctl -i ./yang/ieee802-dot1q-types.yang $ sysrepoctl -i ./yang/ietf-if-vlan-encapsulation@2020-07-13.yang +$ sysrepoctl --change ietf-interfaces --enable-feature if-mib +$ sysrepoctl --change ietf-if-extensions --enable-feature sub-interfaces ``` For the routing plugin, the following models have to be installed: