Class: ChefVPCToolkit::CloudServersVPC::VpnNetworkInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ VpnNetworkInterface

Returns a new instance of VpnNetworkInterface.



14
15
16
17
18
19
20
21
22
23
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 14

def initialize(options={})

		@id=options[:id].to_i
		@vpn_ip_addr=options[:vpn_ip_addr]
		@ptp_ip_addr=options[:ptp_ip_addr]
		@client_key=options[:client_key]
		@client_cert=options[:client_cert]
		@ca_cert=options[:ca_cert]

end

Instance Attribute Details

#ca_certObject

Returns the value of attribute ca_cert.



12
13
14
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 12

def ca_cert
  @ca_cert
end

#client_certObject

Returns the value of attribute client_cert.



11
12
13
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 11

def client_cert
  @client_cert
end

#client_keyObject

Returns the value of attribute client_key.



10
11
12
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 10

def client_key
  @client_key
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 7

def id
  @id
end

#ptp_ip_addrObject

Returns the value of attribute ptp_ip_addr.



9
10
11
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 9

def ptp_ip_addr
  @ptp_ip_addr
end

#vpn_ip_addrObject

Returns the value of attribute vpn_ip_addr.



8
9
10
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb', line 8

def vpn_ip_addr
  @vpn_ip_addr
end