Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,28 @@ public PortListOptions adminState(boolean adminState) {
}

/**
* The port name
*
* @param displayName the port name
* DEPRECATED: This option is not valid anymore since
* neutron port does not have attribute named "display_name".
* Use {@link #name(String)} to filter ports by name
*
* @param displayName the port display name
* @return options
*/
@Deprecated
public PortListOptions displayName(String displayName) {
return add("display_name", displayName);
}

/**
* The port name
*
* @param name the port name
* @return options
*/
public PortListOptions name(String name) {
return add("name", name);
}

/**
* The ID of the tenant who owns the network
*
Expand Down