Determine preferred node/port from PCRI
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / networkanalyzer / port / Preference.java
1 /*
2  * Copyright (c) 2024 Smartoptics and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.transportpce.pce.networkanalyzer.port;
10
11 public interface Preference {
12
13     /**
14      * Return true if the portName is among the ports preferred by the client.
15      */
16     boolean isPreferredPort(String node, String portName);
17
18 }