Add NB interfaces for VPNaaS
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronVPNIKEPolicy.java
1 /*
2  * Copyright IBM Corporation, 2015.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.neutron.spi;
10
11 import java.io.Serializable;
12
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17
18 @XmlRootElement
19 @XmlAccessorType(XmlAccessType.NONE)
20 public class NeutronVPNIKEPolicy implements Serializable, INeutronObject {
21     private static final long serialVersionUID = 1L;
22
23     // See OpenStack Network API v2.0 Reference for description of
24     // annotated attributes
25
26     @XmlElement (name = "id")
27     String id;
28
29     @XmlElement (name = "tenant_id")
30     String tenantID;
31
32     @XmlElement (name = "name")
33     String name;
34
35     @XmlElement (name = "description")
36     String description;
37
38     @XmlElement (name = "auth_algorithm")
39     String authAlgorithm;
40
41     @XmlElement (name = "encryption_algorithm")
42     String encryptionAlgorithm;
43
44     @XmlElement (name = "phase1_negotiation_mode")
45     String phase1NegotiationMode;
46
47     @XmlElement (name = "pfs")
48     String perfectForwardSecrecy;
49
50     @XmlElement (name = "ike_version")
51     String ikeVersion;
52
53     @XmlElement (name = "lifetime")
54     NeutronVPNLifetime lifetime;
55
56     public NeutronVPNIKEPolicy() {
57     }
58
59     public String getID() {
60         return id;
61     }
62
63     public void setID(String id) {
64         this.id = id;
65     }
66
67     public String getTenantID() {
68         return tenantID;
69     }
70
71     public void setTenantID(String tenantID) {
72         this.tenantID = tenantID;
73     }
74
75     public String getName() {
76         return name;
77     }
78
79     public void setName(String name) {
80         this.name = name;
81     }
82
83     public String getDescription() {
84         return description;
85     }
86
87     public void setDescription(String description) {
88         this.description = description;
89     }
90
91     public String getAuthAlgorithm() {
92         return authAlgorithm;
93     }
94
95     public void setAuthAlgorithm(String authAlgorithm) {
96         this.authAlgorithm = authAlgorithm;
97     }
98
99     public String getEncryptionAlgorithm() {
100         return encryptionAlgorithm;
101     }
102
103     public void setEncryptionAlgorithm(String encryptionAlgorithm) {
104         this.encryptionAlgorithm = encryptionAlgorithm;
105     }
106
107     public String getPhase1NegotiationMode() {
108         return phase1NegotiationMode;
109     }
110
111     public void setPhase1NegotiationMode(String phase1NegotiationMode) {
112         this.phase1NegotiationMode = phase1NegotiationMode;
113     }
114
115     public String getPerfectForwardSecrecy() {
116         return perfectForwardSecrecy;
117     }
118
119     public void setPerfectForwardSecrecy(String perfectForwardSecrecy) {
120         this.perfectForwardSecrecy = perfectForwardSecrecy;
121     }
122
123     public String getIkeVersion() {
124         return ikeVersion;
125     }
126
127     public void setIkeVersion(String ikeVersion) {
128         this.ikeVersion = ikeVersion;
129     }
130
131     public NeutronVPNLifetime getLifetime() {
132         return lifetime;
133     }
134
135     public void setLifetime(NeutronVPNLifetime lifetime) {
136         this.lifetime = lifetime;
137     }
138
139 }