Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Subnet handing id generated by CSP to vNet info #1579

Merged
merged 1 commit into from
May 22, 2024

Conversation

seokho-son
Copy link
Member

fix #1576

Response body of /ns/{nsId}/resources/vNet/{vNetId}

{
  "id": "ns01-systemdefault-aws-ap-northeast-2",
  "name": "ns01-systemdefault-aws-ap-northeast-2",
  "connectionName": "aws-ap-northeast-2",
  "cidrBlock": "10.34.0.0/16",
  "subnetInfoList": [
    {
      "Id": "ns01-systemdefault-aws-ap-northeast-2",
      "Name": "ns01-systemdefault-aws-ap-northeast-2",
      "IdFromCsp": "subnet-01631ba5b3eccf9b5",
      "IPv4_CIDR": "10.34.0.0/18",
      "BastionNodes": [
        {
          "mcisId": "mc-hhh6d",
          "vmId": "g1-1"
        }
      ],
      "KeyValueList": [
        {
          "key": "VpcId",
          "value": "vpc-07915390e0d20f457"
        },
        {
          "key": "MapPublicIpOnLaunch",
          "value": "false"
        },
        {
          "key": "AvailableIpAddressCount",
          "value": "16379"
        },
        {
          "key": "AvailabilityZone",
          "value": "ap-northeast-2a"
        },
        {
          "key": "Status",
          "value": "available"
        }
      ],
      "Description": ""
    },
    {
      "Id": "ns01-systemdefault-aws-ap-northeast-2-01",
      "Name": "ns01-systemdefault-aws-ap-northeast-2-01",
      "IdFromCsp": "subnet-0967288b4ceb2d12a",
      "IPv4_CIDR": "10.34.64.0/18",
      "BastionNodes": null,
      "KeyValueList": [
        {
          "key": "VpcId",
          "value": "vpc-07915390e0d20f457"
        },
        {
          "key": "MapPublicIpOnLaunch",
          "value": "false"
        },
        {
          "key": "AvailableIpAddressCount",
          "value": "16379"
        },
        {
          "key": "AvailabilityZone",
          "value": "ap-northeast-2a"
        },
        {
          "key": "Status",
          "value": "available"
        }
      ],
      "Description": ""
    }
  ],
  "description": "Generated Default Resource",
  "cspVNetId": "vpc-07915390e0d20f457",
  "cspVNetName": "ns01-ns01-systemdefault-aws-ap-northeast-2",
  "status": "",
  "keyValueList": null,
  "associatedObjectList": [
    "/ns/ns01/mcis/mc-hhh6d/vm/g1-1"
  ],
  "isAutoGenerated": false,
  "systemLabel": ""
}

"IdFromCsp": "subnet-01631ba5b3eccf9b5",

@seokho-son
Copy link
Member Author

PTAL @yunkon-kim

@seokho-son
Copy link
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label May 22, 2024
@cb-github-robot cb-github-robot merged commit c941b8e into cloud-barista:main May 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved and will be merged soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need in-detail subnet information
2 participants