aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main/java/org/onap/so/cloud/resource/beans/NodeType.java
blob: 2ca923c1ee40ee0568844b74f01e843024f94718 (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
package org.onap.so.cloud.resource.beans;

public enum NodeType {
    BROWNFIELD("BROWNFIELD", "OVS", "bond1"), GREENFIELD("GREENFIELD", "OVS-DPDK", "bond0");

    private final String nodeType;
    private final String networkTech;
    private final String interfaceName;

    private NodeType(String s, String n, String h) {
        this.nodeType = s;
        this.networkTech = n;
        this.interfaceName = h;
    }

    public String getNetworkTechnologyName() {
        return networkTech;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    @Override
    public String toString() {
        return this.nodeType;
    }
}