[NETVIRT-703] Give any invalid value for alert poll interval, following that enabling or disabling the qos-alert throws exception. Created: 02/Jun/17  Updated: 06/Jun/17  Resolved: 06/Jun/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Tanu Seth Assignee: Arun Sharma
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf1.log    
External issue ID: 8585

 Description   

To reproduce the bug:
Give any invalid value for alert poll interval, following that enabling or disabling the qos-alert throws exception.

opendaylight-user@root>
opendaylight-user@root>
opendaylight-user@root>qos:enable-qos-alert true
opendaylight-user@root>qos
qos qos:alert-poll-interval qos:drop-packet-threshold qos:enable-qos-alert
opendaylight-user@root>qos:alert-poll-interval 0
Error executing command: Invalid range: 0, expected: [[1‥3600]].
opendaylight-user@root>qos:enable-qos-alert false
Error executing command: Invalid range: 0, expected: [[1‥3600]].
opendaylight-user@root>
opendaylight-user@root>qos:enable-qos-alert true
Error executing command: Invalid range: 0, expected: [[1‥3600]].



 Comments   
Comment by Tanu Seth [ 02/Jun/17 ]

Attachment karaf1.log has been added with description: Exception while enabling or disabling qos alert

Comment by Arun Sharma [ 06/Jun/17 ]

Review raised https://git.opendaylight.org/gerrit/58276

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