# File lib/fog/rackspace/requests/networking_v2/create_subnet.rb, line 5 def create_subnet(subnet) data = {:subnet => subnet.attributes} request( :method => 'POST', :body => Fog::JSON.encode(data), :path => "subnets", :expects => 201 ) end