149
148
"""Ensure that the flags we care about are set."""
150
149
required_flags = ['netapp_wsdl_url', 'netapp_login', 'netapp_password',
152
151
for flag in required_flags:
153
152
if not getattr(FLAGS, flag, None):
154
153
raise exception.InvalidInput(reason=_('%s is not set') % flag)
155
154
if not (FLAGS.netapp_storage_service or
156
155
FLAGS.netapp_storage_service_prefix):
161
162
def do_setup(self, context):
162
163
"""Setup the NetApp Volume driver.