Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the new subnets to get_info #13

Merged
merged 10 commits into from
Oct 29, 2019
Merged

Added the new subnets to get_info #13

merged 10 commits into from
Oct 29, 2019

Conversation

rajanplumley
Copy link
Contributor

Replaced old CDS subnets in get_info with new ones so all the scripts that get hutch won't break.

Tested on XCS machines because they're the only ones that work.

Please review in case I missed any of the new subnets.

@ZLLentz
Copy link
Member

ZLLentz commented Jul 24, 2019

Seems fine to me, if you're sure all the subnet numbers are correct (not sure where the official list for those is). Thoughts on adding a line for tst?

@ddamiani
Copy link
Contributor

ddamiani commented Aug 2, 2019

the list for XPP seems a bit strange (it seems to be missing its FEZ network and has the ICS as an XPP specific one), though that weirdness predates these changes.

The FEZ for XPP is 22. Also the ICS subnet is 46, but that shouldn't be a hutch specific one, so I don't know why it is listed under XPP.

Also you could add the det FEZ subnet which is 59.

Usage:   host_checkup <hostname>

Host netconfig entry:
-------------------------------------------------

Checking IPMI power status:
-------------------------------------------------

Checking host/ipmi/fez network interfaces are online:
-------------------------------------------------
 does not ping.
-ipmi does not ping.
-fez does not ping.

 is offline.  Skipping internal checks.
-------------------------------------------------

PCDS Drivers:
/reg/g/pcds/dist/pds/boot/
------------------------------------------------- for server diagnostics
scripts/get_info Outdated Show resolved Hide resolved
…now arrays for networks that range over several octets.
@ZLLentz
Copy link
Member

ZLLentz commented Oct 29, 2019

We should finish up and merge this PR. Since it's connected to @rajanplumley 's master branch, its scope is increasing.

@ZLLentz
Copy link
Member

ZLLentz commented Oct 29, 2019

We can merge once Dan and Silke's comments are addressed. In the future I will try to dismiss PRs from master branches early to prevent scope creep.

scripts/get_info Outdated Show resolved Hide resolved
@ZLLentz
Copy link
Member

ZLLentz commented Oct 29, 2019

Merging finally

@ZLLentz ZLLentz merged commit 029bb49 into pcdshub:master Oct 29, 2019
@ZryletTC
Copy link
Contributor

ZryletTC commented Oct 31, 2019

typo in rc/pcds_shortcuts.sh?
-bash: /reg/g/pcds/setup/pcds_shortcuts.sh: line 379: syntax error near unexpected token '(' -bash: /reg/g/pcds/setup/pcds_shortcuts.sh: line 379: 'afunction mfx()'

@ZLLentz
Copy link
Member

ZLLentz commented Oct 31, 2019

Fixed in #19

@ZLLentz
Copy link
Member

ZLLentz commented Oct 31, 2019

In the future, we need to avoid making PRs from user master branches. PRs should be from a single non-master branch with a very well-defined set of changes. In this case, we didn't review the changes unrelated to adding new subnets and there was a typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants