Sha256: ba5d777894b7d5f9a29a78bb90e06f682098ec374fefb292d1947942a80bdba9

Contents?: true

Size: 367 Bytes

Versions: 7

Compression:

Stored size: 367 Bytes

Contents

module Fog
  module Compute
    class XenServer
      class Real
        def create_vlan(config = {}, extra_params = {})
          @connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VLAN.create" },
                              extra_params[:pif_ref], config[:tag].to_s, extra_params[:network_ref])
        end
      end
    end
  end
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/create_vlan.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/create_vlan.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/create_vlan.rb
fog-xenserver-0.3.0 lib/fog/compute/xen_server/requests/create_vlan.rb
fog-xenserver-0.2.3 lib/fog/compute/xen_server/requests/create_vlan.rb
fog-xenserver-0.2.2 lib/fog/compute/xen_server/requests/create_vlan.rb
fog-xenserver-0.2.1 lib/fog/compute/xen_server/requests/create_vlan.rb