2 * Copyright (c) 2024 Smartoptics and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.transportpce.pce.networkanalyzer.port;
12 * This class represents a state where the client has no port preference.
13 * In essence, all ports on all nodes will therefore be treated as 'preferred'
17 * Usage of this class is of sorts the 'backwards compatible' approach. Meaning,
18 * intended to offer a path for the application to behave as it did
19 * prior to implementing client port preference.
21 public class NoPreference implements Preference {
23 public boolean isPreferredPort(String node, String portName) {