FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

addTrafficType/listTrafficTypes fields · Issue #7837 · apache/cloudstack · GitHub

Repository navigation

addTrafficType/listTrafficTypes fields #7837

Closed

Description

ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
API
CLOUDSTACK VERSION
4.17.2
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

Enhance listTrafficTypes or add a new API (getTrafficType?) to return all fields used in addTrafficType.

Currently, there is no API to return fields for terraform to manage this resource. The various networks labels (eg. kvmnetworklabel) are inaccessible.

STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS

Activity

  1. boring-cyborg commented on Aug 9, 2023

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. poddm commented on Aug 9, 2023

    ContributorAuthor

    I do see network labels set but they aren't documented in ListApis.

    {
        "listtraffictypesresponse": {
            "count": 2,
            "traffictype": [
                {
                    "id": "0ffa5dd7-12a1-4ac0-b37f-e85a3b90ac9a",
                    "traffictype": "Management",
                    "physicalnetworkid": "05fcfaee-1504-4f8e-b77a-34669e78372a",
                    "kvmnetworklabel": "123"
                },
  3. added this to the 4.18.1.0 milestone on Aug 10, 2023
  4. DaanHoogland commented on Sep 22, 2023

    Contributor

    @poddm to be clear on this; you want the request parameters from https://cloudstack.apache.org/api/apidocs-4.18/apis/addTrafficType.html to be added to the respons parameters of listTrafficTypes ?

  5. poddm commented on Oct 6, 2023

    ContributorAuthor

    @poddm to be clear on this; you want the request parameters from https://cloudstack.apache.org/api/apidocs-4.18/apis/addTrafficType.html to be added to the respons parameters of listTrafficTypes ?

    Yup -

  6. yadvr commented on Oct 17, 2023

    Member

    To make it clear, the list API current returns this:

    > list traffictypes physicalnetworkid=6a20338e-f16f-4333-a96f-2d110888d016
    {
      "count": 2,
      "traffictype": [
        {
          "id": "8d785d45-c198-45b7-a857-1bddccb6e3bf",
          "kvmnetworklabel": "cloudbr0",
          "physicalnetworkid": "6a20338e-f16f-4333-a96f-2d110888d016",
          "traffictype": "Guest"
        },
        {
          "id": "9f6bf8c0-f834-46e6-9edf-bdeb22e00629",
          "kvmnetworklabel": "cloudbr0",
          "physicalnetworkid": "6a20338e-f16f-4333-a96f-2d110888d016",
          "traffictype": "Public"
        }
      ]
    }
    

    The issue/task is to add the following fields in response of the above API (that are request parameters of the add API https://cloudstack.apache.org/api/apidocs-4.18/apis/addTrafficType.html)

    • vlan: The VLAN id to be used for Management traffic by VMware host
    • isolationmethod: Used if physical network has multiple isolation types and traffic type is public.

    If the following are returned already when specified, then they may be skipped:

    • hypervnetworklabel
    • kvmnetworklabel
    • ovm3networklabel
    • vmwarenetworklabel
    • xennetworklabel
  7. self-assigned this
    on Oct 17, 2023
  8. poddm commented on Oct 17, 2023

    ContributorAuthor

    Ultimately, we would like to manage more of cloudstack with terraform. The mismatch between addTrafficType and listTrafficType is preventing me from enhancing the terraform provider.

  9. 21 remaining items

  10. added a commit that references this issue on Nov 12, 2025
    f985a67
  11. DaanHoogland commented on Nov 12, 2025

    Contributor

    fixed in #8151

  12. added a commit that references this issue on Nov 14, 2025
    2f8416d
  13. added a commit that references this issue on Dec 11, 2025
    cd091e9
  14. added a commit that references this issue on Mar 25, 2026
    a96d2fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL