Repository navigation
Install yang modules during build - #460
Merged
Merged
Conversation
mattiaswal
force-pushed
the
install-yang-modules-during-build
branch
from
May 21, 2024 18:37
e68110b to
e6869b0
Compare
Contributor
Author
|
Tested pass on hardware: s Execution
`-- s 0001-all.yaml
|-- o 0002-reproducible.py
|-- o 0003-wait.py
|-- o 0004-Misc tests
| `-- o 0005-operational_all.py
|-- o 0006-ietf-system
| |-- o 0007-hostname.py
| |-- o 0008-add_delete_user.py
| |-- o 0009-timezone.py
| `-- o 0010-timezone_utc_offset.py
|-- o 0011-ietf-interfaces
| |-- o 0012-vlan_ping.py
| |-- o 0013-ipv4_address.py
| |-- o 0014-iface_phys_address.py
| |-- o 0015-iface_status.py
| `-- o 0016-routing_basic.py
|-- o 0017-infix-interfaces
| |-- o 0018-bridge_basic.py
| |-- o 0019-bridge_veth.py
| |-- o 0020-dual_bridge.py
| |-- o 0021-bridge_vlan.py
| |-- o 0022-ipv4_autoconf.py
| |-- o 0023-bridge_fwd_sgl_dut.py
| |-- o 0024-bridge_fwd_dual_dut.py
| |-- o 0025-bridge_vlan_separation.py
| |-- o 0026-igmp_basic.py
| |-- o 0027-igmp_vlan.py
| `-- o 0028-static_multicast_filters.py
|-- s 0029-ietf-routing
| |-- o 0030-static_routing.py
| |-- o 0031-ospf_basic.py
| |-- o 0032-ospf_unnumbered_interface.py
| `-- s 0033-ospf_multiarea.py
|-- o 0034-infix-containers
| |-- o 0035-container_basic.py
| |-- o 0036-container_bridge.py
| |-- o 0037-container_phys.py
| `-- o 0038-container_veth.py
|-- o 0039-infix-dhcp
| |-- o 0040-dhcp_basic.py
| |-- o 0041-dhcp_router.py
| `-- o 0042-dhcp_routes.py
`-- o 0043-ietf-hardware
`-- o 0044-usb.py
06:28:55 infamy1:test #
|
mattiaswal
force-pushed
the
install-yang-modules-during-build
branch
2 times, most recently
from
May 22, 2024 19:54
ec395ce to
7d6a05b
Compare
troglobit
approved these changes
May 24, 2024
troglobit
left a comment
Contributor
There was a problem hiding this comment.
Tested, and unbelievably with such a huge change it's almost flawless! Comitted a small change to simplify the makedev permissions for /etc/sysrepo/data (verified).
Let's review together in the office today, I'm sure our other colleague will have at least one or two comments.
wkz
requested changes
May 24, 2024
Provided by libnetconf
This to hopefully speed up boot, do as little as possible during boot. * New modules needs to be added to src/confd/scripts/setup.sh * Permission needs to be changed post-build for YANG files, see CONFD_PERMISSIONS in confd.mk
This also adds support in sysrepot to install factory config on boot, default is only to allow it when installing the module, we can not do that anymore, since the modules is installed during build and the factory config (or failure) can only be determed when booted.
This was removed when the new version of ietf-netconf-server was introduced with the new version of libnetconf.
only minor.
The one installed with netopeer2 includes files that exist on ubuntu but not in buildroot.
More robust and less code duplication
This is a hardened requirement i latest libyang(/sysrepo)
This helps yanger to generate a valid configuration.
Before we generated an invalid YANG model but it was still accepted by libyang, but now, since the upgrade it is not.
Now there is no guarantee that the control-plane-protocol array exist in operational.
Do not use netopeer-created shm-path
No reason to be that narrow (10s) change to 30s
And remove not needed environment variable
Not needed anymore since all YANG modules should be loaded at build.
mattiaswal
force-pushed
the
install-yang-modules-during-build
branch
from
May 24, 2024 09:14
9c9825f to
2cf0c27
Compare
This was
linked to
issues
May 24, 2024
This was referenced May 24, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Other information
Checklist
Tick relevant boxes, this PR is-a or has-a: