Module: Yast::IscsiLioServerHelpsInclude

Defined in:
../../src/include/iscsi-lio-server/helps.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) initialize_iscsi_lio_server_helps(include_target)



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
192
# File '../../src/include/iscsi-lio-server/helps.rb', line 32

def initialize_iscsi_lio_server_helps(include_target)
  textdomain "iscsi-lio-server"

  # All helps are here
  @HELPS = {
    # Read dialog help 1/2
    "read"               => _(
      "<p><b><big>Initializing iSCSI LIO Target Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ) +
      # Read dialog help 2/2
      _(
        "<p><b><big>Aborting Initialization</big></b><br>\n" +
        "Safely abort the configuration utility by pressing <b>Abort</b> now.</p>\n"
      ),
    # Write dialog help 1/2
    "write"              => _(
      "<p><b><big>Saving iSCSI Target Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ) +
      # Write dialog help 2/2
      _(
        "<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 dialog help 1/3
    "summary"            => _(
      "<p><b><big>iSCSI Target Configuration</big></b><br>\nConfigure an iSCSI target here.<br></p>\n"
    ) +
      # Summary dialog help 2/3
      _(
        "<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"
      ) +
      # Summary dialog help 3/3
      _(
        "<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"
      ),
    # Ovreview dialog help 1/3
    "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"
    ) +
      # Ovreview dialog help 2/3
      _(
        "<p><b><big>Adding an iSCSI Target</big></b><br>\n" +
        "Press <b>Add</b> to configure an iSCSI target.</p>"
      ) +
      # Ovreview dialog help 3/3
      _(
        "<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"
      ),
    # Configure1 dialog help 1/2
    "c1"                 => _(
      "<p><b><big>Configuration Part One</big></b><br>\n" +
        "Press <b>Next</b> to continue.\n" +
        "<br></p>"
    ) +
      # Configure1 dialog help 2/2
      _(
        "<p><b><big>Selecting Something</big></b><br>\n" +
          "It is not possible. You must code it first. :-)\n" +
          "</p>"
      ),
    # Configure2 dialog help 1/2
    "c2"                 => _(
      "<p><b><big>Configuration Part Two</big></b><br>\n" +
        "Press <b>Next</b> to continue.\n" +
        "<br></p>\n"
    ) +
      # Configure2 dialog help 2/2
      _(
        "<p><b><big>Selecting Something</big></b><br>\n" +
          "It is not possible. You must code it first. :-)\n" +
          "</p>"
      ),
    # discovery authentication
    "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 client setup.
    "target-clnt"        => _(
       "<p>Use <b>Add</b> to give an initiator (iSCSI client) access to a LUN imported from\n" +
       " target portal group. Specify which initiator is allowed to connect (use <i>InitiatorName</i>\n"  +
       " from '/etc/iscsi/initiatorname.iscsi' on iSCSI initiator). <b>Delete</b> will remove the" +
       " initiator 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>." +
        " Please make sure to set different values for incoming and outgoing authentication.\n" +
        " 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 initiator access to the LUN.</p>"),
    # target dialog
    "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>."
    ),
    # edit target
    "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>",
    # add target
    "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 dialog
    "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
    "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."
      )
  } 

  # EOF
end