Skip to content

Added mikrotiks and fixed some #1109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from
Closed

Conversation

RataDP
Copy link

@RataDP RataDP commented Feb 7, 2023

I created the PR before adding or modifying new devices to check we agree about format and the data itself

Mikrotiks added:

  • Metal 2
  • Metal 5
  • Metal 52 ac
  • hEX PoE Lite
  • Powerbox
  • Powerbox Pro
  • netPower 16P
  • RB912UAG-5HPnD

Fixed:

  • hEX
  • hEX lite
  • hEX S
  • RB260GSP
  • CRS212-1G-10S-1S+IN
  • hAP lite

@danner26
Copy link
Member

I am marking this PR as a draft, please ensure all checks are passing. Then let me know and I will re-review this PR. Thanks!

@danner26 danner26 marked this pull request as draft February 13, 2023 17:02
@danner26 danner26 added the status: revisions needed This issue requires additional information to be actionable label Feb 13, 2023
@RataDP
Copy link
Author

RataDP commented Feb 28, 2023

Hello @danner26
The errors are fixed now.
Best regards

@danner26 danner26 marked this pull request as ready for review February 28, 2023 20:48
@@ -2,8 +2,10 @@
manufacturer: MikroTik
model: CRS212-1G-10S-1S+IN
slug: crs212-1g-10s-1splus-in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug

---
manufacturer: MikroTik
model: netPower 16P
slug: mikrotik_crs318-16p-2splus-out
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug, underscores shouldn't be used

is_full_depth: false
u_height: 0
airflow: passive
comments: '[MikroTik RB260GSP Datasheet](https://mikrotik.com/product/RB260GSP)'
slug: rb260gsp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug

---
manufacturer: MikroTik
model: PowerBox
slug: mikrotik_rb750p-pbr2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug, underscores shouldn't be used

---
manufacturer: MikroTik
model: hEX PoE lite
slug: mikrotik_rb750upr2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug, underscores shouldn't be used

@@ -2,10 +2,10 @@
manufacturer: MikroTik
model: RB960PGS
slug: rb960pgs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug

---
manufacturer: MikroTik
model: Metal 2
slug: mikrotik_rbmetal2shpn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug, underscores shouldn't be used

---
manufacturer: MikroTik
model: Metal 5
slug: mikrotik_rbmetal5shpn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug, underscores shouldn't be used

---
manufacturer: MikroTik
model: Metal 52 ac
slug: mikrotik_rbmetalg-52shpacn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add mikrotik- as a prefix to the slug, underscores shouldn't be used

@@ -2,8 +2,10 @@
manufacturer: MikroTik
model: CRS212-1G-10S-1S+IN
slug: crs212-1g-10s-1splus-in
part_number: CRS212-1G-10S-1SplusIN
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be part_number: CRS212-1G-10S-1S+IN to align with the datasheet

@danner26
Copy link
Member

danner26 commented Mar 9, 2023

Hello, unfortunately today we had to make a change to the schema in which weight is defined by. The upstream NetBox API requires weight to be passed to it in the following format:

weight: 12.01
weight_unit: lb

Due to this change, I have updated your branch against the current master. This might require you to update your PR, if you had weight currently defined, so that your PR is in-line with the new weight schema. If you have any issues, please let me know or refer to this PR for more information.

@zupy666
Copy link
Contributor

zupy666 commented Mar 14, 2023

I started doing a similar thing in PR#1196

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further progress is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale status: revisions needed This issue requires additional information to be actionable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants