lib/fog/sakuracloud/models/volume/disk.rb in fog-sakuracloud-1.3.1 vs lib/fog/sakuracloud/models/volume/disk.rb in fog-sakuracloud-1.3.2

- old
+ new

@@ -30,9 +30,15 @@ requires :id service.configure_disk(@attributes[:id], sshkey_id ) true end + def carve_hostname_on_disk(hostname) + requires :id + service.carve_hostname_on_disk(@attributes[:id], hostname ) + true + end + def associate_ip(ipaddress, networkmasklen, defaultroute) subnet ={ :ipaddress => ipaddress, :networkmasklen => networkmasklen, :defaultroute => defaultroute