Class: PuppetX::VMware::Mapper::HostInternetScsiHbaSendTargetMap

Inherits:
Map
  • Object
show all
Defined in:
lib/puppet_x/vmware/mapper/host_internet_scsi_hba_send_target_map.rb

Instance Attribute Summary

Attributes inherited from Map

#leaf_list, #node_list

Instance Method Summary collapse

Methods inherited from Map

#annotate_is_now, #objectify

Constructor Details

#initializeHostInternetScsiHbaSendTargetMap

Returns a new instance of HostInternetScsiHbaSendTargetMap.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/puppet_x/vmware/mapper/host_internet_scsi_hba_send_target_map.rb', line 8

def initialize
  @initTree = {
    Node => NodeData[
      :node_type => 'HostInternetScsiHbaSendTarget',
    ],
    :address => LeafData[
      :desc => "IP address or name of the storage device",
    ],
    :advancedOptions => LeafData[
      :prop_name => PROP_NAME_IS_FULL_PATH,
      :olio => {
        Puppet::Property::VMware_Array_VIM_Object => {
          :property_option => {
            :type => 'HostInternetScsiHbaParamValue',
            :array_matching => :all,
            :comparison_scope => :array_element,
            :key => [:key],
          },
        },
      },
    ],
    :authenticationProperties => {
    	Node => NodeData[
        :node_type => 'HostInternetScsiHbaAuthenticationProperties',
      ],
      :chapAuthEnabled => LeafData[
      	:prop_name => PROP_NAME_IS_FULL_PATH,
      	:desc => "True if CHAP is currently enabled",
      	:valid_enum => [:true, :false]
      ],
      :chapAuthenticationType => LeafData[
      	:prop_name => PROP_NAME_IS_FULL_PATH,
      	:desc => "The preference for CHAP or non-CHAP protocol if CHAP is enabled"
  	  ],
  	  :chapInherited => LeafData[
  	  	:prop_name => PROP_NAME_IS_FULL_PATH,
  	  	:desc => "CHAP settings are inherited",
  	  	:valid_enum => [:true, :false]
  	  ],
  	  :chapName => LeafData[
  	  	:prop_name => PROP_NAME_IS_FULL_PATH,
  	  	:desc => "The CHAP user name if enabled"
	  	],
	  	:chapSecret => LeafData[
  	  	:prop_name => PROP_NAME_IS_FULL_PATH,
  	  	:desc => "The CHAP secret if enabled"
	  	],
	  	:mutualChapAuthenticationType => LeafData[
      	:prop_name => PROP_NAME_IS_FULL_PATH,
      	:desc => "The preference for CHAP or non-CHAP protocol if CHAP is enabled"
  	  ],
  	  :mutualChapInherited => LeafData[
  	  	:prop_name => PROP_NAME_IS_FULL_PATH,
  	  	:desc => "Mutual-CHAP settings are inherited",
  	  	:valid_enum => [:true, :false]
	  	],
	  	:mutualChapName => LeafData[
      	:prop_name => PROP_NAME_IS_FULL_PATH,
      	:desc => "When Mutual-CHAP is enabled, the user name that target "\
                  "needs to use to authenticate with the initiator"
  	  ],
  	  :mutualChapSecret => LeafData[
      	:prop_name => PROP_NAME_IS_FULL_PATH,
      	:desc => "When Mutual-CHAP is enabled, the secret that target "\
                  "needs to use to authenticate with the initiator"
  	  ]
  	},
  	:digestProperties => {
      Node => NodeData[
        :node_type => 'HostInternetScsiHbaDigestProperties'
      ],
      :dataDigestInherited => LeafData[
        :prop_name => PROP_NAME_IS_FULL_PATH,
        :desc => "Data digest setting is inherited",
        :valid_enum => [:true, :false]
      ],
      :dataDigestType => LeafData[
        :prop_name => PROP_NAME_IS_FULL_PATH,
        :desc => "The data digest preference if data digest is enabled"
      ],
      :headerDigestInherited => LeafData[
        :prop_name => PROP_NAME_IS_FULL_PATH,
        :desc => "Header digest setting is inherited",
        :valid_enum => [:true, :false]
      ],
      :headerDigestType => LeafData[
        :prop_name => PROP_NAME_IS_FULL_PATH,
        :desc => "The header digest preference if header digest is enabled"
      ]
    },
    :parent => LeafData[
      :desc => "The device name of the host bus adapter from which "\
                "settings can be inherited."
    ],
    :port => LeafData[
      :desc => "The TCP port of the storage device. If not specified, the "\
                "standard default of 3260 is used.",
      :munge => PuppetX::VMware::Mapper::munge_to_i,
    ]
  }
  super
end