- ],
- "mgmt-interface": {
- "cp": "eth0"
- },
- "scaling-group-descriptor": [
- {
- "name": "scale_cirros_vnfd-VM",
- "min-instance-count": 1,
- "vdu": [
- {
- "count": 1,
- "vdu-id-ref": "cirros_vnfd-VM"
- }
- ],
- "max-instance-count": 10,
- "scaling-policy": [
- {
- "name": "auto_memory_util_above_threshold",
- "scaling-type": "automatic",
- "cooldown-time": 60,
- "threshold-time": 10,
- "scaling-criteria": [
- {
- "name": "group1_memory_util_above_threshold",
- "vnf-monitoring-param-ref": "cirros_vnf_memory_util",
- "scale-out-threshold": 80,
- "scale-out-relational-operation": "GT",
- "scale-in-relational-operation": "LT",
- "scale-in-threshold": 20
- }
- ]
- }
- ]
+ }],
+ 'sw-image-desc': [{
+ 'id': 'cirros034',
+ 'name': 'cirros034',
+ 'image': 'cirros034'
+ }],
+ 'vdu': [{
+ 'id': 'cirros_vnfd-VM',
+ 'description': 'cirros_vnfd-VM',
+ 'name': 'cirros_vnfd-VM',
+ 'alarm': [{
+ 'value': 20.0,
+ 'actions': {
+ 'insufficient-data': [{
+ 'url': 'localhost:9090'
+ }],
+ 'ok': [{
+ 'url': 'localhost:9090'
+ }],
+ 'alarm': [{
+ 'url': 'localhost:9090'
+ }]
+ },
+ 'alarm-id': 'alarm-1',
+ 'operation': 'LT',
+ 'vnf-monitoring-param-ref': 'cirros_vnf_memory_util'
+ }],
+ 'sw-image-desc': 'cirros034',
+ 'virtual-compute-desc': 'cirros_vnfd-VM-compute',
+ 'virtual-storage-desc': ['cirros_vnfd-VM-storage'],
+ 'int-cpd': [{
+ 'id': 'eth0-int',
+ 'virtual-network-interface-requirement': [{
+ 'name': 'eth0',
+ 'virtual-interface': {
+ 'bandwidth': '0',
+ 'type': 'VIRTIO',
+ 'vpci': '0000:00:0a.0'}
+ }]
+ }],
+ 'monitoring-parameter': [{
+ 'id': 'cirros_vnf_memory_util',
+ 'name': 'cirros_vnf_memory_util',
+ 'performance-metric': 'average_memory_utilization'
+ }]
+ }],
+ 'df': [{
+ 'id': 'default-df',
+ 'vdu-profile': [{
+ 'id': 'cirros_vnfd-VM',
+ 'min-number-of-instances': 1,
+ 'max-number-of-instances': 10,
+ 'vdu-configuration-id': 'cirros_vnfd-VM-vdu-configuration'
+ }],
+ 'instantiation-level': [{
+ 'id': 'default-instantiation-level',
+ 'vdu-level': [{
+ 'vdu-id': 'cirros_vnfd-VM',
+ 'number-of-instances': 1}]
+ }],
+ 'scaling-aspect': [{
+ 'id': 'scale_cirros_vnfd-VM',
+ 'name': 'scale_cirros_vnfd-VM',
+ 'max-scale-level': 10,
+ 'scaling-policy': [{
+ 'name': 'auto_memory_util_above_threshold',
+ 'scaling-type': 'automatic',
+ 'cooldown-time': 60,
+ 'threshold-time': 10,
+ 'scaling-criteria': [{
+ 'name': 'group1_memory_util_above_threshold',
+ 'vnf-monitoring-param-ref': 'cirros_vnf_memory_util',
+ 'scale-out-threshold': 80,
+ 'scale-out-relational-operation': 'GT',
+ 'scale-in-relational-operation': 'LT',
+ 'scale-in-threshold': 20
+ }]
+ }],
+ 'aspect-delta-details': {
+ 'deltas': [{
+ 'id': 'scale_cirros_vnfd-VM-delta',
+ 'vdu-delta': [{
+ 'number-of-instances': 1,
+ 'id': 'cirros_vnfd-VM'}]
+ }]
+ }
+ }]
+ }],
+ 'ext-cpd': [{
+ 'id': 'eth0-ext',
+ 'int-cpd': {
+ 'vdu-id': 'cirros_vnfd-VM',
+ 'cpd': 'eth0-int'