Introduce dm-framework.mk providing reusable build macros for packages
that integrate with the DM Framework:
- Build/Compile/DM: Generates C code and shared libraries from JSON data
models using json2code.js, compiles them, and creates package-specific
.so files
- Build/Install/DM: Installs generated libraries, JS handlers,
and data model files to the dm-framework directory(dmf)
Also adds bridgemngr as the first package utilizing these helpers to
implement bridge data model with dm-framework, which can be enabled
through flag CONFIG_BRIDGEMNGR_USE_DM_FRAMEWORK.
The commit also include changes in bbfdm dm-framework adaption.
Create a centralized setup for ebtables.
This is necessary to garantuee the order
of how chains are created.
Right now it provides a 1:1 drop-in
replacement of how things currently work
and no changes are needed in the short term.
* add support for compile time flag BRIDGEMNGR_BRIDGE_VLAN
* if this flag is set data model code will use bridge-vlan
sections to implement vlans on bridges
* if this flag is not set (default), then the data model code
will use driver level vlans (8021q sections) as always