Sha256: 121d384528be4f7b8c417c41db0eb0cc1810d1749a0c8e91b0a76e8b199db6f4

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a static route
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createStaticRoute.html]
        def create_static_route(cidr, gatewayid, options={})
          options.merge!(
            'command' => 'createStaticRoute', 
            'cidr' => cidr, 
            'gatewayid' => gatewayid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/create_static_route.rb