commit | e37560f4989c24f0f7a6caef27fb54640ee880f2 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Thu Feb 02 19:53:26 2017 -0800 |
committer | Thomas Vachuska <tom@onlab.us> | Wed Mar 01 19:44:06 2017 +0000 |
tree | 853a4793b252760b884dc9bbb4c8779a4194de0f | |
parent | a899a2127ba8bfa7b7973813fa8beb6870fab151 [diff] |
Some class of constraints should not be used for link cost evaluation. ONOS-6021 Current ConnectivityIntentCompiler simply picks first non-negative cost as Link cost value. Some class of constraints are used to express Path viability or IntentCompiler's behavior. Those constraints tend to returns fixed arbitrary non-negative link cost, which probably is not the best option to be used as Link cost during path computation. This patch will: - Introduce base class for constraints which should not influence Link cost. - Introduce base class for constraints which should not influence Link cost or Path viability. - Exclude above classes from link cost computation in ConnectivityIntentCompiler MarkerConstraint base class for Constraints, which is not meant to influence Link cost or Path viability. PathViablityConstraint base class for Constraints, which is not meant to influence Link cost. Change-Id: Ice8b83a18cfe3bf5a68c25a853667bfaedb2b1a1
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.