Class: Bosh::Director::DeploymentPlan::DynamicNetworkSubnet

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh/director/deployment_plan/dynamic_network_subnet.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dns, cloud_properties, availability_zone_names) ⇒ DynamicNetworkSubnet

Returns a new instance of DynamicNetworkSubnet.



4
5
6
7
8
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 4

def initialize(dns, cloud_properties, availability_zone_names)
  @dns = dns
  @cloud_properties = cloud_properties
  @availability_zone_names = availability_zone_names.nil? ? nil : availability_zone_names
end

Instance Attribute Details

#availability_zone_namesObject (readonly)

Returns the value of attribute availability_zone_names.



10
11
12
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 10

def availability_zone_names
  @availability_zone_names
end

#cloud_propertiesObject (readonly)

Returns the value of attribute cloud_properties.



10
11
12
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 10

def cloud_properties
  @cloud_properties
end

#dnsObject (readonly)

Returns the value of attribute dns.



10
11
12
# File 'lib/bosh/director/deployment_plan/dynamic_network_subnet.rb', line 10

def dns
  @dns
end