TritonDataCenter / TritonDataCenter/sdc-cloudapi

Network List should List subnet and address range if admin

Open
#77 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
8
Forks
22
Avg merge
3d 9h
Merged PRs (30d)
1

Description

arch@9d46dd2d-1178-ce83-cbc4-d396e4a24060 ~ ❯❯❯ triton networks -l
ID                                    NAME               SUBNET            GATEWAY        FABRIC  VLAN  PUBLIC
7a7d3510-c834-431d-9cf7-8e7219f3bb9a  My-Fabric-Network  192.168.128.0/22  192.168.128.1  true    2     false
d86b63bb-3d8b-4abf-94e9-9cad37d190d1  cloudops_dmz_0     -                 -              -       -     true
37a1cc60-ced2-4e59-a62f-1d40525dc8b8  cps_lan            -                 -              -       -     true
0eca2659-28cb-42af-bc45-0b5e4aa134cc  dev01              192.168.20.0/24   192.168.20.1   true    200   false
a14a8828-33ff-4546-96b2-649a7f78ad6f  dev02              192.168.21.0/24   192.168.21.1   true    201   false
68c9cd97-de9f-4108-9fcf-a9ae1dd7840b  sdc_nat            -                 -              -       -     true
6b6f4454-990e-4d19-a071-464e13487aa5  test123            10.20.30.0/24     -              true    2     false
a79485ce-4821-4731-978e-cb0d49df0e54  test4              10.20.31.0/24     -              true    2     false

I'm an admin on cps_lan, and users should know which address range they can provision.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the output with triton networks -l and trace the network-list handling in the sdc-cloudapi repository, including how admin access is determined. Done means an admin can see the subnet and address range for networks such as cps_lan, while the existing listing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.