    # File lib/fog/ecloud/models/compute/virtual_machine_assigned_ip.rb, line 14
            def network=(network)
              network = network.dup
              network_address = network[:Network]
              @network = self.service.networks.new(network_address)
              network_id = @network.href.match(/(\d+)$/)[1]
              address_ip = network_address[:IpAddresses][:IpAddress]
              @address = self.service.ip_addresses.new(
                :href => "/cloudapi/ecloud/ipaddresses/networks/#{network_id}/#{address_ip}",
                :name => address_ip
              )
            end