From abf97c95de37a4284cd279d91a43160c8a20bac3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 4 Sep 2019 11:52:59 -0500 Subject: req: 3: Add Runner.Locate.* --- devel/requirements/3_functional.xml | 47 ++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/devel/requirements/3_functional.xml b/devel/requirements/3_functional.xml index 8e1f4b4..b94717f 100644 --- a/devel/requirements/3_functional.xml +++ b/devel/requirements/3_functional.xml @@ -816,7 +816,7 @@ If the path to the HorizonScript begins with a single "/" followed by an alphanumeric character, the HorizonScript is local. If the path to the HorizonScript begins with a recognised valid protocol for downloading a HorizonScript followed by the characters "://", the HorizonScript is remote. If the path to the HorizonScript begins with an alphanumeric character, the HorizonScript is local and relative to the path /etc/horizon. - If the path to the HorizonScript does not match any of the rules specified before this line, the path provided is invalid and the system shall return an error. + If the path to the HorizonScript does not match any of the rules specified before this line, the path provided is invalid and the system shall return an error describing the specified path and the fact it is invalid. @@ -824,19 +824,54 @@ Runner.Locate.Local If the HorizonScript is local, the system shall ensure the HorizonScript specified exists at the specified path, is readable by the system, and is the correct format. + + Runner.Locate.Local.Failure + If the HorizonScript fails the tests in Runner.Locate.Local, the system shall return an error describing the reason the HorizonScript could not be used. + Runner.Locate.Remote - If the HorizonScript is remote, the system shall + If the HorizonScript is remote, the system shall configure the network and then ensure the HorizonScript specified is accessible, as described in the following requirements sections. + + + Runner.Locate.Remote.Configure + The system shall use the network settings configured by the Administrator on the command line, if they have been provided. + + + Runner.Locate.Remote.Configure.Automatic + If no network configuration was provided on the command line, the system shall initiate a DHCP request on each available network interface, waiting for a 15 second time out period before continuing to the next network interface. An "available network interface" is defined as a non-loopback network interface that currently has a carrier signal. + + + Runner.Locate.Remote.Configure.AutoFailure + If no network configuration can be found using DHCP, the system shall return an error describing the inability to configure a network connection. + + + Runner.Locate.Remote.FullAuto + If no HorizonScript path was provided, the system shall download the HorizonScript from a TFTP server using the filename MACADDRESS.installfile where MACADDRESS is the MAC address of the active network adaptor with colons (:) replaced by dashes (-). The system shall use the following algorithm to determine the TFTP server, using the first match. + + The TFTP server specified in the DHCP options, if the DHCP response provided one. + The DHCP server, if no TFTP server was specified in DHCP options and DHCP was used to configure the network. + The TFTP server specified on the command line, if one was provided. + The default gateway IP. + + + + + Runner.Locate.Remote.Verify + The system shall ensure that the server where the HorizonScript is kept is reachable over the protocol specified and that the HorizonScript exists. + + + Runner.Locate.Remote.Download + The system shall download the HorizonScript from the remote server to /etc/horizon/. -
- Network Configuration -
+
+ Verify HorizonScript +
Description / Priority
-
+
Functional Requirements -- cgit v1.2.3-60-g2f50