Skip to content

[BUG] VirtualNode Xname Type Not Valid #71

@PowellTravis

Description

@PowellTravis

Describe the bug
The VirtualNode XName type does not validate against SMD

To Reproduce
Steps to reproduce the behavior:
payload.json

{
    "Components":[
      {
        "ID": "x1000c1s7b56n0v2",
	"NID": 56
      }
    ]
  }
{"type":"about:blank","title":"Bad Request","detail":"couldn't validate components: xname ID 'x1000c1s7b56n0v2' is invalid","status":400}

https://github.com/Cray-HPE/hms-xname/blob/main/xnametypes/hmstypes.go#L75 HMS-XNAME types list as a valid xname

Expected behavior
The VurtualNode xname type should be accepted as a valid XNAME to SMD

Desktop (please complete the following information):

  • OS: [e.g. iOS] Rocky 9.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions