mirror of https://github.com/apache/jclouds.git
openstack-quantum: addressing review comments
This commit is contained in:
parent
c9de23a272
commit
e5127ffd9a
|
@ -67,15 +67,15 @@ public interface NetworkClient {
|
||||||
Reference create(String name);
|
Reference create(String name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the symbolic name of a network
|
* Adjusts the symbolic name of a network
|
||||||
*
|
*
|
||||||
* @param id the id of the Network to modify
|
* @param id the id of the Network to modify
|
||||||
* @param name the new name for the Network
|
* @param name the new name for the Network
|
||||||
*/
|
*/
|
||||||
Boolean rename(String id, String name);
|
boolean rename(String id, String name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes the specified network
|
* Deletes the specified network
|
||||||
*/
|
*/
|
||||||
Boolean delete(String id);
|
boolean delete(String id);
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,12 +74,12 @@ public interface PortClient {
|
||||||
/**
|
/**
|
||||||
* Updates the state of a port
|
* Updates the state of a port
|
||||||
*/
|
*/
|
||||||
Boolean updateState(String id, Port.State state);
|
boolean updateState(String id, Port.State state);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes a port from a network
|
* Deletes a port from a network
|
||||||
*/
|
*/
|
||||||
Boolean delete(String id);
|
boolean delete(String id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the attachment for the specified port.
|
* Returns the attachment for the specified port.
|
||||||
|
@ -89,10 +89,10 @@ public interface PortClient {
|
||||||
/**
|
/**
|
||||||
* Plugs an attachment into the specified port
|
* Plugs an attachment into the specified port
|
||||||
*/
|
*/
|
||||||
Boolean plugAttachment(String portId, String attachmentId);
|
boolean plugAttachment(String portId, String attachmentId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unplugs the attachment currently plugged into the specified port
|
* Unplugs the attachment currently plugged into the specified port
|
||||||
*/
|
*/
|
||||||
Boolean unplugAttachment(String portId);
|
boolean unplugAttachment(String portId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue