class Construqt::Flavour::Ubuntu::EtcNetworkIptables

Public Class Methods

new() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 73
def initialize
  @mangle = Section.new('mangle')
  @nat = Section.new('nat')
  @raw = Section.new('raw')
  @filter = Section.new('filter')
end

Public Instance Methods

commitv4() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 210
def commitv4
  mangle.commitv4+raw.commitv4+nat.commitv4+filter.commitv4
end
commitv6() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 214
def commitv6
  mangle.commitv6+raw.commitv6+nat.commitv6+filter.commitv6
end
filter() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 206
def filter
  @filter
end
mangle() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 194
def mangle
  @mangle
end
nat() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 202
def nat
  @nat
end
raw() click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 198
def raw
  @raw
end