1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #-: Fix lock/unlock description (#1716)

This commit is contained in:
Pavel Czerný 2022-02-01 17:27:08 +01:00 committed by GitHub
parent 605fc8d339
commit 39ea3c5a8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 29 additions and 26 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1338,9 +1338,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],
@ -1362,7 +1365,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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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