Module: AwsExtensions::EC2::DhcpOptions

Defined in:
lib/aws_extensions/ec2/DhcpOptions.rb

Instance Method Summary collapse

Instance Method Details

#domain_nameObject

Public: Returns the value of domain-name



11
12
13
# File 'lib/aws_extensions/ec2/DhcpOptions.rb', line 11

def domain_name
  get_attribute_values("domain-name").first
end

#domain_name_serversObject

Public: Returns the value of the domain-name-servers



6
7
8
# File 'lib/aws_extensions/ec2/DhcpOptions.rb', line 6

def domain_name_servers
  get_attribute_values("domain-name-servers")
end

#netbios_name_serversObject

Public: Returns the value of netbios-name-servers



21
22
23
# File 'lib/aws_extensions/ec2/DhcpOptions.rb', line 21

def netbios_name_servers
  get_attribute_values("netbios-name-servers")
end

#netbios_node_typeObject

Public: Returns the value of netbios-node-type



26
27
28
# File 'lib/aws_extensions/ec2/DhcpOptions.rb', line 26

def netbios_node_type
  get_attribute_values("netbios-node-type").first
end

#ntp_serversObject

Public: Returns the value of ntp-servers if set



16
17
18
# File 'lib/aws_extensions/ec2/DhcpOptions.rb', line 16

def ntp_servers
  get_attribute_values("ntp-servers")
end