Imported Upstream version 2.7.3
This commit is contained in:
parent
a356b56d11
commit
fd413a3168
283 changed files with 14978 additions and 6511 deletions
|
|
@ -1,13 +1,13 @@
|
|||
'\" t
|
||||
.\" Title: dummy-ups
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
||||
.\" Date: 02/15/2014
|
||||
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
||||
.\" Date: 04/17/2015
|
||||
.\" Manual: NUT Manual
|
||||
.\" Source: Network UPS Tools 2.7.1.5
|
||||
.\" Source: Network UPS Tools 2.7.3
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "DUMMY\-UPS" "8" "02/15/2014" "Network UPS Tools 2\&.7\&.1\&." "NUT Manual"
|
||||
.TH "DUMMY\-UPS" "8" "04/17/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
@ -95,7 +95,7 @@ Port is the name of a remote UPS, using the NUT form, ie:
|
|||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
<upsname>[@<hostname>[:<port>]]
|
||||
<upsname>@<hostname>[:<port>]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
|
|
@ -115,6 +115,8 @@ For instance:
|
|||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
Unlike UPS specifications in the rest of NUT, the @hostname portion is not optional \- it is the @ character which enables Repeater Mode\&. To refer to an UPS on the same host as \fBdummy\-ups\fR, use port = upsname@localhost\&.
|
||||
.SH "INTERACTION"
|
||||
.sp
|
||||
Once the driver is loaded in dummy mode, you can change any variables, except those of the driver\&.* and server\&.* collections\&. You can do this by either editing the definition file, or use the \fBupsrw\fR(1) and \fBupscmd\fR(1) commands\&.
|
||||
|
|
@ -124,9 +126,9 @@ Note that in simulation mode, new variables can be added on the fly, by adding t
|
|||
In repeater mode, the driver acts according to the capabilities of the UPS, and so support the same instant commands and settable values\&.
|
||||
.SH "BACKGROUND"
|
||||
.sp
|
||||
This driver was written in one evening to replace the previous dummycons testing driver\&. It was too limited and required to work from a terminal to interact\&.
|
||||
Dummy Mode was originally written in one evening to replace the previous dummycons testing driver, which was too limited, and required a terminal for interaction\&.
|
||||
.sp
|
||||
\fBdummy\-ups\fR is useful for NUT client development, and other testing purpose\&.
|
||||
\fBdummy\-ups\fR is useful for NUT client development, and other testing purposes\&.
|
||||
.sp
|
||||
It also helps the NUT Quality Assurance effort, by automating some tests on the NUT framework\&.
|
||||
.sp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue