Skip to content

<feature>[zns]: add ZNS error code 10019#3751

Open
ZStack-Robot wants to merge 1 commit intofeature-5.5.12-znsfrom
sync/shixin.ruan/shixin.ruan-zcf-2734@@2
Open

<feature>[zns]: add ZNS error code 10019#3751
ZStack-Robot wants to merge 1 commit intofeature-5.5.12-znsfrom
sync/shixin.ruan/shixin.ruan-zcf-2734@@2

Conversation

@ZStack-Robot
Copy link
Copy Markdown
Collaborator

Add error code ORG_ZSTACK_NETWORK_ZNS_10019 for the single-L3
restriction on ZNS-backed L2 networks.

Resolves: ZCF-2734

Change-Id: Id2f0042c36fb42f7ab3b4d69885fa0ec

sync from gitlab !9619

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 14, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

总体说明

CloudOperationsErrorCode 类中添加了新的公共常量 ORG_ZSTACK_NETWORK_ZNS_10019,用于表示特定的网络错误代码。

变更内容

内聚组 / 文件 变更摘要
错误代码常量
utils/src/main/java/org/zstack/utils/clouderrorcode/CloudOperationsErrorCode.java
添加新的公共静态最终字符串常量 ORG_ZSTACK_NETWORK_ZNS_10019,值为 "ORG_ZSTACK_NETWORK_ZNS_10019"

代码审查工作量估计

🎯 1 (简单) | ⏱️ ~2 分钟

诗歌

🐰 新常数添一行,
错误代码云端翔,
网络通道更明畅,
代码库增色彩,
轻轻松松就完成!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed PR标题遵循指定的格式 <type>[scope]: <description>,长度为40字符,符合72字符的限制,清晰地描述了主要变更。
Description check ✅ Passed PR描述清晰地说明了添加的错误代码及其用途,与代码变更完全相关,提供了充分的上下文信息。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sync/shixin.ruan/shixin.ruan-zcf-2734@@2

Comment @coderabbitai help to get the list of available commands and usage tips.

@MatheMatrix MatheMatrix force-pushed the sync/shixin.ruan/shixin.ruan-zcf-2734@@2 branch 10 times, most recently from 803ce30 to 8cdc198 Compare April 16, 2026 12:23
Resolves: ZCF-2734

Change-Id: If566219badf46592e2bdcd0cbdd3ea43fc45f6e3
@MatheMatrix MatheMatrix force-pushed the sync/shixin.ruan/shixin.ruan-zcf-2734@@2 branch from 8cdc198 to 342883f Compare April 16, 2026 13:05
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