Move new fields attributes from host generated model to plain host model. Add normalization tests

This commit is contained in:
Carlos Alcaide Corvo committed 2022-02-09 08:55:10 -08:00
1 parent f8c4eb470f
commit 12277c5557
3 files changed
+75 -18

No files matched your search

-18
View File
@@ -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;
}