Skip to contentSkip to conversation

README: Be less confusing about Tftp settings

PATCH Superseded Ian Jackson 2 participants 3 messages Oct 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 README: Be less confusing about Tftp settings

CC Konrad Rzeszutek Wilk <[email protected]>
---
 README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
README +2 -2
index 01c4c96..2bd8955 100644
@@ -493,8 +493,8 @@ DebianNonfreeFirmware
 TftpFoo_<scope> and TftpFoo
 
     Describes various properties relating to Tftp in a given <scope>,
-    where a <scope> is a given subnet, DHCP server etc. Valid
-    properties are:
+    where a <scope> is a given subnet, DHCP server etc.  Valid
+    settings (ie, valid "Foo"s) are:
 
         Path          The path to the root of the directory which is exposed by
                       the tftpserver (e.g. /tftpboot).
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

PATCH v2 1/1 README: Be less confusing about Tftp settings

CC Konrad Rzeszutek Wilk <[email protected]>

---
v2: Give the scope-free version as the basic explanation

---
 README | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)
README +23 -17
index 01c4c96..078888d 100644
@@ -390,7 +390,7 @@ HostProp_<testbox>_RebootTimeExtra
 
 HostProp_<testbox>_TftpScope
    Defines the Tftp scope (i.e. subnet) where this host resides. See
-   "TftpFoo_<scope> and TftpFoo" below.
+   "TftpFoo_<scope> and TftpFoo" below.  The default is "default".
 
 HostProp_<testbox>_NtpServer
    NTP server to use.  You should probably have your own local
@@ -490,30 +490,36 @@ DebianNonfreeFirmware
   grep-dctrl (for example because it's not Debian) then you must set
   this to the empty string, by writing  DebianNonfreeFirmware=''
 
-TftpFoo_<scope> and TftpFoo
+Tftp*
+   Settings related to the tftp server:
 
-    Describes various properties relating to Tftp in a given <scope>,
-    where a <scope> is a given subnet, DHCP server etc. Valid
-    properties are:
-
-        Path          The path to the root of the directory which is exposed by
+    TftpPath          The path to the root of the directory which is exposed by
                       the tftpserver (e.g. /tftpboot).
-        TmpDir        A directory under `Path' to use for temporary files.
+    TftpTmpDir        A directory under `Path' to use for temporary files.
 
-        PxeDir        The path under `Path' to the PXE configuration directory
+    TftpPxeDir        The path under `Path' to the PXE configuration directory
                       (e.g. pxelinux.cfg)
-        PxeGroup      The Unix group which should own files under `PxeDir'.
-        PxeTemplates  See TftpPxeTemplates
-        PxeTemplatesReal
+    TftpPxeGroup      The Unix group which should own files under `PxeDir'.
+    TftpPxeTemplates  See TftpPxeTemplates
+    TftpPxeTemplatesReal
 
-        DiBase        The path under `Path' to the root of the debian
+    TftpDiBase        The path under `Path' to the root of the debian
                       installer images.
-        GrubBase      The path under `Path' to the root of the grub
+    TftpGrubBase      The path under `Path' to the root of the grub
                       EFI PXE images.
 
-    For hosts in scope "default", TftpFoo_default (if set) takes
-    precedence over TftpFoo.  TftpFoo is used when the setting Foo is
-    not defined for the host's scope.
+Tftp<setting>_<scope>
+
+    It is possible to have multiple subnets, DHCP servers, tftp
+    servers, etc.  Each one is a <scope>, referenced by
+    HostProp_<testbox>_TftpScope.
+
+    For hosts in scope <scope>, Tftp<setting>_<scope> (if set) takes
+    precedence over each Tftp<setting> listed above.
+
+    So for hosts in scope "default" (including ones without an
+    explicit TftpScope) Tftp<setting> is used whenever
+    Tftp<setting>_default is not defined.
 
 TftpPxeTemplates
     List (space-separated) of template filenames for writing
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw
Quoted 2 lines · Ian Jackson
CC Konrad Rzeszutek Wilk <[email protected]>

CCing Marcos.

Quoted 57 lines

---
v2: Give the scope-free version as the basic explanation

---
 README | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)
README +11 -17
index 01c4c96..078888d 100644
@@ -390,7 +390,7 @@ HostProp_<testbox>_RebootTimeExtra
 
 HostProp_<testbox>_TftpScope
    Defines the Tftp scope (i.e. subnet) where this host resides. See
-   "TftpFoo_<scope> and TftpFoo" below.
+   "TftpFoo_<scope> and TftpFoo" below.  The default is "default".
 
 HostProp_<testbox>_NtpServer
    NTP server to use.  You should probably have your own local
@@ -490,30 +490,36 @@ DebianNonfreeFirmware
   grep-dctrl (for example because it's not Debian) then you must set
   this to the empty string, by writing  DebianNonfreeFirmware=''
 
-TftpFoo_<scope> and TftpFoo
+Tftp*
+   Settings related to the tftp server:
 
-    Describes various properties relating to Tftp in a given <scope>,
-    where a <scope> is a given subnet, DHCP server etc. Valid
-    properties are:
-
-        Path          The path to the root of the directory which is exposed by
+    TftpPath          The path to the root of the directory which is exposed by
                       the tftpserver (e.g. /tftpboot).
-        TmpDir        A directory under `Path' to use for temporary files.
+    TftpTmpDir        A directory under `Path' to use for temporary files.
 
-        PxeDir        The path under `Path' to the PXE configuration directory
+    TftpPxeDir        The path under `Path' to the PXE configuration directory
                       (e.g. pxelinux.cfg)
-        PxeGroup      The Unix group which should own files under `PxeDir'.
-        PxeTemplates  See TftpPxeTemplates
-        PxeTemplatesReal
+    TftpPxeGroup      The Unix group which should own files under `PxeDir'.
+    TftpPxeTemplates  See TftpPxeTemplates
+    TftpPxeTemplatesReal
 
-        DiBase        The path under `Path' to the root of the debian
+    TftpDiBase        The path under `Path' to the root of the debian
                       installer images.
-        GrubBase      The path under `Path' to the root of the grub
+    TftpGrubBase      The path under `Path' to the root of the grub
                       EFI PXE images.
 
-    For hosts in scope "default", TftpFoo_default (if set) takes
-    precedence over TftpFoo.  TftpFoo is used when the setting Foo is
-    not defined for the host's scope.

README DebianNonfreeFirmware · line 520

Quoted 10 lines
README +10 -0
+Tftp<setting>_<scope>
+
+    It is possible to have multiple subnets, DHCP servers, tftp
+    servers, etc.  Each one is a <scope>, referenced by
+    HostProp_<testbox>_TftpScope.
+
+    For hosts in scope <scope>, Tftp<setting>_<scope> (if set) takes
+    precedence over each Tftp<setting> listed above.
+
+    So for hosts in scope "default" (including ones without an

s/So for/For/

s/scope/the scope/ ?

Quoted 8 lines
README +2 -0
+    explicit TftpScope) Tftp<setting> is used whenever
+    Tftp<setting>_default is not defined.
 
 TftpPxeTemplates
     List (space-separated) of template filenames for writing
Signature · 1 line
2.1.4

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel