Node Groups now have id field
The id of a Node Group in a cluster is required when you try to get the Node Group name by id. Change-Id: I405c402550264c30285e4e4635188ededcda3ed4
This commit is contained in:
parent
3814c2796e
commit
b05903568c
@ -194,7 +194,7 @@ class NodeGroupResource(Resource, objects.NodeGroup):
|
||||
'node_group_template': (NodeGroupTemplateResource, None)
|
||||
}
|
||||
|
||||
_filter_fields = ['id', 'tenant_id', 'cluster_id', 'cluster_template_id',
|
||||
_filter_fields = ['tenant_id', 'cluster_id', 'cluster_template_id',
|
||||
'image_username', 'open_ports']
|
||||
|
||||
|
||||
|
@ -42,8 +42,10 @@ SAMPLE_CLUSTER_DICT = {
|
||||
'node_groups': [
|
||||
{
|
||||
'name': 'master',
|
||||
'id': 'some_id'
|
||||
},
|
||||
{
|
||||
'id': 'some_id',
|
||||
'name': 'worker',
|
||||
'node_processes': ['tasktracker', 'datanode'],
|
||||
'node_configs': {},
|
||||
|
Loading…
Reference in New Issue
Block a user