Class: Construqt::Services::DhcpV4Relay

Inherits:
Object
  • Object
show all
Defined in:
lib/construqt/services.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, inbound_tag, upstream_tag) ⇒ DhcpV4Relay

Returns a new instance of DhcpV4Relay.



13
14
15
16
17
# File 'lib/construqt/services.rb', line 13

def initialize(name, inbound_tag, upstream_tag)
  @name = name
  @inbound_tag = inbound_tag
  @upstream_tag = upstream_tag
end

Instance Attribute Details

#inbound_tagObject (readonly)

Returns the value of attribute inbound_tag.



11
12
13
# File 'lib/construqt/services.rb', line 11

def inbound_tag
  @inbound_tag
end

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/construqt/services.rb', line 11

def name
  @name
end

#servicesObject

Returns the value of attribute services.



12
13
14
# File 'lib/construqt/services.rb', line 12

def services
  @services
end

#upstream_tagObject (readonly)

Returns the value of attribute upstream_tag.



11
12
13
# File 'lib/construqt/services.rb', line 11

def upstream_tag
  @upstream_tag
end