aboutsummaryrefslogtreecommitdiffstats
path: root/vnfm-simulator/vnfm-service/src/main/java/org/onap/svnfm/simulator/model/Vnfds.java
blob: ea171f0fce103ca2a602628765e7ea865dbfb0fd (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
package org.onap.svnfm.simulator.model;

import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "vnfds")
@Component
public class Vnfds {

    private List<Vnfd> vnfdList;

    public static class Vnfd {

        private String vnfdId;
        private List<Vnfc> vnfclist;


        public String getVnfdId() {
            return vnfdId;
        }

        public void setVnfdId(final String vnfdId) {
            this.vnfdId = vnfdId;
        }

        public List<Vnfc> getVnfcList() {
            return vnfclist;
        }

        public void setVnfcList(final List<Vnfc> vnfclist) {
            this.vnfclist = vnfclist;
        }
    }


    public static class Vnfc {

        private String vnfcId;
        private String type;
        private String vduId;
        private String resourceTemplateId;
        private String grantResourceId;

        public String getVnfcId() {
            return vnfcId;
        }

        public void setVnfcId(final String vnfcId) {
            this.vnfcId = vnfcId;
        }

        public String getVduId() {
            return vduId;
        }

        public void setVduId(final String vduId) {
            this.vduId = vduId;
        }

        public String getType() {
            return type;
        }

        public void setType(final String type) {
            this.type = type;
        }

        public String getResourceTemplateId() {
            return resourceTemplateId;
        }

        public void setResourceTemplateId(final String resourceTemplateId) {
            this.resourceTemplateId = resourceTemplateId;
        }

        public String getGrantResourceId() {
            return grantResourceId;
        }

        public void setGrantResourceId(final String grantResourceId) {
            this.grantResourceId = grantResourceId;
        }

    }


    public List<Vnfd> getVnfdList() {
        return vnfdList;
    }


    public void setVnfdList(final List<Vnfd> vnfdList) {
        this.vnfdList = vnfdList;
    }

}