Giter VIP home page Giter VIP logo

netbox_floorplan's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

netbox_floorplan's Issues

Modifications to Supplementary Object (Area)

First- Thanks for the work you've done on this- I can see it being extremely useful for our team.

We use the equivalent of Supplementary Object (Area) quite heavily in our current DCIM- things like our storage rooms, low load/heavy load tiles, etc. as well as static structures like CRACs and hydraulic lifts.

It would be a huge benefit to be able to:

  • lock these areas to their location, so clicking and dragging does not accidentally move them (major usability issue when dealing with a large floorspace)
  • permanently setting their depth: Currently if one is positioned over where netbox-floorplan places a newly added rack object, I need to click outside the area for the racks to jump back to foreground
  • Set area size in feet/meters, like the overall floorplan
  • Snap area to other objects- at least walls/edge of floorplan

Background Images / Images inside the Canvis

Hello,
I would be happy if there was an option to insert images in the background. It doesn't matter whether it's sized to fit the canvis or not. If possible, it would also be helpful if you could insert general images.

I looked at the code and found parts that pointed to something in that direction, but I couldn't get it to work on my own.

fabric_screen01
fabric_screen02

thanks in advance
Niclas Heidrich

Installing in netbox-docker

Netbox-docker cannot find this plugin. When I follow the netbox-docker plugin installation instructions I get the following when I attempt to build the netbox-docker image:

ERROR: Could not find a version that satisfies the requirement netbox_floorplan (from versions: none) ERROR: No matching distribution found for netbox_floorplan The command '/bin/sh -c /opt/netbox/venv/bin/pip install --no-warn-script-location -r /plugin_requirements.txt' returned a non-zero code: 1

Is there a way to install this plugin in netbox-docker?

Nested location support

Use case

Currently, we have our datacenter racks laid out in locations by:

  • Floor
  • Room
  • Row
  • (Optional) Functional Group

Unfortunately, you cannot include devices in nested locations within the "Room" plan (Rack in Row 1, Infrastructure for example cannot be included in the "Room drawing").

Proposal

There are two options to solve this problem, one or the other method could be used:

  1. Allow devices from the location including all child locations
  2. Allow placement of child drawings

Floorplan changelog entry when viewed

When you just view a floorplan, a changelog entry is created saying "updated" Floorplan. The Difference tab in the changelog entry also says "No Changes". This is littering the changelog quite a bit.

Background sitemap / cancel-undo button

First of all many thanks for the plugin, great job and congratz on bounty award.
A long awaiting one finally created :)

Suggestions:
As i dont know the future plans to expand the plugin.

Do you have plans to have a option to maybe add background upload? As for example a sitemap/drawing of the location/site.
So that we can place the created dimension on it and also place the rack and match it on the drawing.

Might it be usefull to have a cancel and undo button, next to the save button.
Now you just click somewhere in the menu to cancel it and to undo your last action perhaps?

Background images not working

There's three inquiries/issues here...

  1. Uploading a background image for locations is giving me a Python error:

'NoneType' object has no attribute 'id'

  1. Uploading a background image for sites is going through, but there is nothing displayed in the floorplan tab. It's the usual blank canvas. I checked the actual file system, the image is there and has the needed Linux permissions. Do images have to meet certain file type and/or size requirements? The documentation didn't say (or I missed it).

  2. When adding (or updating) a floor plan through the Admin page, why is the Tags field required?

Thanks.

Python version: 3.11.2
NetBox version: 3.7.2
netbox_floorplan: 0.4

Add support for non-rectangular rooms

My small company has a laboratory in a room that is not rectangular. This feature would probably be useful for Netbox users who use it for small company setups (server rooms, labs, ...)

There is a possibility to use walls as a workaround for doing this. Only problem is: you cannot set accurate dimensions on your wall.

Layers that can be shown/hidden

Create layers (with Z) on the floor plan that can be turned on and off. For example hvac ducts, cable trays, Electrical outlets. Map a layer to a colour.

PyPI

Hi,

Would love to test this plugin, but I was unable to find it on PyPI.

Would you mind publishing it there? Or am I searching incorrectly?

Installing on Netbox (Not Docker)

Hello

I was wondering if I missed something that I get next error: ERROR: Could not find a version that satisfies the requirement netbox_floorplan (from versions: none) ERROR: No matching distribution found for netbox_floorplan

I saw some people had issue with it when they installed it on dockers, but not if you have directly on machine. There aren't maps like at docker (Dockerfile-Plugins, configuration/plugins.py, ect.)

Maybe I missed something?

Thank you for further assistance.

Floorplan Tab Not Appearing

Problem Summary:
A user (that is not a Netbox superuser) has been assigned all available Netbox Floorplan permissions and is experiencing the following:

  • Cannot view/create/edit/delete floorplans via the "Floorplan" tab in any new or existing locations.
  • Can, however, create new floorplans manually through the admin panel.
  • When trying to create a floor plan using the netbox-root-url/plugins/floorplan/floorplans/add URL, the GET request shows 403 forbidden

non-superuser view:
tab_missing

superuser view of the same view:
Screenshot 2023-10-27 at 11 19 38 AM

Expected Results
I would expect the Floorplan tab to be visible to this user and usable for all of the functions they have permissions for.

User's Environment:
OS: Ubuntu 22.04 Desktop
Broswers: Chrome & Firefox were tried

Rack/non racked device sizes pulled in from object

The size of the object shown on the floor plan should come from the rack/device being added to the map. At the moment when you place a rack, it comes into the map as 24x36", even if the Rack's dimensions are specified as 19x6 (a 2 post rack for example)

Add topics to github plugin

Suggestion:
To try and get more people to your plugin and maybe more contribution.
It might help to add the topics to your plugin under description with the wheel icon.

251296718-82199d6e-2362-4c98-a55d-15cc5ce9032f

As i mostly use it to search for plugins using the topic netbox-plugins and see if it is recently updated.

Width x length, not height

I believe this is just a conventional thing, but when creating the floor plan dimensions it should be labeled Width and Length, not height since this isn't a 3D model of the environment.

image

Text-size for text on racks/non-devices

The text on the racks/devices is sometimes to big for the rectangle the rack/nondevice is using:
afbeelding

My suggestion is to lower the text size or extend it on new line when the name is too long automatically or give the option to increase/decrease text-size. So this can be matched in the rectangle for readability. Other option could be to shorten the name with RACK-01-X... instead of RACK-01-X4567.

Maybe place active at the bottom with smaller text size so that it is not bigger then the rack/nondevice name
We could also add the option under active to let you know how full the rack capacity is.

See example:
afbeelding

Support for accurate drawing sizes

Room size is the first needed parameter, but we need ways to accurately draw/place objects within a large (say 200' by 400') space.

Ideas:

  • allow upload of an existing CAD image that will scale to the selected room size as a background- allowing us to draw/place walls/areas/etc. over top before removing the background image (or not)
  • Adding in relative distances when placing/moving objects- distances from walls at minimum, as well as length/width of walls and areas would be needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.