Class: ChefVPCToolkit::CloudServersVPC::VpnNetworkInterface
- Inherits:
-
Object
- Object
- ChefVPCToolkit::CloudServersVPC::VpnNetworkInterface
- Defined in:
- lib/chef-vpc-toolkit/cloud-servers-vpc/vpn_network_interface.rb
Instance Attribute Summary collapse
-
#ca_cert ⇒ Object
Returns the value of attribute ca_cert.
-
#client_cert ⇒ Object
Returns the value of attribute client_cert.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ptp_ip_addr ⇒ Object
Returns the value of attribute ptp_ip_addr.
-
#vpn_ip_addr ⇒ Object
Returns the value of attribute vpn_ip_addr.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ VpnNetworkInterface
constructor
A new instance of VpnNetworkInterface.
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(={}) @id=[:id].to_i @vpn_ip_addr=[:vpn_ip_addr] @ptp_ip_addr=[:ptp_ip_addr] @client_key=[:client_key] @client_cert=[:client_cert] @ca_cert=[:ca_cert] end |
Instance Attribute Details
#ca_cert ⇒ Object
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_cert ⇒ Object
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_key ⇒ Object
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 |
#id ⇒ Object
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_addr ⇒ Object
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_addr ⇒ Object
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 |