aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
blob: 75f9e2f939df7fefef6039a8c677149468d2e572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

tosca_definitions_version: tosca_simple_openecomp_1_0

metadata:
  filename: openecomp-heat/nodes.yml
  version: '1.0'

imports:
- heat_index:
    file: _index.yml

node_types:

  org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute:
    derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
    properties:
      availability_zone:
        description: Availability zone to create servers in
        type: string
        status: SUPPORTED
        required: false
      static_routes_list:
        description: Static routes enabled
        type: list
        status: SUPPORTED
        entry_schema:
          type: boolean
        required: false
      availability_zone_enable:
        description: Indicates availability zone is enabled
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      service_template_name:
        description: Service template name
        type: string
        status: SUPPORTED
        required: false
      ordered_interfaces:
        description: Indicates if service interface are ordered
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      flavor:
        description: flavor
        type: string
        status: SUPPORTED
        required: false
      image_name:
        description: Image name
        type: string
        status: SUPPORTED
        required: true
      service_type:
        description: Service type
        type: string
        status: SUPPORTED
        required: true
        constraints:
        - valid_values:
          - firewall
          - analyzer
          - source-nat
          - loadbalancer
      service_interface_type_list:
        description: List of interface types
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
          constraints:
          - valid_values:
            - management
            - left
            - right
            - other
        required: true
      service_instance_name:
        description: Service instance name
        type: string
        status: SUPPORTED
        required: true
      interface_list:
        description: List of interfaces
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.contrail.InterfaceData
        required: false
      service_mode:
        description: Service mode
        type: string
        status: SUPPORTED
        required: true
        constraints:
        - valid_values:
          - transparent
          - in-network
          - in-network-nat
      shared_ip_list:
        description: Shared ips enabled
        type: list
        status: SUPPORTED
        entry_schema:
          type: boolean
        required: false
    attributes:
      tenant_id:
        description: Tenant id of the Service Instance
        type: string
        status: SUPPORTED
      fq_name:
        description: The FQ name of the service instance
        type: string
        status: SUPPORTED
      service_template_name:
        description: Service Template of the Service Instance
        type: string
        status: SUPPORTED
      show:
        description: All attributes
        type: string
        status: SUPPORTED
      active_vms:
        description: Number of service VMs active for this Service Instance
        type: string
        status: SUPPORTED
      service_instance_name:
        description: The name of the service instance
        type: string
        status: SUPPORTED
      virtual_machines:
        description: Service VMs for the Service Instance
        type: string
        status: SUPPORTED
      status:
        description: Status of the service instance
        type: string
        status: SUPPORTED
        

  org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface:
    derived_from: org.openecomp.resource.cp.nodes.network.CP
    properties:
      name:
        description: Virtual Machine Interface name
        type: string
        status: SUPPORTED
        required: false
      security_group_refs:
        description: List of security groups.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      virtual_network_refs:
        description: List of virtual networks.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      virtual_machine_interface_properties:
        description: virtual machine interface properties.
        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
        status: SUPPORTED
        required: false
      port_tuple_refs:
        description: List of port tuples.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      virtual_machine_interface_mac_addresses:
        description: List of mac addresses.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      virtual_machine_interface_allowed_address_pairs:
        description: Virtual Machine Interface allowed address pairs.
        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
        status: SUPPORTED
        required: false      

    attributes:
      fq_name:
        description: The FQ name of the Virtual Network.
        type: string
        status: SUPPORTED
      show:
        description: All attributes.
        type: string
        status: SUPPORTED
    capabilities:
      binding:
        type: tosca.capabilities.network.Bindable
        occurrences:
        - 0
        - UNBOUNDED
        valid_source_types:
        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface

  org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules:
    derived_from: tosca.nodes.Root
    properties:
      entries:
        description: A symbolic name for this contrail network rule
        type: org.openecomp.datatypes.heat.contrail.network.rule.RuleList
        status: SUPPORTED
        required: false
      name:
        description: A symbolic name for this contrail network rule
        type: string
        status: SUPPORTED
        required: false
    attributes:
      tenant_id:
        description: tenant_id
        type: string
        status: SUPPORTED
      fq_name:
        description: fq_name
        type: string
        status: SUPPORTED
      show:
        description: All attributes.
        type: string
        status: SUPPORTED
      rules:
        description: List of rules
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
    requirements:
    - network:
        capability: tosca.capabilities.Attachment
        node: tosca.nodes.network.Network
        relationship: org.openecomp.relationships.AttachesTo
        occurrences:
        - 0
        - UNBOUNDED

  org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules:
    derived_from: tosca.nodes.Root
    properties:
      description:
        description: Description of the security group
        type: string
        status: SUPPORTED
        required: false
      name:
        description: A symbolic name for this security group, which is not required to be unique.
        type: string
        status: SUPPORTED
        required: false
      rules:
        description: List of security group rules
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule
        required: false
    attributes:
      show:
        description: Detailed information about resource
        type: string
        status: SUPPORTED
    requirements:
    - port:
        capability: tosca.capabilities.Attachment
        node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
        relationship: org.openecomp.relationships.AttachesTo
        occurrences:
        - 0
        - UNBOUNDED

  org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork:
    derived_from: org.openecomp.resource.vl.nodes.network.VL
    properties:
      shared:
        description: Is virtual network shared
        type: string
        status: SUPPORTED
        required: false
      forwarding_mode:
        description: forwarding mode of the virtual network
        type: string
        status: SUPPORTED
        required: false
      external:
        description: Is virtual network external
        type: string
        status: SUPPORTED
        required: false
      allow_transit:
        description: Whether this network should be transitive.
        type: string
        status: SUPPORTED
        required: false
      flood_unknown_unicast:
        description: flood L2 packets on network
        type: string
        status: SUPPORTED
        required: false
      route_targets:
        description: route targets associated with the virtual network
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      subnets:
        description: Network related subnets
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.Subnet
        required: false
    attributes:
      fq_name:
        description: fq_name
        type: string
        status: SUPPORTED
      show:
        description: All attributes.
        type: string
        status: SUPPORTED
      subnets_name:
        description: Subnets name of this network
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
      subnets_show:
        description: Detailed information about each subnet
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
      subnets:
        description: Network related subnets
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.Subnet
    capabilities:
      attachment:
        type: tosca.capabilities.Attachment
        occurrences:
        - 1
        - UNBOUNDED

  org.openecomp.resource.vfc.nodes.heat.nova.Server:
    derived_from: org.openecomp.resource.vfc.nodes.Compute
    properties:
      admin_pass:
        description: The administrator password for the server
        type: string
        status: SUPPORTED
        required: false
      availability_zone:
        description: Availability zone to create servers in
        type: string
        status: SUPPORTED
        required: false
      image:
        description: The ID or name of the image to boot with
        type: string
        status: SUPPORTED
        required: false
      image_update_policy:
        description: Policy on how to apply an image-id update
        type: string
        status: SUPPORTED
        default: REBUILD
        required: false
        constraints:
        - valid_values:
          - REBUILD_PRESERVE_EPHEMERAL
          - REPLACE
          - REBUILD
      metadata:
        description: Arbitrary JSON metadata to store for this server
        type: json
        status: SUPPORTED
        required: false
      contrail_service_instance_ind:
        description: Nova server related to service instance indicator
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      user_data_update_policy:
        description: Policy on how to apply a user_data update
        type: string
        status: SUPPORTED
        default: REPLACE
        required: false
        constraints:
        - valid_values:
          - REPLACE
          - IGNORE
      flavor_update_policy:
        description: Policy on how to apply a flavor update
        type: string
        status: SUPPORTED
        default: RESIZE
        required: false
        constraints:
        - valid_values:
          - RESIZE
          - REPLACE
      user_data:
        description: User data script to be executed by cloud-init
        type: string
        status: SUPPORTED
        default: ''
        required: false
      flavor:
        description: The ID or name of the flavor to boot onto
        type: string
        status: SUPPORTED
        required: true
      key_name:
        description: Name of keypair to inject into the server
        type: string
        status: SUPPORTED
        required: false
      reservation_id:
        description: A UUID for the set of servers being requested
        type: string
        status: SUPPORTED
        required: false
      security_groups:
        description: List of security group names or IDs
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        default: []
        required: false
      config_drive:
        description: enable config drive on the server
        type: boolean
        status: SUPPORTED
        required: false
      personality:
        description: A map of files to create/overwrite on the server upon boot
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
        default: {}
        required: false
      software_config_transport:
        description: How the server should receive the metadata required for software configuration
        type: string
        status: SUPPORTED
        default: POLL_SERVER_CFN
        required: false
        constraints:
        - valid_values:
          - POLL_SERVER_CFN
          - POLL_SERVER_HEAT
          - POLL_TEMP_URL
          - ZAQAR_MESSAGE
      user_data_format:
        description: How the user_data should be formatted for the server
        type: string
        status: SUPPORTED
        default: HEAT_CFNTOOLS
        required: false
        constraints:
        - valid_values:
          - SOFTWARE_CONFIG
          - RAW
          - HEAT_CFNTOOLS
      diskConfig:
        description: Control how the disk is partitioned when the server is created
        type: string
        status: SUPPORTED
        required: false
        constraints:
        - valid_values:
          - AUTO
          - MANUAL
      name:
        description: Server name
        type: string
        status: SUPPORTED
        required: false
      scheduler_hints:
        description: Arbitrary key-value pairs specified by the client to help boot a server
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
    attributes:
      accessIPv4:
        description: The manually assigned alternative public IPv4 address of the server
        type: string
        status: SUPPORTED
      addresses:
        description: A dict of all network addresses with corresponding port_id
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
      accessIPv6:
        description: The manually assigned alternative public IPv6 address of the server
        type: string
        status: SUPPORTED
      instance_name:
        description: AWS compatible instance name
        type: string
        status: SUPPORTED
      name:
        description: Name of the server
        type: string
        status: SUPPORTED
      show:
        description: Detailed information about resource
        type: string
        status: SUPPORTED
      console_urls:
        description: URLs of servers consoles
        type: string
        status: SUPPORTED

  org.openecomp.resource.vfc.rules.nodes.heat.network.contrailV2.NetworkRules:
    derived_from: tosca.nodes.Root
    properties:
      name:
        description: A symbolic name for this contrail v2 network rule
        type: string
        status: SUPPORTED
        required: false
      network_policy_entries:
        description: A symbolic name for this contrail v2 network rule
        type: org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList
        status: SUPPORTED
        required: false
    attributes:
      fq_name:
        description: fq_name
        type: string
        status: SUPPORTED
    requirements:
    - network:
        capability: tosca.capabilities.Attachment
        node: tosca.nodes.network.Network
        relationship: org.openecomp.relationships.AttachesTo
        occurrences:
        - 0
        - UNBOUNDED

  org.openecomp.resource.cp.nodes.heat.network.neutron.Port:
    derived_from: org.openecomp.resource.cp.nodes.network.CP
    properties:
      port_security_enabled:
        description: Flag to enable/disable port security on the network
        type: boolean
        status: SUPPORTED
        required: false
      device_id:
        description: Device ID of this port
        type: string
        status: SUPPORTED
        required: false
      qos_policy:
        description: The name or ID of QoS policy to attach to this network
        type: string
        status: SUPPORTED
        required: false
      allowed_address_pairs:
        description: Additional MAC/IP address pairs allowed to pass through the port
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.AddressPair
        required: false
      binding:vnic_type:
        description: The vnic type to be bound on the neutron port
        type: string
        status: SUPPORTED
        required: false
        constraints:
        - valid_values:
          - macvtap
          - direct
          - normal
      value_specs:
        description: Extra parameters to include in the request
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
        default: {}
        required: false
      device_owner:
        description: Name of the network owning the port
        type: string
        status: SUPPORTED
        required: false
      network:
        description: Network this port belongs to
        type: string
        status: SUPPORTED
        required: false
      replacement_policy:
        description: Policy on how to respond to a stack-update for this resource
        type: string
        status: SUPPORTED
        default: AUTO
        required: false
        constraints:
        - valid_values:
          - REPLACE_ALWAYS
          - AUTO
      security_groups:
        description: List of security group names or IDs
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      fixed_ips:
        description: Desired IPs for this port
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.neutron.port.FixedIps
        required: false
      mac_address:
        description: MAC address to give to this port
        type: string
        status: SUPPORTED
        required: false
      admin_state_up:
        description: A boolean value specifying the administrative status of the network
        type: boolean
        status: SUPPORTED
        default: true
        required: false
      name:
        description: A symbolic name for this port
        type: string
        status: SUPPORTED
        required: false
    attributes:
      tenant_id:
        description: Tenant owning the port
        type: string
        status: SUPPORTED
      network_id:
        description: Unique identifier for the network owning the port
        type: string
        status: SUPPORTED
      qos_policy_id:
        description: The QoS policy ID attached to this network
        type: string
        status: SUPPORTED
      show:
        description: Detailed information about resource
        type: string
        status: SUPPORTED
      subnets:
        description: Subnets of this network
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
      status:
        description: The status of the network
        type: string
        status: SUPPORTED
    capabilities:
      attachment:
        type: tosca.capabilities.Attachment
        occurrences:
        - 1
        - UNBOUNDED
      binding:
        type: tosca.capabilities.network.Bindable
        occurrences:
        - 0
        - UNBOUNDED
        valid_source_types:
        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface

  org.openecomp.resource.vl.nodes.heat.network.neutron.Net:
    derived_from: org.openecomp.resource.vl.nodes.network.VL
    properties:
      dhcp_agent_ids:
        description: The IDs of the DHCP agent to schedule the network
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      tenant_id:
        description: The ID of the tenant which will own the network
        type: string
        status: SUPPORTED
        required: false
      port_security_enabled:
        description: Flag to enable/disable port security on the network
        type: boolean
        status: SUPPORTED
        required: false
      shared:
        description: Whether this network should be shared across all tenants
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      admin_state_up:
        description: A boolean value specifying the administrative status of the network
        type: boolean
        status: SUPPORTED
        default: true
        required: false
      qos_policy:
        description: The name or ID of QoS policy to attach to this network
        type: string
        status: SUPPORTED
        required: false
      subnets:
        description: Network related subnets
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.Subnet
        required: false
      value_specs:
        description: Extra parameters to include in the request
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
        default: {}
        required: false
    attributes:
      qos_policy_id:
        description: The QoS policy ID attached to this network
        type: string
        status: SUPPORTED
      show:
        description: Detailed information about resource
        type: string
        status: SUPPORTED
      subnets_name:
        description: Subnets name of this network
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
      subnets:
        description: Network related subnets
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.Subnet
      mtu:
        description: The maximum transmission unit size(in bytes) for the network
        type: scalar-unit.size
        status: SUPPORTED
      status:
        description: The status of the network
        type: string
        status: SUPPORTED
    capabilities:
      attachment:
        type: tosca.capabilities.Attachment
        occurrences:
        - 1
        - UNBOUNDED

  org.openecomp.resource.cp.nodes.heat.network.contrail.Port:
    derived_from: org.openecomp.resource.cp.nodes.network.CP
    properties:
      static_routes:
        description: An ordered list of static routes to be added to this interface
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
        required: false
      virtual_network:
        description: Virtual Network for this interface
        type: string
        status: SUPPORTED
        required: true
      static_route:
        description: Static route enabled
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      allowed_address_pairs:
        description: List of allowed address pair for this interface
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.contrail.AddressPair
        required: false
      shared_ip:
        description: Shared ip enabled
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      ip_address:
        description: IP for this interface
        type: string
        status: SUPPORTED
        required: false
      interface_type:
        description: Interface type
        type: string
        status: SUPPORTED
        required: true
        constraints:
        - valid_values:
          - management
          - left
          - right
          - other
    attributes:
      fq_name:
        description: fq_name
        type: string
        status: SUPPORTED

  org.openecomp.resource.vfc.nodes.heat.contrail.Compute:
    derived_from: org.openecomp.resource.vfc.nodes.Compute
    properties:
      flavor:
        description: flavor
        type: string
        status: SUPPORTED
        required: false
      image_name:
        description: Image name
        type: string
        status: SUPPORTED
        required: true
      availability_zone:
        description: Availability zone to create servers in
        type: string
        status: SUPPORTED
        required: false
      service_type:
        description: Service type
        type: string
        status: SUPPORTED
        required: true
        constraints:
        - valid_values:
          - firewall
          - analyzer
          - source-nat
          - loadbalancer
      availability_zone_enable:
        description: Indicates availability zone is enabled
        type: boolean
        status: SUPPORTED
        default: false
        required: false
      service_template_name:
        description: Service template name
        type: string
        status: SUPPORTED
        required: false
      service_instance_name:
        description: Service instance name
        type: string
        status: SUPPORTED
        required: true
      service_mode:
        description: Service mode
        type: string
        status: SUPPORTED
        required: true
        constraints:
        - valid_values:
          - transparent
          - in-network
          - in-network-nat
    attributes:
      tenant_id:
        description: Tenant id of the VM
        type: string
        status: SUPPORTED
      fq_name:
        description: fq_name
        type: string
        status: SUPPORTED
      show:
        description: All attributes
        type: string
        status: SUPPORTED
      active_vms:
        description: Number of active VMs
        type: string
        status: SUPPORTED
      virtual_machines:
        description: VMs of this compute
        type: string
        status: SUPPORTED
      status:
        description: status of the compute
        type: string
        status: SUPPORTED

        
  org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface:
    derived_from: org.openecomp.resource.cp.nodes.network.SubInterface
    properties:
      virtual_machine_interface_refs:
        description: List of virtual machine interface.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      name:
        description: Virtual Machine Sub Interface VLAN name
        type: string
        status: SUPPORTED
        required: false
      virtual_network_refs:
        description: List of virtual networks.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      virtual_machine_interface_properties:
        description: virtual machine interface properties.
        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties
        status: SUPPORTED
        required: false
      virtual_machine_interface_allowed_address_pairs:
        description: Virtual Machine Sub Interface allowed address pairs.
        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
        status: SUPPORTED
        required: false
      virtual_machine_interface_mac_addresses:
        description: List of mac addresses.
        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress
        status: SUPPORTED
        required: false
      security_group_refs:
        description: List of security groups.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      port_tuple_refs:
        description: List of port tuples.
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
    attributes:
      fq_name:
        description: The FQ name of the Virtual Network.
        type: string
        status: SUPPORTED
      show:
        description: All attributes.
        type: string
        status: SUPPORTED
    requirements:
    - binding:
        capability: tosca.capabilities.network.Bindable
        node: org.openecomp.resource.cp.nodes.network.CP
        relationship: tosca.relationships.network.BindsTo
        occurrences:
        - 1
        - 1

  org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork:
    derived_from: org.openecomp.resource.vl.nodes.network.VL
    properties:
      network_ipam_refs_data:
        description: IPAM references Data
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData
        required: false
      network_policy_refs_data:
        description: Policy references data
        type: list
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData
        required: false
      network_ipam_refs:
        description: IPAM references
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      network_policy_refs:
        description: Policy references
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      subnets:
        description: Network related subnets
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.Subnet
        required: false
    attributes:
      fq_name:
        description: fq_name
        type: string
        status: SUPPORTED
      subnets_name:
        description: Subnets name of this network
        type: list
        status: SUPPORTED
        entry_schema:
          type: string
      subnets_show:
        description: Detailed information about each subnet
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
      subnets:
        description: Network related subnets
        type: map
        status: SUPPORTED
        entry_schema:
          type: org.openecomp.datatypes.heat.network.neutron.Subnet
    capabilities:
      attachment:
        type: tosca.capabilities.Attachment
        occurrences:
        - 1
        - UNBOUNDED

  org.openecomp.resource.vfc.nodes.heat.cinder.Volume:
    derived_from: org.openecomp.resource.vfc.nodes.volume
    properties:
      availability_zone:
        description: The availability zone in which the volume will be created
        type: string
        status: SUPPORTED
        required: false
      image:
        description: If specified, the name or ID of the image to create the volume from
        type: string
        status: SUPPORTED
        required: false
      metadata:
        description: Key/value pairs to associate with the volume
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      volume_type:
        description: If specified, the type of volume to use, mapping to a specific backend
        type: string
        status: SUPPORTED
        required: false
      description:
        description: A description of the volume
        type: string
        status: SUPPORTED
        required: false
      device_type:
        description: Device type
        type: string
        status: SUPPORTED
        required: false
        constraints:
        - valid_values:
          - cdrom
          - disk
      disk_bus:
        description: 'Bus of the device: hypervisor driver chooses a suitable default
          if omitted'
        type: string
        status: SUPPORTED
        required: false
        constraints:
        - valid_values:
          - ide
          - lame_bus
          - scsi
          - usb
          - virtio
      backup_id:
        description: If specified, the backup to create the volume from
        type: string
        status: SUPPORTED
        required: false
      source_volid:
        description: If specified, the volume to use as source
        type: string
        status: SUPPORTED
        required: false
      boot_index:
        description: Integer used for ordering the boot disks
        type: integer
        status: SUPPORTED
        required: false
      size:
        description: The requested storage size (default unit is MB)
        type: scalar-unit.size
        status: SUPPORTED
        required: false
        constraints:
        - greater_or_equal: 1 GB
      read_only:
        description: Enables or disables read-only access mode of volume
        type: boolean
        status: SUPPORTED
        required: false
      name:
        description: A name used to distinguish the volume
        type: string
        status: SUPPORTED
        required: false
      scheduler_hints:
        description: Arbitrary key-value pairs specified by the client to help the Cinder scheduler creating a volume
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
        required: false
      swap_size:
        description: The size of the swap, in MB
        type: scalar-unit.size
        status: SUPPORTED
        required: false
      delete_on_termination:
        description: Indicate whether the volume should be deleted when the server is terminated
        type: boolean
        status: SUPPORTED
        required: false
      multiattach:
        description: Whether allow the volume to be attached more than once
        type: boolean
        status: SUPPORTED
        required: false
    attributes:
      display_description:
        description: Description of the volume
        type: string
        status: SUPPORTED
      attachments:
        description: The list of attachments of the volume
        type: string
        status: SUPPORTED
        entry_schema:
          type: string
      encrypted:
        description: Boolean indicating if the volume is encrypted or not
        type: boolean
        status: SUPPORTED
      show:
        description: Detailed information about resource
        type: string
        status: SUPPORTED
      created_at:
        description: The timestamp indicating volume creation
        type: timestamp
        status: SUPPORTED
      display_name:
        description: Name of the volume
        type: string
        status: SUPPORTED
      metadata_values:
        description: Key/value pairs associated with the volume in raw dict form
        type: map
        status: SUPPORTED
        entry_schema:
          type: string
      bootable:
        description: Boolean indicating if the volume can be booted or not
        type: boolean
        status: SUPPORTED
      status:
        description: The current status of the volume
        type: string
        status: SUPPORTED