summaryrefslogtreecommitdiffstats
path: root/OPENECOMP-DEMO/vm-templates/vm-controller.yaml
blob: fe2bd6ab930a6575d7327a74734ed6f0d2cbc241 (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
### Description of VM itself
description: VM that runs the DCAE Controller
short-name: cont
number-vms-per-location: 1
application-ids: [ dcae ]
admin-id: ubuntu
dns-gss: [ gss ]
dns-cnames: [ global ]
installation-steps:

- step: shell
  command: cp /tmp/ecomp-nexus.crt /usr/local/share/ca-certificates/ ; update-ca-certificates
  application-id: root

- step: shell
  command: echo 162.242.254.138 ecomp-nexus >> /etc/hosts
  application-id: root

- step: shell
  command: |
    apt-get update ; apt-get install -y maven openjdk-7-jdk python-pip
    pip install pyyaml
  application-id: root
  
- step: shell
  command: |
    export SDKMAN_DIR=/opt/app/sdkman
    curl -s get.sdkman.io | bash 
    source /opt/app/sdkman/bin/sdkman-init.sh
    echo Y | sdk install groovy 
    mkdir -p /opt/app/java/jdk
    ln -s /usr /opt/app/java/jdk/jdk170
    mkdir -p /opt/app/groovy
    ln -s /opt/app/sdkman/candidates/groovy/current /opt/app/groovy/246
  application-id: root

 
- step: maven-artifact
  group-id: org.openecomp.dcae.controller
  artifact-id: dcae-controller-platform-server
  version: ${dcae.env('open-ecomp-demo.versions.controller')}
  type: zip
  assembly-id: runtime
  application-id: dcae

openstack-vm-type:  
  volumeSizeGB: 1024
  dev-volumeSizeGB: 100 
  memorySizeGB: 8
  dev-memorySizeGB: 8
  needPublicIp: true
  numberOfCores: 4
  dev-numberOfCores: 4
  rootDiskSizeGB: 80
  imageName: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
  openstack-flavor-name: 8 GB Performance
  disk-partitions:
    osType: ubuntu
    volumes:
      opt:
        uuid: ephemeral
        size: 160
        filesystems:
          "/opt/tools" :
            size: 20
            type: ext4
            mount_opts: ""
      dcae-controller-platform-server:
        uuid: cinder
        size: 1024
        filesystems:
          "/opt/app/dcae-controller-platform-server" :
            size: 1024
            type: ext4
            mount_opts: ""

controller-instance-configuration: 
  "$class": org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance