Skip to content

task: Improve how a mac address is displayed #9015

Description

@BaptisteGi

Component

API Server / GraphQL

Task Description

This is how a mac address is displayed in Infrahub:

Image

Everyone would expect a : separated address:

Image

Seems like this is coming from the backend:

{
  "node": {
    "address": {
      "semicolon_notation": "1:23:45:67:89:ab",
      "dot_notation": "0123.4567.89ab",
      "value": "01-23-45-67-89-AB",
      "version": 48,
      "is_default": false,
      "eui48": "01-23-45-67-89-AB",
      "eui64": "01-23-45-FF-FE-67-89-AB",
      "bare": "0123456789AB",
      "split_notation": "012345:6789ab",
      "oui": "01-23-45",
      "ei": "67-89-AB",
      "__typename": "MacAddress"
    }
  }
}

Metadata

Metadata

Assignees

Labels

type/taskBody of work related to an epic

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions