Repository navigation
NMS-19449: Daemon configuration docs - #8992
Closed
joseanesONMS wants to merge 8 commits into
Closed
joseanesONMS wants to merge 8 commits into
joseanesONMS wants to merge 8 commits into
Conversation
The daemon table listed CORE_SERVICE_ENLINKD_ENABLED instead of CORE_SERVICE_ENHANCEDLINKD_ENABLED, a variable for Eventd that has no effect, and rows for the removed Reportd and Tl1d daemons. The names now match etc/service-configuration.xml and the container confd template exactly.
Pollerd, Collectd, SnmpPoller, and the thresholding service evaluate package filters only when they schedule an interface, and the docs did not say that a filter change needs a reload or restart. The new section lists, per daemon, what a reload re-evaluates and which node events trigger a partial re-evaluation, based on PollerEventProcessor, Collectd, SnmpPoller, and ThresholdingServiceImpl.
…ation page The trapd pages still described trapd-configuration.xml as a live file, although the configuration now lives in the database and is managed through the Trap Configuration page and /api/v2/trapd. The trapd reference now covers the one-time import, the reload behavior, and the three tabs of the page, based on DefaultTrapdConfigDao, the 36.0.0 changelog-cm, Trapd, and ui/src/containers/TrapdConfiguration.vue.
The DCB pages did not say how to delete a backup. The Device Configs page has no delete action on develop (NMS-14276 is open), so the new section covers the DELETE endpoints of DeviceConfigRestService and their effect on the Device Configs list.
…pages Both services were dropped from service-configuration.xml (NMS-18164, NMS-18169) and are absent from defaults/service-configuration.xml, so ServiceConfiguration.mergeWithDefaults() ignores any entry that tries to enable them.
Trapd reads its configuration from the database through TrapdConfigDao (TrapdConfigFactory), not from trapd-configuration.xml, and Trapd.interpolateUser() resolves the SNMPv3 user fields with a SecureCredentialsVaultScope only.
The Manager starts only services that ServiceConfiguration.mergeWithDefaults() keeps, and Tl1d is absent from defaults/service-configuration.xml with no Karaf feature to start it, so TL1 reception cannot be enabled.
InfoRestService reports the services that Manager.status() takes from ServiceConfigFactory, which no longer includes Reportd since it was dropped from defaults/service-configuration.xml.
Contributor
Author
|
Reopened as #9002 from a branch without the |
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.
Documents the daemon configuration and reloads, split out of #8984; content checked against the code on develop, one commit per ticket.
CORE_SERVICE_*_ENABLEDnamesreference/…/daemons/introduction.adocservice-configuration.xml.tmpl,service-configuration.xmloperation/…/daemon-config-files.adocand linksPollerEventProcessor.java,Collectd.java,SnmpPoller.java,ThresholdingServiceImpl.javareference/…/daemon-config-files/trapd.adoc,snmp-traps.adoc,core-docker.adocDefaultTrapdConfigDao.java,changelog-cm/36.0.0,ui/src/components/TrapdConfiguration/*operation/…/device-config-backup/dcb.adocDeviceConfigRestService.javaCorrections to existing docs (separate
NMS-19449: Fix …commits, each can be dropped on its own)ServiceConfiguration.mergeWithDefaults(), defaultsservice-configuration.xmlInfoRestService.javaTrapdConfigFactory.javaNot addressed
reloadableattribute on develop; the code (NMS-10350) is unmerged.The docs build adds no warnings (develop's two existing ones remain).
External References