Add evertz ev670 #234
Annotations
2 errors
test:
tests/definitions_test.py#L159
test_definitions[module-types/Evertz/ev670-X30-HW-V2.yaml-schema3-A]
Failed: module-types/Evertz/ev670-X30-HW-V2.yaml failed validation: Additional properties are not allowed ('front_image', 'is_full_depth' were unexpected)
Failed validating 'additionalProperties' in schema:
{'type': 'object',
'properties': {'manufacturer': {'type': 'string'},
'model': {'type': 'string'},
'part_number': {'type': 'string'},
'weight': {'$ref': 'reusable.json#/definitions/weight'},
'weight_unit': {'$ref': 'generated_schema.json#/definitions/weight-unit'},
'console-ports': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/console-port'}},
'console-server-ports': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/console-server-port'}},
'power-ports': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/power-port'}},
'power-outlets': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/power-outlet'}},
'interfaces': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/interface'}},
'front-ports': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/front-port'}},
'rear-ports': {'type': 'array',
'items': {'$ref': 'components.json#/definitions/rear-port'}},
'description': {'type': 'string'},
'comments': {'type': 'string'}},
'required': ['manufacturer', 'model'],
'additionalProperties': False}
On instance:
{'manufacturer': 'Evertz',
'model': 'ev670-X30-HW-V2',
'description': 'Virtualized Media Processing Platform',
'is_full_depth': True,
'front_image': True,
'interfaces': [{'name': '{module}.CTRL 2A',
'type': '1000base-t',
'mgmt_only': True},
{'name': '{module}.CTRL 2B',
'type': '1000base-t',
'mgmt_only': True},
{'name': '{module}.LINK 1A',
'type': '100gbase-x-qsfp28'},
{'name': '{module}.LINK 1B',
'type': '100gbase-x-qsfp28'},
{'name': '{module}.LINK 2A',
'type': '100gbase-x-qsfp28'},
{'name': '{module}.LINK 2B',
'type': '100gbase-x-qsfp28'},
{'name': '{module}.LINK 3A',
'type': '100gbase-x-qsfp28'},
{'name': '{module}.LINK 3B',
'type': '100gbase-x-qsfp28'}]}
|
test
Process completed with exit code 1.
|