JSA is being implemented using Python.
-
❏ profile support (a hostname, a username, a password, and a interface as a profile)
-
❏ shortcut redfish commands
-
✓ shortcut IPv4 address support (
JSA_IP_PREF
) -
❏ customize default hostname, password, and interface
-
✓ [NEW] dry run support (
--dry-run
)
-
✓ script feature
-
✓ recursive support (call other scripts in a script)
-
✓ [NEW] self-recursive detection
-
✓ [NEW] prefix a line with
!
to ignore its return status -
✓ [NEW]
sleep
becomes a built-in command (originally only available in a custom command) -
❏ [NEW] runtime argument support
A hostname can be either a domain name (www.example.com) or an IP address. When
use an IPv4 address as hostname, you can just specify a part of full IPv4
address after set the environment variable JSA_IP_PREF
properly.
For example:
Input | JSA_IP_PREF | Result IPv4 |
---|---|---|
7 |
192.168.0 |
192.168.0.7 |
7.7 |
192.168.0 |
192.168.7.7 |
7.7.7.7 |
192.168.0 |
7.7.7.7 |
7.7 |
192 |
(Invalid) |
The input can be 1~4 segments.