lib/infoblox/resource/ipv4address.rb in infoblox-0.3.2 vs lib/infoblox/resource/ipv4address.rb in infoblox-0.3.3
- old
+ new
@@ -1,26 +1,33 @@
module Infoblox
class Ipv4address < Resource
- attr_accessor :dhcp_client_identifier,
- :ip_address,
- :is_conflict,
- :lease_state,
- :mac_address,
- :names,
- :network,
- :network_view,
- :objects,
- :status,
- :types,
- :usage,
- :username
+ remote_attr_reader :dhcp_client_identifier,
+ :ip_address,
+ :is_conflict,
+ :lease_state,
+ :mac_address,
+ :names,
+ :network,
+ :network_view,
+ :objects,
+ :status,
+ :types,
+ :usage,
+ :username
+ remote_attr_accessor :extattrs, :extensible_attributes
+
wapi_object "ipv4address"
def delete
raise "Not supported"
end
+ ##
+ # as per the WAPI doc:
+ # This object is created only as part of the record.host object,
+ # it cannot be created directly.
+ #
def create
raise "Not supported"
end
def modify