commit | 7716ec9268f3a46c3948142d596662eae2a975f0 | [log] [tgz] |
---|---|---|
author | cheng fan <chengfannature@gmail.com> | Sun May 31 01:53:19 2015 +0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jun 01 22:59:01 2015 +0000 |
tree | 547a947928edc4b02fbdbb696e7e4f417ea7f83b | |
parent | b55d6e6da46e431fc9625d544622ceaed663a95e [diff] [blame] |
1. move tunnel 3 commands to onos-cli 2. add OCH ODU OMS port type; 3. fix some bugs in pcep tunnel provider and topology provider 4. Optimization of the command line tools of tunnel Change-Id: I323ede971795c8fe6ecddc40e1061f42a8243867 fix tunnel provider bugs. Change-Id: I323ede971795c8fe6ecddc40e1061f42a8243867
diff --git a/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java b/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java index d4db519..9d9e60a 100644 --- a/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java +++ b/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java
@@ -48,13 +48,16 @@ } + public enum PortType { + ODU_PORT, OCH_PORT, OMS_PORT + } /** * Get the link endpoint port type. * * @return endpoint port type */ - public String portType(); + public PortType portType(); /** * Get the link sub type,OTS,OPS,PKT_OPTICAL or ODUK.