package org.opendaylight.neutron.spi;
import java.io.Serializable;
-
import java.util.Iterator;
import java.util.List;
-
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
-public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable, INeutronObject {
+public class NeutronVPNIKEPolicy extends NeutronObject<NeutronVPNIKEPolicy>
+ implements Serializable, INeutronObject<NeutronVPNIKEPolicy> {
private static final long serialVersionUID = 1L;
// See OpenStack Network API v2.0 Reference for description of
// annotated attributes
- @XmlElement (name = "name")
+ @XmlElement(name = "name")
String name;
- @XmlElement (name = "description")
- String description;
-
- @XmlElement (name = "auth_algorithm")
+ @XmlElement(name = "auth_algorithm")
String authAlgorithm;
- @XmlElement (name = "encryption_algorithm")
+ @XmlElement(name = "encryption_algorithm")
String encryptionAlgorithm;
- @XmlElement (name = "phase1_negotiation_mode")
+ @XmlElement(name = "phase1_negotiation_mode")
String phase1NegotiationMode;
- @XmlElement (name = "pfs")
+ @XmlElement(name = "pfs")
String perfectForwardSecrecy;
- @XmlElement (name = "ike_version")
+ @XmlElement(name = "ike_version")
String ikeVersion;
- @XmlElement (name = "lifetime")
+ @XmlElement(name = "lifetime")
NeutronVPNLifetime lifetime;
public NeutronVPNIKEPolicy() {
this.name = name;
}
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
public String getAuthAlgorithm() {
return authAlgorithm;
}
if (s.equals("tenant_id")) {
ans.setTenantID(this.getTenantID());
}
- if (s.equals("description")) {
- ans.setDescription(this.getDescription());
- }
if (s.equals("auth_algorithm")) {
ans.setAuthAlgorithm(this.getAuthAlgorithm());
}