Skip to content

Commit 69f8d70

Browse files
committed
developers-guide: Add new builddep (for raspberry pi)
Add mtools
1 parent 4b4bdca commit 69f8d70

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

doc/developers-guide.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ $ sudo apt install bc binutils build-essential bzip2 cpio \
6767
diffutils file findutils git gzip \
6868
libncurses-dev libssl-dev perl patch \
6969
python3 rsync sed tar unzip wget \
70-
autopoint bison flex autoconf automake
70+
autopoint bison flex autoconf automake \
71+
mtools
7172
```
7273

7374
> For details, see the Getting Started and System Requirements sections
@@ -168,36 +169,36 @@ Now you can rebuild `confd`, just as described above, and restart Infix:
168169

169170
### `statd`
170171

171-
The Infix status daemon, `src/statd`, is responsible for populating the
172-
sysrepo `operational` datastore. Like `confd`, it uses XPath subscriptions,
173-
but unlike `confd`, it relies entirely on `yanger`, a Python script that
172+
The Infix status daemon, `src/statd`, is responsible for populating the
173+
sysrepo `operational` datastore. Like `confd`, it uses XPath subscriptions,
174+
but unlike `confd`, it relies entirely on `yanger`, a Python script that
174175
gathers data from local linux services and feeds it into sysrepo.
175176

176177
To apply changes, rebuild the image:
177178

178179
make python-statd-rebuild statd-rebuild all
179180

180-
Rebuilding the image and testing on target for every change during
181-
development process can be tedious. Instead, `yanger` allows remote
182-
execution, running the script directly on the host system (test
181+
Rebuilding the image and testing on target for every change during
182+
development process can be tedious. Instead, `yanger` allows remote
183+
execution, running the script directly on the host system (test
183184
container):
184185

185186
infamy0:test # ../src/statd/python/yanger/yanger -x "../utils/ixll -A ssh d3a" ieee802-dot1ab-lldp
186187

187188
`ixll` is a utility script that lets you run network commands using an
188-
**interface name** instead of a hostname. It makes operations like
189+
**interface name** instead of a hostname. It makes operations like
189190
`ssh`, `scp`, and network discovery easier.
190191

191-
Normally, `yanger` runs commands **locally** to retrieve data
192-
(e.g., `lldpcli` when handling `ieee802-dot1ab-lldp`). However, when
193-
executed with `-x "../utils/ixll -A ssh d3a"` it redirects these
194-
commands to a remote system connected to the local `d3a` interface via
195-
SSH. This setup is used for running `yanger` in an
192+
Normally, `yanger` runs commands **locally** to retrieve data
193+
(e.g., `lldpcli` when handling `ieee802-dot1ab-lldp`). However, when
194+
executed with `-x "../utils/ixll -A ssh d3a"` it redirects these
195+
commands to a remote system connected to the local `d3a` interface via
196+
SSH. This setup is used for running `yanger` in an
196197
[interactive test environment](testing.md#interactive-usage). The yanger
197-
script runs on the `host` system, but key commands are executed on the
198+
script runs on the `host` system, but key commands are executed on the
198199
`target` system.
199200

200-
For debugging or testing, you can capture system command output and
201+
For debugging or testing, you can capture system command output and
201202
replay it later without needing a live system.
202203

203204
To capture:
@@ -214,9 +215,9 @@ issues without direct access to the DUT.
214215
### Agree on YANG Model
215216

216217
When making changes to the `confd` and `statd` services, you will often need to update
217-
the YANG models. If you are adding a new YANG module, it's best to follow the
218+
the YANG models. If you are adding a new YANG module, it's best to follow the
218219
structure of an existing one. However, before making any changes, **always discuss
219-
them with the Infix core team**. This helps avoid issues later in development and
220+
them with the Infix core team**. This helps avoid issues later in development and
220221
makes pull request reviews smoother.
221222

222223

0 commit comments

Comments
 (0)