Skip to content

Commit

Permalink
interfaces-plugin: update README to include which features need to be…
Browse files Browse the repository at this point in the history
… enabled
  • Loading branch information
feelqah committed Mar 25, 2022
1 parent dad0f85 commit 9be1fae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand All @@ -88,6 +88,8 @@ $ sysrepoctl -i ./yang/[email protected]
$ sysrepoctl -i ./yang/[email protected]
$ sysrepoctl -i ./yang/ieee802-dot1q-types.yang
$ sysrepoctl -i ./yang/[email protected]
$ 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:
Expand Down

0 comments on commit 9be1fae

Please sign in to comment.