MNT: remove references to netconfig from engineering_tools #328
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
Do not merge: most team members can't use sdfconfig yet
Remove all references to netconfig and include suitable replacement calls to sdfconfig or host
restartdaq: Replace thenetconfig search *-fezsort of call with the equivalentsdfconfigsearch for fez subnets (can't do the same search because the -fez etc. are part of the same entry as the main interface)serverStat: All calls that usednetconfigto search for hostname existence have been replaced by thehostutility, which is faster and wont disappear. (Incidentally:serverStat statusis now much faster). Thenetconfigcall that was used to view the netconfig output has been replaced by the equivalentsdfconfigcall.Motivation and Context
https://jira.slac.stanford.edu/browse/ECS-9486
Netconfig is going away
The replacement tool is sdfconfig
In some cases, we can get away with using neither, so that is preferred when possible for forward compatibility.
How Has This Been Tested?
Interactively
restartdaqI've forced the bash script into this error state and made sure it gave reasonable resultsserverStatwas run through the paces with thestatusandexpertcommands on servers with/without fez to get some output varietyWhere Has This Been Documented?
Here only