Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8817

listFirewallRules response JSON startport/endport not an int

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 4.6.0
    • None
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Summary

      listFirewallRules returns endpoint and startpoint values as String.

      Excpected results

      {
        "count": 1 
        "firewallrule": [
          {
            "cidrlist": "0.0.0.0/0", 
            "endport": 22, 
            "fordisplay": true, 
            "id": "126dccd4-ed9a-42a5-bd25-204aab8c8f03", 
            "ipaddress": "10.101.0.21", 
            "ipaddressid": "c70e7a84-4fa2-40a0-a70d-f64101663f21", 
            "networkid": "b0c50de4-015e-4b28-a12a-8955698ebc2a", 
            "protocol": "tcp", 
            "startport": 22, 
            "state": "Active", 
            "tags": []
          }
        ]
      }
      

      Actuall results

      {
        "count": 1 
        "firewallrule": [
          {
            "cidrlist": "0.0.0.0/0", 
            "endport": "22", 
            "fordisplay": true, 
            "id": "126dccd4-ed9a-42a5-bd25-204aab8c8f03", 
            "ipaddress": "10.101.0.21", 
            "ipaddressid": "c70e7a84-4fa2-40a0-a70d-f64101663f21", 
            "networkid": "b0c50de4-015e-4b28-a12a-8955698ebc2a", 
            "protocol": "tcp", 
            "startport": "22", 
            "state": "Active", 
            "tags": []
          }
        ]
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            resmo Rene Moser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: