/obmc-yadro-netconfig

Console tool for configuring OpenBMC network

Primary LanguageC++Apache License 2.0Apache-2.0

Utility for configuring OpenBMC network

The project provides console utility that can be used for configuring network interfaces.

Build with OpenBMC SDK

OpenBMC SDK contains toolchain and all dependencies needed for building the project. See official documentation for details.

Build steps:

$ source /path/to/sdk/environment-setup-arm1176jzs-openbmc-linux-gnueabi
$ mkdir build_dir
$ meson build_dir
$ ninja -C build_dir

If build process succeeded, the directory build_dir contains executable file netconfig.

Testing

Unit tests can be built and run with OpenBMC SDK.

Run tests:

$ source /path/to/sdk/environment-setup-arm1176jzs-openbmc-linux-gnueabi
$ # build the project (see above)
$ qemu-arm -L ${SDKTARGETSYSROOT} build_dir/test/netconfig_test