fog--fog/lib/fog/cloudsigma/models/rule.rb

19 lines
531 B
Ruby
Raw Normal View History

2013-09-16 13:08:45 +00:00
require 'fog/cloudsigma/nested_model'
module Fog
module Compute
class CloudSigma
class Rule < Fog::CloudSigma::CloudsigmaModel
attribute :action, :type => :string
attribute :comment, :type => :string
attribute :direction, :type => :string
attribute :dst_ip, :type => :string
attribute :dst_port, :type => :integer
attribute :ip_proto, :type => :string
attribute :src_ip, :type => :string
attribute :src_port, :type => :string
end
end
end
end