Jarrod Johnson
9ad123a0e2
Merge pull request #303 from Obihoernchen/fix-aggressive-typo
...
Fix the spelling of nodediscover --aggressive
2026-09-24 11:25:11 -04:00
Markus Hilger
c768e0df92
Fix the spelling of nodediscover --aggressive
2026-09-24 17:23:00 +02:00
Jarrod Johnson
5aecc483e0
Fixup malformed UUID in redfishbmc
...
Now that redfishbmc is wired up, have it fixup odd formatting of UUID.
2026-09-23 16:03:29 -04:00
Jarrod Johnson
6650a33150
Fix generic-ssh for a number of scenarios
2026-09-23 15:20:39 -04:00
Jarrod Johnson
23e6c70449
Wire up generic redfish device configuration
...
Have redfishbmc be able to attempt a redfish onboarding.
User must supply initial user and password, since we have no idea about the vendor choices at this level.
2026-09-23 15:08:55 -04:00
Jarrod Johnson
c72821cdfa
Restore genesis specific functions
...
Common functions depend on curl, but genesis cannot
2026-09-23 10:45:37 -04:00
Jarrod Johnson
69b0b8462f
Fixes for ARM genesis
...
Do not autocons if we have ttyAMA0
Make sure to use the proper architecture for addons.
2026-09-23 10:41:28 -04:00
Jarrod Johnson
8fa19ada11
Have capitilazition of shim be consistent in genesis
2026-09-23 10:19:59 -04:00
Jarrod Johnson
397df5278f
Add ARM genesis
2026-09-23 10:01:17 -04:00
Jarrod Johnson
5f321a6612
Update man page for nodeconfig.
2026-09-23 09:53:06 -04:00
Jarrod Johnson
9f5873fe19
Implement better indication of pending when available
2026-09-23 09:51:35 -04:00
Jarrod Johnson
6f8920d47e
Fix incorrect name of starmap function
2026-09-22 16:16:52 -04:00
Jarrod Johnson
084cda09d1
Add iPXE spec file
...
Pull prebuilt from ipxe upstream
2026-09-22 15:42:46 -04:00
Jarrod Johnson
2f6b30f7eb
Implement preference for iPXE shim
...
This implements a secureboot compatible flow, even for PXE.
Non secureboot environments suffer one useless transfer, but otherwise should be unaffected.
2026-09-22 15:06:28 -04:00
Jarrod Johnson
0128ee7df6
Properly handle lease renewal
...
When a fixed address assignment comes for renewal,
do not make it go to rebinding.
2026-09-22 15:02:33 -04:00
Jarrod Johnson
fd7ee32204
Fix switch/port display in nodediscover
2026-09-21 15:31:25 -04:00
Jarrod Johnson
dea8b71043
Fix uninitialized niccfg
2026-09-21 13:47:48 -04:00
Jarrod Johnson
57f6c18ebd
Fix early handling in Lenovo OEM handling
...
If mgrinfo is needed, have logic local, to avoid
the mess during early initialization.
2026-09-21 10:16:48 -04:00
Jarrod Johnson
ab5e47e6af
Fix query to support mac or id as key
2026-09-18 16:59:39 -04:00
Jarrod Johnson
fa2232ccff
Add auto-register on IP assign
2026-09-18 16:40:10 -04:00
Jarrod Johnson
58e9a11f4c
Add nvos onboarding
2026-09-18 16:37:35 -04:00
Jarrod Johnson
043ede7464
Implement lease_time opt in for non-boot dhcp offers
2026-09-18 15:31:12 -04:00
Jarrod Johnson
3dad193926
Fix erroneous cache retention
...
Do not refresh cache vintage an every access.
Also, give callers finer grained control over cache.
2026-09-18 13:58:05 -04:00
Jarrod Johnson
046ace6dba
Improve redfish sensor reading performance
...
Move to the oem handler and leverage the expansion facility
to speed up supported redfish BMCs.
2026-09-18 13:35:15 -04:00
Jarrod Johnson
79ddd17826
Swallow async timeout in check_fish
2026-09-18 09:22:37 -04:00
Jarrod Johnson
bc6b3b5b4c
Fix inconsistency in expected confluent directory permissions
2026-09-18 09:02:28 -04:00
Jarrod Johnson
e02fe647ac
Add lease_time
...
In preparation for fixed-address DHCP offer support, provide attributes to enable it.
2026-09-17 09:42:52 -04:00
Jarrod Johnson
5dcb1a140c
Avoid duplicate of name resolved ip in net config
...
It was possible for the name resolution to steal an address from another section.
Fix by having explicit IP addressing consume and then
purge any violaters after concurrent evaluation completes.
2026-09-17 08:25:58 -04:00
Jarrod Johnson
d793c521fe
Decrease max input of ssh connection
...
Specify connect and login timeouts
to avoid sessions being held open.
Also, in blocking_scan, wrap everything so that finally can ensure the scan is recognized as complete.
2026-09-16 15:41:58 -04:00
Jarrod Johnson
10c822fcd2
Remove disused hashlib
2026-09-16 12:33:09 -04:00
Jarrod Johnson
5803dc8ac5
Change to allow non-mac ids in discovery
...
Inventing mac addresses for routed discovery is misleading.
Change to a more accurate indication.
2026-09-16 12:30:53 -04:00
Jarrod Johnson
069d010944
Fixup ssh host key CA handling.
...
Use /etc/ssh/ssh_known_hosts more globally.
Actually store the TOFU behavior by backgrounding the awaitable.
2026-09-15 17:05:46 -04:00
Jarrod Johnson
6cabea665f
Start wrapping asyncssh
...
For auto discovery, banner extraction, and interactive ssh, refactor to commen sshclient class.
This hooks the pubkeys.ssh in a manner compatible with confluent 3.x
2026-09-15 15:45:38 -04:00
Jarrod Johnson
57b74c3d14
Add '-t' for tabular CSV output from collate
2026-09-15 09:40:43 -04:00
Jarrod Johnson
e26f94c5e0
Add nvos-switch deteciton
...
Also, wire up the new generic_eval to the 'register' for routed discovery enhancements. Inventing a mac address for lack of a better idea.
2026-09-11 19:37:12 -04:00
Jarrod Johnson
23556f4698
Fix potential uninitialized variable in get_switchcreds
2026-09-11 19:34:21 -04:00
Jarrod Johnson
e59e274bb4
Prepare to accept custom initial user/password
...
This allows user extension of systems with initial user/passwords that aren't known to the codebase.
2026-09-11 14:59:54 -04:00
Jarrod Johnson
e6aefd39b8
Remove pyrefly directive
...
Evidently it goes from needing this to needing it not to be ther.
2026-09-11 14:38:27 -04:00
Jarrod Johnson
4f4eeefddb
Have rescan -a find generic-ssh, generic-https, and generic-redfish
...
Going from generic-redfish as most specific, then generic-https, and generic-ssh being for ssh-only targets.
For generic-https and generic-ssh, the available ports are specified so code can know if https *also* has port 22 available.
2026-09-11 14:06:16 -04:00
Jarrod Johnson
fc1790ed80
Fix failing to reference converted LVM name
2026-09-11 10:23:38 -04:00
Jarrod Johnson
208abe5084
Refine vnc recording
...
Some experimentation shows that 15 fps is more than enough for the vast majority of console activity, so cut back for reduced file size.
Also, the calculation for last frame was incorrect, tracking duration based on when exiting caught up to the queue. Now add the end time explicitly and use that to reduce last frame lingering.
VP9 is still uncomfortably slow in a default setup, so stick with MP4V despite larger size, user may transcode if they want to make it smaller.
2026-09-11 10:21:15 -04:00
Jarrod Johnson
a01f4ef877
Give indication of starting exit process
...
Particularly if recording the session, exit no longer is instant. Provide feedback to user that the exit process is being worked.
2026-09-11 09:23:48 -04:00
Jarrod Johnson
65960df93e
Begin work on aggressive discovery rescan
...
This begins to ping everywhere and start evaluating everything.
2026-09-10 16:00:46 -04:00
Jarrod Johnson
c7d2e17545
Avoid failure on receiving malformed SOL payload packets
...
Some devices can emit invalid IPMI packets with missing payloads. Do not be overly burdened by such packets.
2026-09-10 15:09:32 -04:00
Jarrod Johnson
6e7ea6c8b8
Add ability to record graphics console to video files
...
Use old mp4v so that it is quick, tolerating huge files
2026-09-10 12:00:42 -04:00
Jarrod Johnson
f77f0b89a2
Fix broken invocation of get_my_addresses
2026-09-10 10:44:16 -04:00
Jarrod Johnson
9af74d9c44
Change Ctrl-Alt-Delete to use <Del> key
2026-09-10 09:40:22 -04:00
Jarrod Johnson
af36db4824
Add a quick utility function to just use ipv6 multicast to get all possible local peers.
2026-09-09 15:18:35 -04:00
Jarrod Johnson
55b1786a68
Add functions to support broader network scanning
...
Refactor functions to let netutil depend on neighutil.
Add a suite of functions to take a mac and try to figure out some viable ip for the mac.
Provide a ping6 mainly to support a ping to ff02::1, and follow up with unicast UDP discard packets to trigger neighbor table population.
Try to use the neighbor table to figure out an ip and scope for a mac, preferring LLA.
If this fails, go for a try of converting the mac to lla arithmetically, then try all the nics to see which one seems to work.
2026-09-09 15:13:37 -04:00
Jarrod Johnson
ba99818334
Add a ping6 function
...
This allows ping6 without forking a child.
Particularly useful for getting all link local addresses on a segment.
2026-09-09 11:28:42 -04:00