mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #-: Fix lock/unlock description (#1716)
(cherry picked from commit 39ea3c5a8c)
This commit is contained in:
1 parent
982e09706f
commit
3a3798a239
9 files changed
+29
-26
No files matched your search
+2
-2
@@ -256,8 +256,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a Hook with differents levels for lock any actions with this Hook,
|
||||
show and monitoring never will be locked.
|
||||
Locks a Hook to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
|
||||
+3
-3
@@ -436,8 +436,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM, show and
|
||||
monitoring never will be locked.
|
||||
Locks an Image to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -464,7 +464,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks an Image.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
@@ -440,8 +440,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM,
|
||||
show and monitoring never will be locked.
|
||||
Locks a marketplace app to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -470,7 +470,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks a marketplace app.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
+3
-3
@@ -406,8 +406,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM,
|
||||
show and monitoring never will be locked.
|
||||
Locks a Template to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -434,7 +434,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks a Template.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
+6
-3
@@ -1368,9 +1368,12 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM, show and
|
||||
monitoring never will be locked.
|
||||
Locks a VM to prevent certain actions defined by different levels.
|
||||
The show and monitoring action will never be locked.
|
||||
Valid states are: All.
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
[Manage]: locks Manage and Use actions.
|
||||
[Admin]: locks only Admin actions.
|
||||
EOT
|
||||
|
||||
command :lock, lock_desc, [:range, :vmid_list],
|
||||
@@ -1392,7 +1395,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks a Virtual Machine.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
+3
-3
@@ -233,8 +233,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM, show and
|
||||
monitoring never will be locked.
|
||||
Locks a VM Group to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -261,7 +261,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks a VM Group.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
+3
-3
@@ -381,8 +381,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM, show and
|
||||
monitoring never will be locked.
|
||||
Locks a Virtual Network to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -409,7 +409,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks a Virtual Network.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
@@ -341,8 +341,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VN template with differents levels for lock any actions with this VN template,
|
||||
show and monitoring never will be locked.
|
||||
Locks a VN Template to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -369,7 +369,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VN template for unlock any actions with this VN template.
|
||||
Unlocks a VN Template.
|
||||
Valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
+3
-3
@@ -366,8 +366,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
lock_desc = <<-EOT.unindent
|
||||
Locks a VM with differents levels for lock any actions with this VM, show and
|
||||
monitoring never will be locked.
|
||||
Locks a Virtual Router to prevent certain actions defined by different levels.
|
||||
The show action will never be locked.
|
||||
Valid states are: All.
|
||||
Levels:
|
||||
[Use]: locks Admin, Manage and Use actions.
|
||||
@@ -394,7 +394,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
unlock_desc = <<-EOT.unindent
|
||||
Unlocks a VM for unlock any actions with this VM.
|
||||
Unlocks a Virtual Router.
|
||||
valid states are: All.
|
||||
EOT
|
||||
|
||||
|
||||
Reference in new issue
Block a user