/*
 * Copyright IBM Corporation, 2013.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

package org.opendaylight.controller.networkconfig.neutron;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.opendaylight.controller.configuration.ConfigurationObject;

@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class Neutron_IPs extends ConfigurationObject implements Serializable {
    private static final long serialVersionUID = 1L;

    // See OpenStack Network API v2.0 Reference for description of
    // annotated attributes

    @XmlElement(name="ip_address")
    String ipAddress;

    @XmlElement(name="subnet_id")
    String subnetUUID;

    public Neutron_IPs() { }

    public Neutron_IPs(String uuid) {
        subnetUUID = uuid;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getSubnetUUID() {
        return subnetUUID;
    }

    public void setSubnetUUID(String subnetUUID) {
        this.subnetUUID = subnetUUID;
    }
}

@@ -1462,11 +1462,204 @@
 D;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Neutron_IPs%7B%22 +%0A               %22ipAddress='%22 + ipAddress + '%5C'' +%0A               %22, subnetUUID='%22 + subnetUUID + '%5C'' + %22%7D%22;%0A    %7D
 %0A%7D%0A

Add toString() to Neutron_IPs