X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=neutron-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fneutron%2Fspi%2FNeutronVPNIKEPolicy.java;h=4685298aa5d42f8bba18b7ec68c11d896d947d92;hb=3b49549f18b9c28daeb7777e67b0b0f8ec172c18;hp=df1d276d32c5c43f4391c08f7d0f0ac78190c0f9;hpb=3367ae01bd368de4baa4c12d22e56b5e82a81fe1;p=neutron.git diff --git a/neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronVPNIKEPolicy.java b/neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronVPNIKEPolicy.java index df1d276d3..4685298aa 100644 --- a/neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronVPNIKEPolicy.java +++ b/neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronVPNIKEPolicy.java @@ -9,10 +9,8 @@ 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; @@ -20,34 +18,32 @@ import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) -public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable, INeutronObject { +public class NeutronVPNIKEPolicy extends NeutronObject + implements Serializable, INeutronObject { 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() { @@ -61,14 +57,6 @@ public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable, this.name = name; } - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - public String getAuthAlgorithm() { return authAlgorithm; } @@ -140,9 +128,6 @@ public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable, 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()); }