2013-03-01 14:26:52 -06:00
|
|
|
require 'fog/core/model'
|
|
|
|
|
|
|
|
module Fog
|
|
|
|
module HP
|
|
|
|
class LB
|
2013-03-06 11:01:54 -06:00
|
|
|
class VirtualIp < Fog::Model
|
2013-03-01 14:26:52 -06:00
|
|
|
identity :id
|
2013-03-06 10:28:47 -06:00
|
|
|
|
|
|
|
attribute :address
|
2013-10-15 17:35:30 -04:00
|
|
|
attribute :ip_version, :alias => 'ipVersion'
|
2013-03-06 10:28:47 -06:00
|
|
|
attribute :type
|
2013-10-15 17:35:30 -04:00
|
|
|
|
|
|
|
def destroy
|
|
|
|
raise Fog::HP::LB::NotFound.new('Operation not allowed.')
|
|
|
|
end
|
|
|
|
|
|
|
|
def create(params)
|
|
|
|
raise Fog::HP::LB::NotFound.new('Operation not allowed.')
|
|
|
|
end
|
|
|
|
|
|
|
|
def save
|
|
|
|
raise Fog::HP::LB::NotFound.new('Operation not allowed.')
|
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def load_balancer
|
|
|
|
collection.load_balancer
|
|
|
|
end
|
|
|
|
|
2013-03-01 14:26:52 -06:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2013-05-22 08:03:55 -06:00
|
|
|
end
|