Move new fields attributes from host generated model to plain host model. Add normalization tests
This commit is contained in:
1 parent
f8c4eb470f
commit
12277c5557
3 files changed
+75
-18
No files matched your search
@@ -44,27 +44,9 @@ export default class GeneratedHostModel extends BaseModel {
|
||||
})
|
||||
version;
|
||||
|
||||
@attr({
|
||||
description: 'Attributes specific to the host type',
|
||||
})
|
||||
attributes;
|
||||
|
||||
@attr('string', {
|
||||
description: 'The address (DNS or IP name) used to reach the host',
|
||||
isNestedAttribute: true,
|
||||
})
|
||||
address;
|
||||
|
||||
@attr({
|
||||
description: 'Plugin information for this resource.',
|
||||
readOnly: true,
|
||||
})
|
||||
plugin;
|
||||
|
||||
@attr('string', {
|
||||
description: '',
|
||||
readOnly: true,
|
||||
isNestedAttribute: true,
|
||||
})
|
||||
external_id;
|
||||
}
|
||||
Reference in new issue
Block a user