Skip to content

Set ipaddressallocation visibility by tepless mode#1362

Open
TaoZou1 wants to merge 1 commit intovmware-tanzu:mainfrom
TaoZou1:iaa
Open

Set ipaddressallocation visibility by tepless mode#1362
TaoZou1 wants to merge 1 commit intovmware-tanzu:mainfrom
TaoZou1:iaa

Conversation

@TaoZou1
Copy link
Contributor

@TaoZou1 TaoZou1 commented Jan 29, 2026

Set ipaddressallocation visibility by tepless mode

Test Done:
test case 1:

  1. apply the yaml
root@423ae8d2b3ce0f6f4f09e5d7416d8b35 [ ~ ]# cat ip1.yaml
apiVersion: crd.nsx.vmware.com/v1alpha1
kind: IPAddressAllocation
metadata:
  name: ip1
spec:
  allocationSize: 16
  1. check the ipaddressallocation
k get ipaddressallocation -nqe -oyaml
apiVersion: v1
items:
- apiVersion: crd.nsx.vmware.com/v1alpha1
  kind: IPAddressAllocation
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"crd.nsx.vmware.com/v1alpha1","kind":"IPAddressAllocation","metadata":{"annotations":{},"name":"ip1","namespace":"qe"},"spec":{"allocationSize":16}}
    creationTimestamp: "2026-02-09T00:51:55Z"
    generation: 2
    name: ip1
    namespace: qe
    resourceVersion: "3650751"
    uid: 81abb24c-62fd-4fa3-91c9-a100f187cebd
  spec:
    allocationSize: 16
    ipAddressBlockVisibility: External
  status:
    allocationIPs: 192.168.0.16/28
    conditions:
    - lastTransitionTime: "2026-02-09T00:51:56Z"
      message: NSX IPAddressAllocation has been successfully created/updated
      reason: IPAddressAllocationReady
      status: "True"
      type: Ready
kind: List
metadata:
  resourceVersion: ""

@TaoZou1 TaoZou1 force-pushed the iaa branch 2 times, most recently from 2bcb5ec to 76dd7c9 Compare February 2, 2026 10:23
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2026

Codecov Report

❌ Patch coverage is 77.77778% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.57%. Comparing base (ad55e4e) to head (afaa93f).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...ddressallocation/ipaddressallocation_controller.go 77.77% 3 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1362      +/-   ##
==========================================
+ Coverage   76.54%   76.57%   +0.02%     
==========================================
  Files         151      151              
  Lines       21061    21121      +60     
==========================================
+ Hits        16122    16173      +51     
- Misses       3788     3794       +6     
- Partials     1151     1154       +3     
Flag Coverage Δ
unit-tests 76.57% <77.77%> (+0.02%) ⬆️
Files with missing lines Coverage Δ
...ddressallocation/ipaddressallocation_controller.go 70.06% <77.77%> (+2.43%) ⬆️

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Set ipaddressallocation visibility by tepless mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants