All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.compute.InterfaceAttachment Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.model.compute;

import java.util.List;

import org.openstack4j.model.ModelEntity;

/**
 * Interface attachment model entity
 * 
 * @author Jeremy Unruh
 */
public interface InterfaceAttachment extends ModelEntity {
    
    /**
     * List of Fixed IpAddresses
     * 
     * @return list of fix addresses
     */
    List getFixedIps();
    
    /**
     * The interface MacAddress
     * 
     * @return the MacAddress for this Interface
     */
    String getMacAddr();
    
    /**
     * The network identifier
     * 
     * @return the network identifier associated to this interface
     */
    String getNetId();
    
    /**
     * The port aka interface identifier
     * 
     * @return the port/interface identifier
     */
    String getPortId();
    
    /**
     * The current port state
     * 
     * @return the port state
     */
    PortState getPortState();

    public interface FixedIp extends ModelEntity {
        
        /**
         * @return the IpAddress
         */
        String getIpAddress();
        
        /**
         * @return the subnet unique identifier
         */
        String getSubnetId();
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy