Added networks_skip_config parameter to the roles file

For networks under this parameter ports would be created,
but configuration would be skipped for the nodes with the
role.

Change-Id: Icb41f17cea2e0b22b3eb7f2a3bce0845a6b03357
Closes-Bug: 1750369
This commit is contained in:
hanish gogada 2018-02-20 17:02:26 +05:30
parent 597608db7b
commit ffbe41a06e
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ def validate_role_yaml(role_data=None, role_path=None):
'tags': {'type': list},
'description': {'type': six.string_types},
'networks': {'type': list},
'networks_skip_config': {'type': list},
}
if 'name' not in role: