32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
|
# File '../../src/include/iscsi-lio-server/helps.rb', line 32
def initialize_iscsi_lio_server_helps(include_target)
textdomain "iscsi-lio-server"
@HELPS = {
"read" => _(
"<p><b><big>Initializing iSCSI LIO Target Configuration</big></b><br>\nPlease wait...<br></p>\n"
) +
_(
"<p><b><big>Aborting Initialization</big></b><br>\n" +
"Safely abort the configuration utility by pressing <b>Abort</b> now.</p>\n"
),
"write" => _(
"<p><b><big>Saving iSCSI Target Configuration</big></b><br>\nPlease wait...<br></p>\n"
) +
_(
"<p><b><big>Aborting Saving:</big></b><br>\n" +
"Abort the save procedure by pressing <b>Abort</b>.\n" +
"An additional dialog informs whether it is safe to do so.\n" +
"</p>\n"
),
"save_configuration" => _(
"<p><b>Save</b> button will export some information about\ntargets into selected file.</p>"
),
"summary" => _(
"<p><b><big>iSCSI Target Configuration</big></b><br>\nConfigure an iSCSI target here.<br></p>\n"
) +
_(
"<p><b><big>Adding an iSCSI Target</big></b><br>\n" +
"Choose an iSCSI target from the list of detected iSCSI targets.\n" +
"If your target was not detected, use <b>Other (not detected)</b>.\n" +
"Then press <b>Configure</b>.</p>\n"
) +
_(
"<p><b><big>Editing or Deleting</big></b><br>\n" +
"If you press <b>Edit</b>, an additional dialog in which to change\n" +
"the configuration opens.</p>\n"
),
"overview" => _(
"<p><b><big>iSCSI Target Configuration Overview</big></b><br>\n" +
"Obtain an overview of installed iSCSI targets. Additionally\n" +
"edit their configurations.<br></p>\n"
) +
_(
"<p><b><big>Adding an iSCSI Target</big></b><br>\n" +
"Press <b>Add</b> to configure an iSCSI target.</p>"
) +
_(
"<p><b><big>Editing or Deleting</big></b><br>\n" +
"Choose an iSCSI target to change or remove.\n" +
"Then press <b>Edit</b> or <b>Delete</b> as desired.</p>\n"
),
"c1" => _(
"<p><b><big>Configuration Part One</big></b><br>\n" +
"Press <b>Next</b> to continue.\n" +
"<br></p>"
) +
_(
"<p><b><big>Selecting Something</big></b><br>\n" +
"It is not possible. You must code it first. :-)\n" +
"</p>"
),
"c2" => _(
"<p><b><big>Configuration Part Two</big></b><br>\n" +
"Press <b>Next</b> to continue.\n" +
"<br></p>\n"
) +
_(
"<p><b><big>Selecting Something</big></b><br>\n" +
"It is not possible. You must code it first. :-)\n" +
"</p>"
),
"global_config" => _(
"Select the type of authentication. Use <b>No Authentication</b> or one of <b>Incoming</b>" +
" and <b>Outgoing</b> (can be both together). Then insert <b>User</b> and <b>Password</b>."
),
"target-clnt" => _(
"<p>Use <b>Add</b> to give a client access for a LUN imported from target portal group." +
" Specify which client is allowed to access it (client name is <i>InitiatorName</i> in" +
" '/etc/iscsi/initiatorname.iscsi' on iscsi initiator). <b>Delete</b> will remove the" +
" client access to the LUN.</p>"
) +
_(
"<p>With <b>Edit LUN</b> one can modify the LUN mapping. Please note that LUN target number" +
" must be unique.<br>After pressing <b>Edit Auth</b>, select the type of authentication." +
" Use <b>Incoming</b>, <b>Outgoing</b> or both together. Then insert <b>User</b> and <b>Password</b>." +
" If <b>Use Authentication</b> is disabled in previous dialog, <b>Edit Auth</b> is disabled here.</p>"
) +
_( "<p><b>Copy</b> offers the possibility to give an additional client access to the LUN.</p>"),
"server_table" => _(
"List of offered targets and target portal groups. Create a new target by clicking <b>Add</b>.\n" +
"To delete or modify an item, select it and press <b>Edit</b> or <b>Delete</b>."
),
"target-modify" => _(
"<h1>iSCSI Target IP/Port and LUN setup</h1>"
) + "<p>" +
_(
"It is possible to make arbitary block devices or files available under a <b>LUN</b>.\n" +
"You have to provide <b>path</b> to either block devices or file. \n" +
"The <b>LUN name</b> is an arbitrary name to uniquely identify the <b>LUN</b>. \n" +
"The name needs to be unique within the target portal group. If the user\n" +
"does not provide a name for LUN, it is generated automatically."
) + "</p>" + "<p>" +
_(
"<p>Under <b>Ip Address</b> and <b>Port Number</b> you specify under which address\n" +
"and port the service will be available. Default for port number is 3260.\n" +
"Only ip addresses assigned to one of the network cards are possible."
) + "</p>",
"target-add" => _(
"<h1>iSCSI Target IP/Port and LUN setup</h1>"
) + "<p>" +
_(
"Create a new target. Replace template values with the correct values."
) + "</p>" +
_(
"It is possible to make arbitary block devices or files available under a lun.\n" +
"You have to provide <b>path</b> to either block devices or file. \n" +
"The <b>LUN name</b> is an arbitrary name to uniquely identify the <b>LUN</b>. \n" +
"The name needs to be unique within the target portal group. If the user\n" +
"does not provide a name for LUN, it is generated automatically."
) + "</p>" + "<p>" +
_(
"<p>Under <b>Ip Address</b> and <b>Port Number</b> you specify under which address\n" +
"and port the service will be available. Default for port number is 3260.\n" +
"Only ip addresses assigned to one of the network cards are possible."
) + "</p>",
"expert" => _("<h1>iSCSI Target</h1>") +
_(
"It is possible to <b>add</b>, <b>edit</b> or <b>delete</b> all additional configuration options."
),
"lun-details" => _("<h1>iSCSI Target</h1>") +
_(
"Edit <b>LUN</b> number if needed, set <b>Type</b> (nullio is for testing purposes).\n" +
"If Type=fileio set <b>Path</b> to disk device or file.<b>SCSI ID</b> and <b>Sectors</b> are optional."
)
}
end
|