netmap
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| netmap [2012/09/17 13:01] – [Left navigation bar] norangshol | netmap [2012/09/18 12:56] (current) – [Right navigation bar] bredal | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Netmap is based on the [[http:// | Netmap is based on the [[http:// | ||
| + | |||
| + | ===== Features ===== | ||
| + | |||
| Netmap has these features (in no particular order): | Netmap has these features (in no particular order): | ||
| Line 12: | Line 15: | ||
| * Filtering of netboxes based on categories. These categories are set from the categories you have in the database. | * Filtering of netboxes based on categories. These categories are set from the categories you have in the database. | ||
| * Filtering orphans (netboxes not linking to anything) | * Filtering orphans (netboxes not linking to anything) | ||
| - | | + | * Note: elink is a fictive category, and Netmap itself detects where the elink should be based on NAV's known topology. |
| - | * * Note2: can't save metadata / positions of elink nodes, since there is no relation to them as it is a fictive node. | + | |
| * Searching. One can search after netboxes based on sysname | * Searching. One can search after netboxes based on sysname | ||
| * Option to pause the layout engine to preserve cpu-load. This should not be needed as the layout engine should stabilize the graph rather quickly in a newer browser and modern PC. In case your living in the past, there' | * Option to pause the layout engine to preserve cpu-load. This should not be needed as the layout engine should stabilize the graph rather quickly in a newer browser and modern PC. In case your living in the past, there' | ||
| Line 21: | Line 24: | ||
| * Fix or unfix all node positions. (this is position metadata that is saved to a view) | * Fix or unfix all node positions. (this is position metadata that is saved to a view) | ||
| * Views | * Views | ||
| - | | + | * User specific views and possibility to share em among other users |
| - | * * Delete your own views | + | |
| - | * * Update current view | + | |
| - | * * Create new view from selected view (incase you want a modify a view that isn't yours) | + | |
| - | * * Select a favorite view | + | |
| - | * * Administrator can set a global favorite view for users who does not have an favorite view selected. | + | |
| * Different info templates for selected netbox or selected link. | * Different info templates for selected netbox or selected link. | ||
| * Traffic gradient popup (will be nice when RRD/traffic load is refreshed every x min. | * Traffic gradient popup (will be nice when RRD/traffic load is refreshed every x min. | ||
| Line 34: | Line 37: | ||
| NOTE: Icons for the following categories are included GSW, GW, OTHER, SRV, SW, WLAN, EDGE and the fictive category ELINK. If you have other categories, put an icon with the category name in | NOTE: Icons for the following categories are included GSW, GW, OTHER, SRV, SW, WLAN, EDGE and the fictive category ELINK. If you have other categories, put an icon with the category name in | ||
| $NAV_ROOT/ | $NAV_ROOT/ | ||
| - | |||
| ===== Brief user guide===== | ===== Brief user guide===== | ||
| - | The netmap is available from the toolbox. Clicking it will redirect you to the javascript netmap application. | + | The netmap is available from the toolbox. |
| - | + | ||
| - | The page starts with loading the javascript application (big loading spinner, keeps spinning until it has loaded its required resources. This will go for the next times you visit netmap, as the resources will then be cached in your browser.). | + | |
| - | The spinner will decrease in size when the javascript application is loaded and it starts " | + | |
| - | + | ||
| - | The first thing you'll see is that the navigation menu on the left side is loaded, and soon after the network topology graph pops up. Depending on your loading a view with fixed nodes or not, the layout algorithm will do it's work and position nodes as good as making the nodes not collide. | + | |
| - | + | ||
| - | Your presented with two navigation bars, one on each side of your screen that you can toggle by clicking the "<<" | + | |
| - | In the center your presented with the network topology map it self. | + | |
| - | + | ||
| - | The load colors on edges represent load based on the link's capacity, and the link's weight represents a few static categories of link speeds. (0-100, 100-512, | + | |
| - | Using the traffic gradient popup can help you tell the load % without having to click on a link to read it's traffic data. | + | |
| + | Netmap consists of two navigation bars, one on each side of the screen, and the map itself. The navigation bars can be toggled by clicking the "<<" | ||
| + | The load colors((Click "Show gradient" | ||
| ==== Map ==== | ==== Map ==== | ||
| - | Nodes and be drag and dropped and positioned to your liking. | + | * Nodes can be positioned to your liking |
| - | Nodes get fixed and auto selected automagically after a drag and drop. In the netbox view you have an option to easily uncheck it again if you want to. | + | * To view information about a node or a link, just click on it. |
| + | * You may zoom the map by using the scroll-wheel on your mouse. | ||
| ==== Left navigation bar ==== | ==== Left navigation bar ==== | ||
| - | Starting on the left navigation bar, your presented with a: | + | The left navigation bar has options for filtering and controlling the behaviour of the map. |
| + | === Searchbox === | ||
| + | This searches for the name of a netbox and centers the map on it. If the search hits several netboxes the map will center on the first. | ||
| - | === Searchbox | + | === Zoom to extent |
| - | Type in part of the sysname of the box your looking for, it run loop thru it dataset and stop on the first match it hits and fetch it's graph position and translate the node to be centered in the graph. At the moment the search is quite simple, but in the _future_ it will have support for finding the bounding box for all matches and translate the bounding box to it's view port and set correct zoom level. | + | Zoom to extent will try to position the whole graph in the center of the view port and scale out so you can see it. |
| === Layer box === | === Layer box === | ||
| - | Radio button to toggle which network topology view you want to view, either | + | Toggle if you want to see layer 2 or layer 3 topology (([[http:// |
| - | Shouldn' | + | |
| === Categories === | === Categories === | ||
| - | You can run filters on the loaded network topology graph, pr. default the GSW, | + | Choose what categories |
| - | == Filter options | + | === Filter options |
| - | As you play around with filters, or NAV ' | + | * **Filter orphans**: Uncheck this to hide nodes with no links to other nodes. |
| - | + | * **Mark by position**: Mark nodes that are located in the same room or location. This is shown by drawing a red circle around the nodes who are related to the selected node. | |
| - | === Mark by position | + | * **Pause force algorithm**: Pause the layout algorithm by clicking the button. A green icon indicates active algorithm, a red an inactive |
| - | + | * **Fix or unfix all nodes**: Set all nodes to fixed or unfixed. Fixed nodes will not move when running the algoritm. | |
| - | Option to mark other related | + | |
| - | + | ||
| - | === Pause force algorithm | + | |
| - | + | ||
| - | If your on either running a old version of Firefox (known to have poor javascript performance in our experience) or equipped with a «bad computer from the past», you have a option to pause the layout | + | |
| - | + | ||
| - | You can resume | + | |
| === UI options === | === UI options === | ||
| - | * Show topology errors, option to render network topology errors like a link between two netboxes who doesn' | + | |
| - | + | * **Mouseover options**: Enable or disable auto selection | |
| - | == Mouseover options | + | |
| - | + | ||
| - | Enable or disable auto clicking of a node when simply | + | |
| === Traffic gradient === | === Traffic gradient === | ||
| - | A button to open the traffic load scale used in netmap in a popup. | + | Open the traffic load scale used in netmap in a popup. |
| - | + | ||
| ==== Right navigation bar ==== | ==== Right navigation bar ==== | ||
| - | === Available views === | + | === Views === |
| - | + | ||
| - | A drop down / combi box which shows your available views. Your own views are listed at the top and public views are listed below it. | + | |
| - | The selected view is always rendered as the first choice in the drop down. | + | |
| - | + | ||
| - | If the view has a description, | + | |
| - | + | ||
| - | The save button is a button for updating changes to a selected view, if the view isn't saved it will trigger a "Save new as". | + | |
| - | You probably also noticed the " | + | |
| - | + | ||
| - | A heart will popup if the selected view is the user's favorite view. | + | |
| - | + | ||
| - | = Save new view = | + | |
| - | + | ||
| - | Popups up a modal form, where you can enter title for the view (shown in dropdown) and a longer description if that is needed. | + | |
| - | A checkbox is available to select if the view should be open for other users in netmap or private. | + | |
| - | + | ||
| - | == Map info == | + | |
| - | This is the view that will render with a Netbox or Link template for a selected netbox or link. If your an administrator, | + | Choose active |
| - | Depending on which network topology layer you have active, it will render a bit different information. | + | |
| - | == Netbox view == | + | == Actions |
| + | * The save button will update a selected view. If the view isn't saved it will trigger a "Save new as". | ||
| + | * The " | ||
| + | * The " | ||
| + | * The " | ||
| - | Renders the sysname and it's management IP first together with the " | + | == Save new view == |
| - | A checkbox | + | Enter a title and optionally a description |
| - | Category is the netbox' | + | === Netbox/Link info === |
| - | (Missing atm: Device type ;-( ) | + | Depending on if you clicked a link or netbox the following info will be displayed: |
| - | Room and location information. | + | == Netbox == |
| - | If layer2, render VLAN information | + | Shows information |
| + | If we are on layer2, VLAN information will be displayed and an option to select a VLAN. Clicking on a VLAN will display the spread of it. | ||
| == Link view == | == Link view == | ||
| - | If layer3, render netident and netdescription together with active prefixes | + | If layer3, render netident and netdescription together with active prefixes |
| Renders from netbox [interface] to netbox [interface] | Renders from netbox [interface] to netbox [interface] | ||
| Line 155: | Line 125: | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| 1. Rendering is horrible slow | 1. Rendering is horrible slow | ||
| - | This kind of problem can be two things (or both). | + | This kind of problem can be two things (or both). |
| + | Chrome | ||
netmap.1347886867.txt.gz · Last modified: by norangshol
