Expanded CMTS emulator to accept at least one type of gate request. Future work will... 67/19467/2
authorSteven Pisarski <s.pisarski@cablelabs.com>
Fri, 1 May 2015 22:55:12 +0000 (16:55 -0600)
committerThomas Kee <xsited@yahoo.com>
Fri, 8 May 2015 19:52:00 +0000 (12:52 -0700)
commit1f2b5a67cf4a2cd9802006db797baee6d669300c
treec13706a8128eaada7dd9b2287b7524b50edca97a
parent529274af8a0f6a49749f38c3390aa1a3647a6558
Expanded CMTS emulator to accept at least one type of gate request. Future work will allow for the ability to configure gates for validation. With an emulator that can accept gate requests, I have expanded the PCMMService tests to include setting and removal of a gate request to a single mock CMTS. Additionally, as I had encountered issues unmarshalling COPSDecisionMsg objects containing a gate request, another test has been included here (which may be better suited to be located in COPSDecisionMsgTest but the gate set mock object being used can only be used in this module) that creates and parses a COPSDecisionMsg object used for setting gates.

Change-Id: I98681f2514b88575a951f1e16a683ac046d32750
Signed-off-by: Steven Pisarski <s.pisarski@cablelabs.com>
packetcable-driver/src/main/java/org/pcmm/rcd/impl/CMTS.java
packetcable-driver/src/main/java/org/umu/cops/prpep/COPSPepAgent.java
packetcable-driver/src/main/java/org/umu/cops/prpep/COPSPepConnection.java
packetcable-driver/src/main/java/org/umu/cops/prpep/COPSPepReqStateMan.java
packetcable-policy-server/src/main/java/org/opendaylight/controller/packetcable/provider/PCMMService.java
packetcable-policy-server/src/main/java/org/opendaylight/controller/packetcable/provider/PacketcableProvider.java
packetcable-policy-server/src/test/java/org/opendaylight/controller/packetcable/provider/PCMMServiceTest.java