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

org.openstack4j.api.networking.ext.PortPairService Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package org.openstack4j.api.networking.ext;

import java.util.List;

import org.openstack4j.model.common.ActionResponse;
import org.openstack4j.model.network.ext.PortPair;

/**
 * Service Port Pair Service
 *
 * @author Dmitry Gerenrot
 */
public interface PortPairService {

    /**
     * Lists Port Pairs for port chains
     *
     * @return the list of Port Pairs
     */
    List list();


    /**
     * Get a Port Pair by id.
     *
     * @return PortPair
     */
    PortPair get(String portPairId);

    /**
     * Update a Port Pair with the given id to match the given update object
     *
     * @return PortPair
     */
    PortPair update(String portPairId, PortPair portPair);

    /**
     * Create a Port Pair
     *
     * @return PortPair : object actually created
     */
    PortPair create(PortPair portPair);

    /**
     * Delete a Port Pair
     *
     * @return the action response
     */
    ActionResponse delete(String portPairId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy