added region choice placeholders for Sat6/CloudForms

This commit is contained in:
Wayne Witzel III 2016-04-20 09:43:31 -04:00
parent 070555b6ba
commit fe75d164a7

View File

@ -981,6 +981,16 @@ class InventorySourceOptions(BaseModel):
"""I don't think openstack has regions"""
return [('all', 'All')]
@classmethod
def get_foreman_region_choices(self):
"""Red Hat Satellite 6 region choices (not implemented)"""
return [('all', 'All')]
@classmethod
def get_cloudforms_region_choices(self):
"""Red Hat CloudForms region choices (not implemented)"""
return [('all', 'All')]
def clean_credential(self):
if not self.source:
return None