summaryrefslogtreecommitdiffstats
path: root/controlloop/common/feature-controlloop-trans/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/common/feature-controlloop-trans/pom.xml')
-rw-r--r--controlloop/common/feature-controlloop-trans/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/feature-controlloop-trans/pom.xml b/controlloop/common/feature-controlloop-trans/pom.xml
index 87d9ae8e9..74987070e 100644
--- a/controlloop/common/feature-controlloop-trans/pom.xml
+++ b/controlloop/common/feature-controlloop-trans/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
<artifactId>common</artifactId>
- <version>1.2.2-SNAPSHOT</version>
+ <version>1.2.3-SNAPSHOT</version>
</parent>
<artifactId>feature-controlloop-trans</artifactId>
n116' href='#n116'>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
tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0

description: VF Template for pseodo vMME 

# metadata of the VF model
metadata:
  resourceInvariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22
  resourceUUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
  resourceversion: 1.0
  resourceName: vMME_VF
  resourceDescription: vMME_VF
  resourceType: VF
  resourceCategry: Application L4+
  resourceSubcategory: Firewall  
  resourceVendor: Ericsson

# imports include all other tosca definitions that are required for this template
imports:
  NovaServerGlobalTypes:
    file: NovaServerGlobalTypesServiceTemplate.yaml
  
topology_template:

# inputs are all the HEAT_ENV parameters and also the editable properties of the VF's internal resources (VFCs, connection points and networks)
  inputs:    
    fsb1_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    fsb1_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    fsb1_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_FSB1_16ACP03.qcow2
    fsb1_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    fsb2_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB002
    fsb2_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    fsb2_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_FSB2_16ACP03.qcow2
    fsb2_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      defualt: m4.xlarge4
    ncb1_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    ncb1_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    ncb1_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_NCB1_16ACP03.qcow2
    ncb1_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    ncb2_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    ncb2_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    ncb2_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_NCB2_16ACP03.qcow2
    ncb2_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    gpb1_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    gpb1_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    gpb1_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_GPB1_16ACP03.qcow2
    gpb1_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    gpb2_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    gpb2_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    gpb2_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_GPB2_16ACP03.qcow2
    gpb2_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    vlc1_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    vlc1_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    vlc1_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_VLC1_16ACP03.qcow2
    vlc1_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    vlc2_vfc_instance_name: # from HEAT ENV
      type: string
      description: VFC instance name
      default: ZRDM1MMEX36FSB001
    vlc2_vfc_type_tag: # from HEAT ENV
      type: string
      description: VFC type tag
    vlc2_vfc_image_name: # from HEAT ENV
      type: string
      description: VFC image name
      default: MME_VLC2_16ACP03.qcow2
    vlc2_vfc_flavor: # from HEAT ENV
      type: string
      description: VFC flavor
      default: m4.xlarge4
    
    fsb1_oam_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    fsb1_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    fsb1_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12
    fsb2_oam_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    fsb2_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    fsb2_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12
    
    ncb1_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    ncb1_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12
    ncb2_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    ncb2_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12
    gpb1_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    gpb1_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12
    gpb2_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    gpb2_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12
    vlc1_oam_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    vlc1_gtp_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    vlc1_sctp_a_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    vlc1_sctp_b_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221           
    vlc1_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    vlc1_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12  
    vlc2_oam_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    vlc2_gtp_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    vlc2_sctp_a_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221
    vlc2_sctp_b_ip_address: # from HEAT ENV
      type: string
      description: OAM ip address
      default: 107.250.172.221           
    vlc2_internal1_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:80:37:0E:0B:12
    vlc2_internal2_mac_address: # from HEAT_ENV
      type: string
      description: Internal connection point mac_address
      default: 00:81:37:0E:0B:12  
    Internal1_net_dhcp:
      hidden: false
      immutable: false
      type: string
      default: 'False'
    Internal1_net_cidr:
      hidden: false
      immutable: false
      type: string
      default: 169.253.0.0/17
    Internal1_net_gateway_ip:
      hidden: false
      immutable: false
      type: string
      default: 169.253.0.3
    Internal2_net_dhcp:
      hidden: false
      immutable: false
      type: string
      default: 'False'
    Internal2_net_cidr:
      hidden: false
      immutable: false
      type: string
      default: 169.255.0.0/17
    Internal2_net_gateway_ip:
      hidden: false
      immutable: false
      type: string
      default: 169.255.0.3
    network_deployment_node:
      type: string
      description: The target LCP node for deployment of this Network instance
    oam_net_id:
      hidden: false
      immutable: false
      type: string
      description: uuid of oam network
      default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351

  node_templates:

    # VFCs / VMs
    FSB1: # VFC1 / VM1
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: fsb1_vfc_instance_name} 
        vfc_type_tag: {get_input: fsb1_vfc_type_tag} 
        vfc_description: FSB1
        vfc_image_name: {get_input: fsb1_vfc_image_name} 
      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: fsb1_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: fsb1_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: fsb1_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: fsb1_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capabilty:
          properties:
            name: high_cpu
            

    FSB2: # VFC2 / VM2
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: fsb2_vfc_instance_name} 
        vfc_type_tag: {get_input: fsb2_vfc_type_tag} 
        vfc_description: FSB2
        vfc_image_name: {get_input: fsb2_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: fsb2_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: fsb2_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: fsb2_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: fsb2_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load

    NCB1: # VFC3 / MV3
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: ncb1_vfc_instance_name} 
        vfc_type_tag: {get_input: ncb1_vfc_type_tag} 
        vfc_description: NCB1
        vfc_image_name: {get_input: ncb1_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: ncb1_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: ncb1_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: ncb1_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: ncb1_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load

    NCB2: # VFC4 / VM4
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: ncb2_vfc_instance_name} 
        vfc_type_tag: {get_input: ncb2_vfc_type_tag} 
        vfc_description: NCB2
        vfc_image_name: {get_input: ncb2_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: ncb2_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: ncb2_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: ncb2_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: ncb2_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load

    GPB1: # VFC5 / VM5
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: gpb1_vfc_instance_name} 
        vfc_type_tag: {get_input: gpb1_vfc_type_tag} 
        vfc_description: GPB1
        vfc_image_name: {get_input: gpb1_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: gpb1_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: gpb1_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: gpb1_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: gpb1_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load
    
    GPB2: # VFC6 / VM6
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: gpb2_vfc_instance_name} 
        vfc_type_tag: {get_input: gpb2_vfc_type_tag} 
        vfc_description: GPB2
        vfc_image_name: {get_input: gpb2_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: gpb2_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: gpb2_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: gpb2_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: gpb2_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load

    VLC1: # VFC7 / VM7
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: vlc1_vfc_instance_name} 
        vfc_type_tag: {get_input: vlc1_vfc_type_tag} 
        vfc_description: VLC1
        vfc_image_name: {get_input: vlc1_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: vlc1_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: vlc1_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: vlc1_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: vlc1_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load

    VLC2: # VFC8 / VM8
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server

      metadata:
        resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceversion: 1.0
        resourceName: Nova Server
        resourceDescription: VFC based on OpenStack Nova Server
        resourceType: VFC
        resourceCategry: Generic
        resourceSubcategry: Infrastructure
        resourceVendor: Ericsson        
      properties:
        vfc_ecomp_name: false
        vfc_instance_name: {get_input: vlc2_vfc_instance_name} 
        vfc_type_tag: {get_input: vlc2_vfc_type_tag} 
        vfc_description: VLC2
        vfc_image_name: {get_input: vlc2_vfc_image_name} 

      requirements:
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: vlc2_oam
              relationship: tosca.relationships.network.BindsTo
         - binding:
              capability: tosca.capabilities.network.Bindable
              node: vlc2_internal1
              relationship: tosca.relationships.network.BindsTo
         - binding: 
              capability: tosca.capabilities.network.Bindable
              node: vlc2_internal2
              relationship: tosca.relationships.network.BindsTo
      capabilities:
        nfv_compute:
          properties:
            vfc_flavor: {get_input: vlc2_vfc_flavor}
        scaling_capability:
          properties:
            min_instances: 1
            max_instances: 1
            init_instances: 1
        monitoring_capability:
          properties:
            name: cpu_load
      
      
  # Connection Points

    fsb1_oam: # VFC1 OAM CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: fsb1_oam_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: FSB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: oam_net
              relationship: tosca.relationships.network.BindsTo

    fsb1_internal1: # VFC1 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address:  {get_input: fsb1_internal1_mac_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: FSB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo
        
    fsb1_internal2: # VFC1 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: fsb1_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: FSB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    fsb2_oam: # VFC2 OAM CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: fsb2_oam_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: FSB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: oam_net
              relationship: tosca.relationships.network.BindsTo

    fsb2_internal1: # VFC2 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: fsb2_internal1_mac_address}  
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: FSB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo

    fsb2_internal2: # VFC2 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: fsb2_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: FSB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    ncb1_internal1: # VFC3 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: ncb1_internal1_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: NCB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo

    ncb1_internal2: # VFC3 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: ncb1_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: NCB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    ncb2_internal1: # VFC4 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: ncb2_internal1_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: NCB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo

    ncb2_internal2: # VFC4 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: ncb2_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: NCB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    gpb1_internal1: # VFC5 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: gpb1_internal1_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: GPB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo

    gpb1_internal2: # VFC5 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: gpb1_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: GPB1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    gpb2_internal1: # VFC6 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: gpb2_internal1_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: GPB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo

    gpb2_internal2: # VFC6 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: gpb2_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: GPB2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    vlc1_oam: # VFC7 OAM CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc1_oam_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: oam_net
              relationship: tosca.relationships.network.BindsTo

    vlc1_internal2: # VFC7 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: vlc1_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC1
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    vlc1_sctp_a: # VFC7 eca_sctp_a CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc2_sctp_a_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC1
              relationship: tosca.relationships.network.BindsTo
        # - link:
              # capability: tosca.capabilities.network.Bindable
              # node: sctp_a_net
              # relationship: tosca.relationships.network.BindsTo

    vlc1_sctp_b: # VFC7 eca_sctp_b CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc2_sctp_b_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC1
              relationship: tosca.relationships.network.BindsTo
        # - link:
              # capability: tosca.capabilities.network.Bindable
              # node: sctp_b_net
              # relationship: tosca.relationships.network.BindsTo

    vlc1_gtp_net: # VFC7 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc1_gtp_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC1
              relationship: tosca.relationships.network.BindsTo
        # - link:
              # capability: tosca.capabilities.network.Bindable
              # node: gtp_net
              # relationship: tosca.relationships.network.BindsTo

    vlc2_oam: # VFC8 OAM CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc2_oam_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: oam_net
              relationship: tosca.relationships.network.BindsTo

    vlc2_internal1: # VFC8 Internal1 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: vlc2_internal1_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal1_net
              relationship: tosca.relationships.network.BindsTo

    vlc2_internal2: # VFC8 Internal2 CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_info:
          mac_address: {get_input: vlc2_internal2_mac_address} 
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC2
              relationship: tosca.relationships.network.BindsTo
        - link:
              capability: tosca.capabilities.network.Bindable
              node: Internal2_net
              relationship: tosca.relationships.network.BindsTo

    vlc2_sctp_a: # VFC8 eca_sctp_a CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc2_sctp_a_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC2
              relationship: tosca.relationships.network.BindsTo
        # - link:
              # capability: tosca.capabilities.network.Bindable
              # node: sctp_a_net
              # relationship: tosca.relationships.network.BindsTo

    vlc2_sctp_b: # VFC8 eca_sctp_b CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc2_sctp_b_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC2
              relationship: tosca.relationships.network.BindsTo
        # - link:
              # capability: tosca.capabilities.network.Bindable
              # node: sctp_b_net
              # relationship: tosca.relationships.network.BindsTo

    vlc2_gtp_net: # VFC8 gtp CP
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        address_Info:
          ip_address: {get_input: vlc2_gtp_ip_address}
      requirements:
        - binding:
              capability: tosca.capabilities.network.Bindable
              node: VLC2
              relationship: tosca.relationships.network.BindsTo
        # - link:
              # capability: tosca.capabilities.network.Bindable
              # node: gtp_net
              # relationship: tosca.relationships.network.BindsTo

  # Virtual Links (Networks)
  
    Internal1_net:
      type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork

      metadata:
        resourceInvariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c
        resourceUUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234
        resourceversion: 1.0
        resourceName: Network
        resourceDescription: Internal Network
        resourceType: VL
        resourceCategry: Generic
        resourceSubcategory: Infrastructure
        resourceVendor: AT&T
      properties:
        network_type: Tenant_Layer_3
        network_role: 
        network_technology: Contrail
        network_ecomp_name: false
        network_homing: false
        network_deployment_node: { get_input : network_deployment_node }
        contrail_virtual_network:
          vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1
          vn_forwarding_mode: l2
          vn_shared: false
          vn_external: false
        layer_protocol: IP
        flow_pattern: E-LAN
        test_access: none
        ip_version: 4
        enable_dhcp: {get_input: Internal1_net_enable_dhcp}
        cidr: {get_input: Internal1_net_cidr}
        gateway_ip: {get_input: Internal1_net_gateway_ip}
     
    Internal2_net:
      type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
      metadata:
        resourceInvariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c
        resourceUUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234
        resourceversion: 1.0
        resourceName: Network
        resourceDescription: Internal Network
        resourceType: VL
        resourceCategry: Generic
        resourceSubcategory: Infrastructure
        resourceVendor: AT&T
      properties:
        network_type: Tenant_Layer_3
        network_role: 
        network_technology: Contrail
        network_ecomp_name: false
        network_homing: false
        network_deployment_node: { get_input : network_deployment_node }
        contrail_virtual_network:
          vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2
          vn_forwarding_mode: l2
          vn_shared: false
          vn_external: false
        layer_protocol: IP
        flow_pattern: E-LAN
        test_access: none
        ip_version: 4
        enable_dhcp: {get_input: Internal2_net_enable_dhcp}
        cidr: {get_input: Internal2_net_cidr}
        gateway_ip: {get_input: Internal2_net_gateway_ip}
  
    
    oam_net:
      type: org.openecomp.resource.vl.OAM

      metadata:
        resourceInvariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a
        resourceUUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc
        resourceversion: 2.0
        resourceName: Mobility OAM Network
        resourceDescription: Mobility OAM Network
        resourceType: VL
        resourceCategry: VL
        resourceVendor: AT&T

      properties:
        network_type: vIPR_ATM_OAM
        network_technology: Contrail
        network_id: {get_input: oam_net_id}
        layer_protocol: IP
        flow_pattern: E-LAN
        test_access: none
      
  
  groups:

    # VF Modules
    vfmoduleVmmeModule-1:
      type: org.openecomp.groups.VfModule

      metadata:
        vfModuleModelName: vMME::module-1
        vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c
        vfModuleModelUUID: b220ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
        vfModuleModelVersion: 1

      properties:
        vf_module_type: Expansion # set by service designer
        vf_module_label: vMME Expansion VF Module # set by service designer
        vf_module_description: vMME expansion VF Module # set by service designer
        contrail_service_instance: true # from HEAT
        availability_zone_count: 2 # from HEAT
        volume_group: false # from HEAT / service Designer
        artifacts: # HEAT Templates
          - /Artifacts/vmme_small_create_fsb.yml
          - /Artifacts/vmme_small.yml
      
      members:
      - FSB1
      - FSB2
      - NCB1
      - NCB2
      - VLC2
      - oam_net
      - vlc2_gtp_net
      - Internal1_net
      - fsb1_oam
      - Internal2_net


   
    # HEAT Stacks 

    vmme_small:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/vmme_small.yml
        description: HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc

      members: [ FSB1, FSB2, NCB1, NCB2, VLC1, VLC2, GPB1, GPB2, Internal1_net, Internal2_net, fsb1_oam, 
                fsb1_internal1, fsb1_internal2, fsb2_oam, fsb2_internal2, ncb1_internal1, ncb1_internal2,
                ncb2_internal1, ncb2_internal2, gpb1_internal1, gpb1_internal2, gpb2_internal1,
                gpb2_internal2, vlc1_oam, vlc1_internal1, vlc1_internal2, vlc1_sctp_a, vlc1_sctp_b, 
                vlc1_gtp, vlc2_oam, vlc2_internal1, vlc2_internal2, vlc2_sctp_a, vlc2_sctp_b, vlc1_gtp ]
    
    vmme_small_create_fsb:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/vmme_small_create_fsb.yml
        description: server template for vMME
        
      members: [ FSB1_volume, FSB2_volume ]

  policies:
    # Autoscaling policy
    - mme_autoscale_policy:
        type: org.openecomp.policy.Autoscaling
        properties:
          min_instances: 1
          max_instances: 4
          increment: 1
          factor: cpu_load
          threshold: 80%

        target: [ vfmoduleVmmeModule-1]
        
  
  substitution_mapping:
      type: org.openecomp.resource.vf.vmme
      
      requirements:
        - vlc1_gtp_net.link: 
              capability: tosca.capabilities.network.Linkable
              relationship: tosca.relationships.network.LinksTo
        - vlc2_gtp_net.link: 
              capability: tosca.capabilities.network.Linkable
              relationship: tosca.relationships.network.LinksTo   
        - vlc1_sctp_a.link: 
              capability: tosca.capabilities.network.Linkable
              relationship: tosca.relationships.network.LinksTo
        - vlc1_sctp_b.link: 
              capability: tosca.capabilities.network.Linkable
              relationship: tosca.relationships.network.LinksTo