summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/requirements/3_functional.xml32
1 files changed, 28 insertions, 4 deletions
diff --git a/devel/requirements/3_functional.xml b/devel/requirements/3_functional.xml
index 2258a58..2149a33 100644
--- a/devel/requirements/3_functional.xml
+++ b/devel/requirements/3_functional.xml
@@ -218,6 +218,10 @@
<title>UI.Network.AddressType</title>
<para>The system shall ask the User whether they wish to use automatic addressing (DHCP), manual addressing, or disable network connectivity.</para>
</formalpara>
+ <formalpara id="UI.Network.AddressType.MaybeNotDisable">
+ <title>UI.Network.AddressType.MaybeNotDisable</title>
+ <para>The system shall not allow the User to disable network connectivity if any required repository is unavailable locally.</para>
+ </formalpara>
<formalpara id="UI.Network.AddressType.Skip">
<title>UI.Network.AddressType.Skip</title>
<para>If the User chooses to disable network connectivity, the system shall proceed to the System Metadata screen.</para>
@@ -424,6 +428,10 @@
</section>
<section id="ui_packages_req">
<title>Functional Requirements</title>
+ <formalpara id="UI.Packages.DisabledNetwork">
+ <title>UI.Packages.DisabledNetwork</title>
+ <para>If the User has chosen to disable the network, the system shall only display presets and packages available for installation locally.</para>
+ </formalpara>
<formalpara id="UI.Packages.SimpleSel">
<title>UI.Packages.SimpleSel</title>
<para>The system shall allow the User to choose from one of the following four preset package sets, or to customise the packages installed.</para>
@@ -796,13 +804,29 @@
<title>Locate HorizonScript</title>
<section id="runner_locate_meta">
<title>Description / Priority</title>
- <para/>
+ <para>The system needs to load the HorizonScript into memory. If the HorizonScript is a local file, the system needs to ensure it is present and readable. If the HorizonScript is remote, the system needs to proceed to Network Configuration before continuing.</para>
</section>
<section id="runner_locate_req">
<title>Functional Requirements</title>
- <formalpara>
- <title/>
- <para/>
+ <formalpara id="Runner.Locate.DetermineLocality">
+ <title>Runner.Locate.DetermineLocality</title>
+ <para>The system shall determine if the HorizonScript is stored locally or remotely using the following algorithm:
+ <orderedlist id="Runner.Locate.DetermineLocality.Algo">
+ <listitem><para>If the path to the HorizonScript is not provided, assume the HorizonScript is remote and end the calculation. Priority: Low.</para></listitem>
+ <listitem><para>If the path to the HorizonScript begins with a single "/" followed by an alphanumeric character, the HorizonScript is local.</para></listitem>
+ <listitem><para>If the path to the HorizonScript begins with a recognised valid protocol for downloading a HorizonScript followed by the characters "://", the HorizonScript is remote.</para></listitem>
+ <listitem><para>If the path to the HorizonScript begins with an alphanumeric character, the HorizonScript is local and relative to the path <filename type="directory">/etc/horizon</filename>.</para></listitem>
+ <listitem><para>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.</para></listitem>
+ </orderedlist>
+ </para>
+ </formalpara>
+ <formalpara id="Runner.Locate.Local">
+ <title>Runner.Locate.Local</title>
+ <para>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.</para>
+ </formalpara>
+ <formalpara id="Runner.Locate.Remote">
+ <title>Runner.Locate.Remote</title>
+ <para>If the HorizonScript is remote, the system shall </para>
</formalpara>
</section>
</section>