Merge pull request #1610 from wwitzel3/bug-1609

added region choice placeholders for Sat6/CloudForms
This commit is contained in:
Wayne Witzel III 2016-04-20 09:44:36 -04:00
commit 2f9e1be348

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