mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
added region choice placeholders for Sat6/CloudForms
This commit is contained in:
@@ -981,6 +981,16 @@ class InventorySourceOptions(BaseModel):
|
|||||||
"""I don't think openstack has regions"""
|
"""I don't think openstack has regions"""
|
||||||
return [('all', 'All')]
|
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):
|
def clean_credential(self):
|
||||||
if not self.source:
|
if not self.source:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user