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

feature #862: Deprecates publish/unpublish methods

This commit is contained in:
Ruben S. Montero 2012-01-06 01:45:04 +01:00
parent 5c033040aa
commit 409445ceb1
3 changed files with 14 additions and 12 deletions

View File

@ -94,8 +94,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
publish_desc = <<-EOT.unindent
Publishes the given Image. A public Image can be seen and used by other
Users in the Image's group
DEPRECATED, use chmod instead. Publishes the given Image. A public Image
can be seen and used by other users in the Image's group.
EOT
command :publish, publish_desc, [:range,:imageid_list] do
@ -105,8 +105,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
unpublish_desc = <<-EOT.unindent
Unpublishes the given Image. A private Image can't be used by any other
User
DEPRECATED, use chmod instead. Unpublishes the given Image. A private
Image can't be used by any other user.
EOT
command :unpublish, unpublish_desc, [:range,:imageid_list] do

View File

@ -126,8 +126,9 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
publish_desc = <<-EOT.unindent
Publishes the given Template. A public Template can be seen and
instantiated by other Users in the Template's group
DEPRECATED, use chmod instead. Publishes the given Template. A public
Template can be seen and instantiated by other users in the Template's
group.
EOT
command :publish, publish_desc, [:range,:templateid_list] do
@ -137,8 +138,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
unpublish_desc = <<-EOT.unindent
Unpublishes the given Template. A private Template can't be
instantiated by any other User
DEPRECATED, use chmod instead. Unpublishes the given Template. A private
Template can't be instantiated by any other user.
EOT
command :unpublish, unpublish_desc, [:range,:templateid_list] do

View File

@ -130,8 +130,9 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
publish_desc = <<-EOT.unindent
Publishes the given Virtual Network. A public Virtual Network can be
seen and used by other Users in the Virtual Network's group
DEPRECATED, use chmod instead. Publishes the given Virtual Network.
A public Virtual Network can be seen and used by other users in the
Virtual Network's group.
EOT
command :publish, publish_desc, [:range,:vnetid_list] do
@ -141,8 +142,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
unpublish_desc = <<-EOT.unindent
Unpublishes the given Virtual Network. A private Virtual Network
can't be used by any other User
DEPRECATED, use chmod instead. Unpublishes the given Virtual Network. A
private Virtual Network can't be used by any other user.
EOT
command :unpublish, unpublish_desc, [:range,:vnetid_list] do