PCEP Protocol code restructured to move under PCEP Server code for more readability. Later Client code can be added under client folder.
Change-Id: Ie79599a170d94d8e0a00e0d034b083b3894199ee
diff --git a/providers/pcep/cli/BUCK b/providers/pcep/cli/BUCK
index 93199e4..ed68b8f 100644
--- a/providers/pcep/cli/BUCK
+++ b/providers/pcep/cli/BUCK
@@ -1,8 +1,8 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//incubator/api:onos-incubator-api',
- '//protocols/pcep/ctl:onos-protocols-pcep-ctl',
- '//protocols/pcep/api:onos-protocols-pcep-api',
+ '//protocols/pcep/server/ctl:onos-protocols-pcep-server-ctl',
+ '//protocols/pcep/server/api:onos-protocols-pcep-server-api',
'//lib:org.apache.karaf.shell.console',
'//cli:onos-cli',
]
diff --git a/providers/pcep/cli/pom.xml b/providers/pcep/cli/pom.xml
index 5b2ee36..78f8287 100644
--- a/providers/pcep/cli/pom.xml
+++ b/providers/pcep/cli/pom.xml
@@ -51,7 +51,7 @@
</dependency>
<dependency>
<groupId>org.onosproject</groupId>
- <artifactId>onos-pcep-controller-impl</artifactId>
+ <artifactId>onos-pcep-server-impl</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
diff --git a/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java b/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java
index e8e8f3e..086138e 100644
--- a/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java
+++ b/providers/pcep/cli/src/main/java/org/onosproject/pcep/cli/PcepSessionCommand.java
@@ -19,9 +19,9 @@
import org.apache.karaf.shell.commands.Argument;
import org.apache.karaf.shell.commands.Command;
import org.onosproject.cli.AbstractShellCommand;
-import org.onosproject.pcep.controller.PcepClientController;
-import org.onosproject.pcep.controller.PcepErrorDetail;
-import org.onosproject.pcep.controller.PcepErrorType;
+import org.onosproject.pcep.server.PcepClientController;
+import org.onosproject.pcep.server.PcepErrorDetail;
+import org.onosproject.pcep.server.PcepErrorType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;