@XmlElement (name = "name")
String name;
- @XmlElement (defaultValue = "true", name = "admin_state_up")
- Boolean adminStateUp;
-
- @XmlElement (name = "status")
- String status;
-
@XmlElement (name = "mac_address")
String macAddress;
@Override
public void initDefaults() {
- adminStateUp = true;
- portSecurityEnabled = true;
- if (status == null) {
- status = "ACTIVE";
+ super.initDefaults();
+ if (portSecurityEnabled == null) {
+ portSecurityEnabled = true;
}
if (fixedIPs == null) {
fixedIPs = new ArrayList<Neutron_IPs>();