open-traffic-generator / snappi-ixnetwork

The Keysight IxNetwork implementation of the open-traffic-generator models.
MIT License
17 stars 11 forks source link

Unable to set DEFAULT PHB value and Class Selector PHB single value for IP priority #570

Closed dks0692 closed 9 months ago

dks0692 commented 9 months ago

Version information snappi-ixnetwork=0.8.1

Describe the bug I am trying to set the PHB value to default value of 5 and Class selector single value of 4 as shown in the attachment, but when i execute the code , it sets them as Assured Forwarding vlaues

To Reproduce Snippet ipv4.priority.dscp.phb.values = [ ipv4.priority.dscp.phb.CS1, ] ipv4.priority.dscp.phb.value = 4

    ipv4.priority.dscp.phb.values = [
        ipv4.priority.dscp.phb.DEFAULT,
    ]
    ipv4.priority.dscp.phb.value = 5

Expected behavior As shown in the snapsots, the ones in green boxes are the expected behaviour, and the ones in the red boxes are the issue that i am observing Additional context Add any other context about the problem here.

dks0692 commented 9 months ago
Screenshot 2024-02-15 at 3 31 41 PM Screenshot 2024-02-15 at 3 32 14 PM