openstack-quantum: addressing review comments

This commit is contained in:
Adam Lowe 2012-06-01 23:35:46 +01:00
parent c9de23a272
commit e5127ffd9a
2 changed files with 7 additions and 7 deletions

View File

@ -67,15 +67,15 @@ public interface NetworkClient {
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 name the new name for the Network
*/
Boolean rename(String id, String name);
boolean rename(String id, String name);
/**
* Deletes the specified network
*/
Boolean delete(String id);
boolean delete(String id);
}

View File

@ -74,12 +74,12 @@ public interface PortClient {
/**
* 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
*/
Boolean delete(String id);
boolean delete(String id);
/**
* Returns the attachment for the specified port.
@ -89,10 +89,10 @@ public interface PortClient {
/**
* 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
*/
Boolean unplugAttachment(String portId);
boolean unplugAttachment(String portId);
}