[PACKTCABLE-18] Updates to support new TrafficProfiles that require a user-specified Direction in the GateSpec Created: 20/Sep/16  Updated: 07/Nov/16  Resolved: 07/Nov/16

Status: Resolved
Project: packetcable
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Improvement
Reporter: Jeff Pedigo Assignee: Jeff Pedigo
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

Currently the IGateSpec interface does not define a method to update the Direction field. So the implementation class GateSpec does not support such an update.

As a result, logic in the PacketcableProvider decouples the Direction field from the GateSpec in a request object and manages it separately to support corrective tests for a DOCSISServiceClassNameTrafficProfile.

This is ServiceClassName-specific logic that is not suitable for extension to support other types of TrafficProfiles.

I propose a small change to add a setter to the IGateSpec interface and corresponding implementation. This will allow the logic that supports the ServiceClassName-to-Direction mapping in the PacketcableProvider class to be modified in a contained scope relevant only to it's required behaviors. Additional Traffic Profiles can then be added to PacketcableProvider more easily.


Generated at Wed Feb 07 20:36:42 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.