aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/manila-backend-netapp.yaml
blob: d4caedf0461769591d0cb1d68f0dba474e8c8bb3 (plain)
1
2
3
4
5
6
7
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
110
111
112
113
114
115
116
117
118
119
120
heat_template_version: pike

description: >
  Openstack Manila netapp backend.

parameters:
  ManilaNetappDriverHandlesShareServers:
    type: string
    default: true
  ManilaNetappBackendName:
    type: string
    default: tripleo_netapp
  ManilaNetappLogin:
    type: string
    default: ''
  ManilaNetappPassword:
    type: string
    default: ''
  ManilaNetappServerHostname:
    type: string
    default: ''
  ManilaNetappTransportType:
    type: string
    default: 'http'
  ManilaNetappStorageFamily:
    type: string
    default: 'ontap_cluster'
  ManilaNetappServerPort:
    type: number
    default: 80
  ManilaNetappVolumeNameTemplate:
    type: string
    default: 'share_%(share_id)s'
  ManilaNetappVserver:
    type: string
    default: ''
  ManilaNetappVserverNameTemplate:
    type: string
    default: 'os_%s'
  ManilaNetappLifNameTemplate:
    type: string
    default: 'os_%(net_allocation_id)s'
  ManilaNetappAggrNameSearchPattern:
    type: string
    default: '(.*)'
  ManilaNetappRootVolumeAggr:
    type: string
    default: ''
  ManilaNetappRootVolume:
    type: string
    default: 'root'
  ManilaNetappPortNameSearchPattern:
    type: string
    default: '(.*)'
  ManilaNetappTraceFlags:
    type: string
    default: ''
  ManilaNetappEnabledShareProtocols:
    type: string
    default: 'nfs3, nfs4.0'
  ManilaNetappVolumeSnapshotReservePercent:
    type: number
    default: 5
  ManilaNetappSnapmirrorQuiesceTimeout:
    type: number
    default: 3600
  ServiceData:
    default: {}
    description: Dictionary packing service data
    type: json
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json
  RoleName:
    default: ''
    description: Role name on which the service is applied
    type: string
  RoleParameters:
    default: {}
    description: Parameters specific to the role
    type: json
  EndpointMap:
    default: {}
    type: json
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.

outputs:
  role_data:
    description: Role data for the Manila Netapp backend.
    value:
      service_name: manila_backend_netapp
      config_settings:
        manila::backend::netapp::title: {get_param: ManilaNetappBackendName}
        manila::backend::netapp::netapp_login: {get_param: ManilaNetappLogin}
        manila::backend::netapp::driver_handles_share_servers: {get_param: ManilaNetappDriverHandlesShareServers}
        manila::backend::netapp::netapp_password: {get_param: ManilaNetappPassword}
        manila::backend::netapp::netapp_server_hostname: {get_param: ManilaNetappServerHostname}
        manila::backend::netapp::netapp_transport_type: {get_param: ManilaNetappTransportType}
        manila::backend::netapp::netapp_storage_family: {get_param: ManilaNetappStorageFamily}
        manila::backend::netapp::netapp_server_port: {get_param: ManilaNetappServerPort}
        manila::backend::netapp::netapp_volume_name_template: {get_param: ManilaNetappVolumeNameTemplate}
        manila::backend::netapp::netapp_vserver: {get_param: ManilaNetappVserver}
        manila::backend::netapp::netapp_vserver_name_template: {get_param: ManilaNetappVserverNameTemplate}
        manila::backend::netapp::netapp_lif_name_template: {get_param: ManilaNetappLifNameTemplate}
        manila::backend::netapp::netapp_aggregate_name_search_pattern: {get_param: ManilaNetappAggrNameSearchPattern}
        manila::backend::netapp::netapp_root_volume_aggregate: {get_param: ManilaNetappRootVolumeAggr}
        manila::backend::netapp::netapp_root_volume: {get_param: ManilaNetappRootVolume}
        manila::backend::netapp::netapp_port_name_search_pattern: {get_param: ManilaNetappPortNameSearchPattern}
        manila::backend::netapp::netapp_trace_flags: {get_param: ManilaNetappTraceFlags}
        manila::backend::netapp::netapp_enabled_share_protocols: {get_param: ManilaNetappEnabledShareProtocols}
        manila::backend::netapp::netapp_volume_snapshot_reserve_percent: {get_param: ManilaNetappVolumeSnapshotReservePercent}
        manila::backend::netapp::netapp_snapmirror_quiesce_timeout: {get_param: ManilaNetappSnapmirrorQuiesceTimeout}
      step_config: