Skip to content

Commit

Permalink
re-adding the id attribute and updated the note
Browse files Browse the repository at this point in the history
  • Loading branch information
vsurresh committed Nov 4, 2024
1 parent 01654d9 commit aea9868
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/guides/create-schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Overwrite the contents of the `schema_guide.yml` file with this content:

:::note

You will have to grab the id of the model attribute of the NetworkDevice node from the [schema page](http://localhost:8000/schema?branch=network-device-generics&kind=NetworkDevice) in the Web UI
In this step we are renaming `model` attribute of a NetworkDevice to `device_type`. To do this we have to provide the `id` of the attribute and the new name. You will have to grab the `id` of the model attribute of the NetworkDevice node from the [schema page](http://localhost:8000/schema?branch=network-device-generics&kind=NetworkDevice) in the Web UI.

:::

Expand Down Expand Up @@ -404,6 +404,7 @@ nodes:
- name: device_type
label: Device Type
kind: Text
id: 17bcf8a7-9c03-4a6a-3295-c51345cb1c33
relationships:
- name: interfaces
label: Interfaces
Expand Down

0 comments on commit aea9868

Please sign in to comment.