Commit Graph

1650 Commits

Author SHA1 Message Date
Jeremy Stretch
90f8c7bde5 Fixed vertical heigh of checboxes in tables 2017-10-27 10:31:54 -04:00
Jeremy Stretch
17528294fe Closes #1631: Added a post_run method to the Report class 2017-10-27 10:02:27 -04:00
Tom Strickx
b0d4620fda Remove explicit reference to the name field
Remove the explicit usage of the `name` field, and let the __str__ method of the ConsoleServerPort class handle the display
2017-10-26 09:24:39 -07:00
Ryan Breaker
2ce35535e0 Add Digital Ocean as an initial cluster 2017-10-26 10:05:18 -05:00
Jeremy Stretch
f6d7908a61 Fixes #1634: Cluster should not be a required field when importing child devices 2017-10-23 13:17:51 -04:00
Jeremy Stretch
444cf949e0 Fixes #1624: Add VM count to device roles table 2017-10-23 13:15:34 -04:00
Jeremy Stretch
09a4cec327 Fixes #1513: Correct filtering of custom field choices 2017-10-20 16:39:13 -04:00
Jeremy Stretch
3b3b219a46 Closes #999: Display devices on which circuits are terminated in circuits list 2017-10-20 16:27:19 -04:00
Ryan Breaker
c35c5dbf23 Add Hyper-V and Azure to Virtualization initial_data 2017-10-19 20:18:09 -05:00
Jeremy Stretch
c044d731b9 #1621: Allow for loose matching of short-form IOS interface names when validating LLDP neighbors 2017-10-19 17:12:28 -04:00
Jeremy Stretch
f95720ca85 Fixes #1620: Loosen IP address search filter to match all IPs that start with the given string 2017-10-18 14:29:56 -04:00
Jeremy Stretch
3a30cbb6f9 Fixes #1619: Correct text-based filtering of IP network and address fields 2017-10-18 13:01:49 -04:00
Jeremy Stretch
f664f866c5 Fixes #1618: Allow bulk deletion of all virtual machines 2017-10-18 12:31:58 -04:00
Jeremy Stretch
0f7f878640 Merge pull request #1597 from RyanBreaker/validations
Additional data validation for Rack model
2017-10-18 11:22:26 -04:00
Jeremy Stretch
fba063081b Post-release version bump 2017-10-17 11:25:12 -04:00
Jeremy Stretch
b0d3daf43f Release v2.2.2 2017-10-17 11:21:58 -04:00
Jeremy Stretch
4cfe36225d Fixes #1579: Devices already assigned to a cluster cannot be added to a different cluster 2017-10-17 09:59:35 -04:00
Jeremy Stretch
47768a1ae2 Fixes #1609: Added missing virtual_machine field to IP address interface serializer 2017-10-17 09:23:53 -04:00
Jeremy Stretch
2d0d7f9093 Merge pull request #1598 from candlerb/candlerb/1498
Avoid creating repeated graph nodes where device matches multiple regexps
2017-10-16 17:16:46 -04:00
Jeremy Stretch
0e1c7c82f4 Fixes #1605: Added clusters and virtual machines to object list for global search 2017-10-16 16:44:15 -04:00
Ryan Breaker
919c61ac6f Added virtualization fixture for loaddata initial_data 2017-10-16 14:59:39 -05:00
root
6602c2b77c Avoid creating repeated graph nodes where device matches multiple regexps
Fixes #1498
2017-10-16 10:13:39 +00:00
Ryan Breaker
42b8707579 Add test for validation of device within rack height. 2017-10-15 19:03:28 -05:00
Ryan Breaker
1e6c7a56c9 Add group and site matching validation to Rack.clean() and testing 2017-10-15 18:35:03 -05:00
Jeremy Stretch
c37eb774dc Removed deprecated xstr and expand_pattern functions 2017-10-13 14:29:55 -04:00
Jeremy Stretch
787e86c25e Closes #1580: Allow cluster assignment when bulk importing devices 2017-10-13 14:19:41 -04:00
Jeremy Stretch
55b667a12e Fixes #1585: Fixed slug-based filtering of virtual machines 2017-10-13 12:14:19 -04:00
Jeremy Stretch
4a618d9234 Closes #1587: Add primary IP column for virtual machines in global search results 2017-10-13 10:53:25 -04:00
Jeremy Stretch
fdeacd0864 Fixes #1584: Colorized virtual machine role column 2017-10-13 10:45:34 -04:00
Jeremy Stretch
60df76f66e Fixes #1582: Add virtual_machine attribute to IPAddress 2017-10-13 10:42:45 -04:00
Jeremy Stretch
5637962eb7 Post-release version bump 2017-10-12 16:39:51 -04:00
Jeremy Stretch
65cc2905b0 PEP8 fix 2017-10-12 16:07:13 -04:00
Jeremy Stretch
6f91b07438 Release v2.2.1 2017-10-12 16:04:01 -04:00
Jeremy Stretch
9d9b90a413 Fixes #1576: Move PostgreSQL validation logic into the relevant migration 2017-10-12 16:02:15 -04:00
Jeremy Stretch
b325072c3e Post-release version bump 2017-10-12 14:01:52 -04:00
Jeremy Stretch
7194812ab8 Release v2.2.0 2017-10-12 13:54:04 -04:00
Jeremy Stretch
42db8a94c2 Fixed typo 2017-10-12 13:47:44 -04:00
Ryan Breaker
770ba2be06 Add meta tags for charset and convert some tabs to spaces for consistency (#1574)
* Add meta tag for charset.

* Add meta tag for charset in 500.html and convert some tabs to spaces for consistency.
2017-10-12 13:39:28 -04:00
Jeremy Stretch
d38099186a Updated version number for v2.2 build 2017-10-11 16:42:44 -04:00
Jeremy Stretch
9e20d3f738 Bypass PostgreSQL 9.4 check if database is inaccessible 2017-10-11 16:28:05 -04:00
Jeremy Stretch
eb0383df26 Check that PostgreSQL is 9.4 or higher on initialization 2017-10-11 16:16:44 -04:00
Jeremy Stretch
7f2644a495 Updated package requirements 2017-10-11 15:11:51 -04:00
Jeremy Stretch
5dcc3b2725 Branded the browsable API template 2017-10-11 14:47:43 -04:00
Jeremy Stretch
dd0e9e6d32 Removed obsolete docker build file 2017-10-11 14:39:51 -04:00
Jeremy Stretch
9ba7e3fe6a Added missing permission class to reports API viewset 2017-10-11 14:37:25 -04:00
Jeremy Stretch
6671ded02f Introduced the REPORTS_ROOT config parameter; Python2 fixes 2017-10-11 14:03:35 -04:00
Jeremy Stretch
d23f83818b Improved template for when no reports are found 2017-10-11 13:30:38 -04:00
Jeremy Stretch
732827f689 Merge branch 'develop' into develop-2.2
Conflicts:
	netbox/utilities/api.py
2017-10-11 10:47:21 -04:00
Jeremy Stretch
de25348dcc Closes #1510: Added ability to search by name when adding devices to a cluster 2017-10-11 10:14:09 -04:00
Jeremy Stretch
445c648452 #1556: Swapped label and value 2017-10-10 17:47:53 -04:00
Jeremy Stretch
30e9195a20 Moved querysets to separate files; tweaked interface ordering logic (#1523) 2017-10-10 17:23:41 -04:00
Jeremy Stretch
1f4deac332 Closes #1556: Added API endpoints listing static field choices for each app 2017-10-10 16:41:35 -04:00
Jeremy Stretch
d220eaed8b Moved core API classes out of utilities 2017-10-10 14:21:20 -04:00
Jeremy Stretch
ff7a3b75b7 Fixes #1567: Prompt user for session key when importing secrets 2017-10-10 13:22:40 -04:00
Jeremy Stretch
52a0e75427 Fixes #1527: Replace deprecated pycrypto library with pycryptodome 2017-10-09 17:40:15 -04:00
Jeremy Stretch
ec13e1d23e Closes #494: Include asset tag in device info pop-up on rack elevation 2017-10-09 16:25:52 -04:00
Jeremy Stretch
52f649eb61 Closes #1479: Added CARP IP address role 2017-10-09 16:03:45 -04:00
Jeremy Stretch
b8f9ebeabd Added bulk import view for secret roles 2017-10-09 15:56:17 -04:00
Jeremy Stretch
38bdfdc3fc Added bulk import view for circuit types 2017-10-09 15:52:22 -04:00
Jeremy Stretch
6bbca969f8 Added bulk import views for cluster types and groups 2017-10-09 15:49:48 -04:00
Jeremy Stretch
9d051da64b Added bulk import views for RIRs, roles, and VLAN groups 2017-10-09 15:42:06 -04:00
Jeremy Stretch
b75d1e1c90 Added NAPALM driver to platform table; removed legacy RPC client 2017-10-09 15:30:48 -04:00
Jeremy Stretch
34c3fe82c9 Added bulk import views for rack roles, device roles, and platforms 2017-10-09 15:28:46 -04:00
Jeremy Stretch
6dcab12611 Added bulk import view for tenant groups 2017-10-09 15:09:40 -04:00
Jeremy Stretch
b906030801 #1444: Added a serial number field to the rack model 2017-10-09 15:01:57 -04:00
Jeremy Stretch
2ba4b2dc2d Closes #1551: Added CPAK, CFP2, and CFP4 100GE interface form factors 2017-10-09 14:45:10 -04:00
Jeremy Stretch
cc68fa2af7 Fixes #1554: Don't require form_factor when creating an interface assigned to a virtual machine 2017-10-09 14:27:31 -04:00
Jeremy Stretch
c8cbd0223f Closes #1557: Added filtering for virtual machine interfaces 2017-10-09 13:59:53 -04:00
Jeremy Stretch
3c5ac0514f Closes #1506: Extended rack facility ID field from 30 to 50 characters 2017-10-09 13:44:22 -04:00
Jeremy Stretch
0029cedcf0 Closes #1548: Automatically populate tenant assignment when adding an IP address from the prefix view 2017-10-09 13:40:28 -04:00
Jeremy Stretch
3f09eb55ac #1561: Selected related primary IPs for devices under global search 2017-10-09 13:32:30 -04:00
huzichunjohn
254ec46eca Closes #1561: Add Primary IP for a device to Search Results (#1565) 2017-10-09 13:28:39 -04:00
Jeremy Stretch
ee1e3afebf Fixes #1550: Corrected interface connections link in navigation menu 2017-10-06 15:39:39 -04:00
Jeremy Stretch
83e567c529 Fixes #1563: Made necessary updates for Django REST Framework v3.7.0 2017-10-06 15:26:56 -04:00
Jeremy Stretch
7558170f4c Redesigned the navigation menus 2017-09-29 14:27:42 -04:00
Jeremy Stretch
accb02a98d Merge branch 'develop-2.2' of github.com:digitalocean/netbox into develop-2.2 2017-09-29 12:54:38 -04:00
Jeremy Stretch
33b4c623d1 Merge branch 'develop-2.2' into develop-2.1 2017-09-29 12:30:36 -04:00
Jeremy Stretch
26c609139e Merge branch 'develop' into develop-2.1 2017-09-29 12:26:54 -04:00
Jeremy Stretch
bc5302bd63 Corrected default return URL for BulkComponentCreateView 2017-09-29 12:15:14 -04:00
Jeremy Stretch
aab0456432 #1493: Extended DeviceRole to include a toggle indicating applicability to virtual machines 2017-09-29 12:11:20 -04:00
Jeremy Stretch
ed519a86f6 Renamed column 2017-09-29 11:50:26 -04:00
Jeremy Stretch
dd0bad553f Closes #1493: Added functional roles for virtual machines 2017-09-29 11:13:41 -04:00
Jeremy Stretch
3328895c75 Removed deprecated NETBOX_USERNAME and NETBOX_PASSWORD configuration parameters 2017-09-29 10:18:18 -04:00
Jeremy Stretch
c5eaaae9e7 Merge pull request #1544 from digitalocean/reports
Closes #1511: Implemented reports
2017-09-28 17:16:10 -04:00
Jeremy Stretch
f9f272426c Restrict the running of reports via API to POST requests 2017-09-28 16:04:37 -04:00
Jeremy Stretch
9ffe95a545 Cosmetic cleanup 2017-09-28 15:18:40 -04:00
Jeremy Stretch
4f6dd4cc1b Fixed 'failure' field name 2017-09-28 14:57:54 -04:00
Jeremy Stretch
efa4ed9a32 Added nav menu link to reports list 2017-09-28 14:54:11 -04:00
Jeremy Stretch
7e0b54eadd Bugfixes 2017-09-28 13:36:50 -04:00
Jeremy Stretch
cceb4c69f8 Expanded report view 2017-09-28 13:35:18 -04:00
Jeremy Stretch
e1bc7edede Added a run view for reports 2017-09-28 12:51:10 -04:00
Jeremy Stretch
4151d49f69 Fixed runreport management command 2017-09-28 12:50:52 -04:00
Jeremy Stretch
0b3cddb56b Moved ReportResult creation into Report.run() 2017-09-28 12:50:32 -04:00
Jeremy Stretch
69f6c9ca07 Fixes #1542: Added cluster field to device view 2017-09-28 10:21:41 -04:00
Jeremy Stretch
ac0e9ef0a8 Fixes #1543: Added missing virtual machine field to IP address and service filters 2017-09-28 09:29:12 -04:00
Jeremy Stretch
ec6475e60b Started adding a view for individual reports 2017-09-27 17:39:22 -04:00
Jeremy Stretch
422deae06a Removed custom permission 2017-09-26 17:31:16 -04:00
Jeremy Stretch
ab9ee8b78d Prettied up the reports list 2017-09-26 17:17:28 -04:00
Jeremy Stretch
d1bcc537e9 Added url field for nested report results 2017-09-26 16:55:25 -04:00
Jeremy Stretch
5aefe987c2 Cleaned up the API quite a bit 2017-09-26 16:36:43 -04:00
Jeremy Stretch
4fa4225634 Fixes #1540: Added missing 'cluster' field to WritableDeviceSerializer 2017-09-26 15:45:14 -04:00
Jeremy Stretch
69f90c6342 Extended reports API 2017-09-25 17:27:58 -04:00
Jeremy Stretch
c217559883 Added navigation panel 2017-09-25 16:22:50 -04:00
Jeremy Stretch
8936528bb0 Merge branch 'develop' of github.com:digitalocean/netbox into develop-2.2 2017-09-25 15:12:47 -04:00
Jeremy Stretch
3cdde72e42 Post-release version bump 2017-09-25 14:53:10 -04:00
Jeremy Stretch
05fbf05f1d Release v2.1.5 2017-09-25 14:50:45 -04:00
Jeremy Stretch
644b7e540d Fixes #1486: Ignore subinterface IDs when validating LLDP neighbor connections 2017-09-25 14:33:32 -04:00
Jeremy Stretch
f2a180d10c #1499: Added utilization graph to child prefixes for aggregates 2017-09-25 13:39:03 -04:00
Jeremy Stretch
548642ded9 Fixes #1489: Corrected server error on validation of empty required custom field 2017-09-25 13:37:11 -04:00
Jeremy Stretch
d2c6fd7809 Closes #1536: Improved formatting of aggregate prefix statistics 2017-09-25 12:14:55 -04:00
Jeremy Stretch
23f8a56e94 Closes #1499: Added utilization graph to child prefixes table 2017-09-22 21:17:46 -04:00
Jeremy Stretch
a8757266c4 More work on #1523 (natural ordering for interfaces) 2017-09-22 16:18:43 -04:00
Jeremy Stretch
dd7f00cbd1 Closes #1509: Extended cluster model to allow site assignment 2017-09-22 12:53:09 -04:00
Jeremy Stretch
6f401636f8 Implemented rough UI for accessing report results 2017-09-22 12:11:10 -04:00
Joey Wilhelm
210286f0a3 Another test case to ensure subinterface ordering 2017-09-21 17:21:21 -07:00
Jeremy Stretch
c7e54ecde6 Initial work on reports API 2017-09-21 16:32:05 -04:00
Joey Wilhelm
ec7b815b12 Fix order_naturally with unbalanced names and use RawSQL instead of extra 2017-09-21 11:00:55 -07:00
Jeremy Stretch
fdba2a1e3c Tweaked report run logic 2017-09-21 13:49:04 -04:00
Jeremy Stretch
596698d246 Fixes #1522: Removed object create/edit forms from the browsable API 2017-09-20 16:54:27 -04:00
Jeremy Stretch
f6e6910bc5 Cleaned up device interfaces/IPs table 2017-09-20 14:44:51 -04:00
Jeremy Stretch
70312a73e0 Added virtualization models to nbshell and fixed up status constants 2017-09-20 14:03:56 -04:00
Jeremy Stretch
e9848c0fe7 Merge pull request #1517 from huzichunjohn/issue_1514
Fixes #1514: No field to edit Cluster comments
2017-09-20 11:53:43 -04:00
Jeremy Stretch
3d2b189631 Limited virtual machine interfaces to type "virtual" (removed LAG type) 2017-09-20 11:47:37 -04:00
Jeremy Stretch
c6469777c8 Fixes #1520: Redirect on GET request to bulk edit/delete views 2017-09-20 09:56:20 -04:00
johnhu
43f10277d9 Fixes #1514: No field to edit Cluster comments 2017-09-20 11:48:49 +00:00
Jeremy Stretch
842ba133cb Initial work on reports 2017-09-19 17:47:42 -04:00
Jeremy Stretch
8dc6eca2d4 Enabled export templates for clusters and virtual machines 2017-09-19 11:31:29 -04:00
Jeremy Stretch
5d5a45fa13 Fixes #1508: Enabled creating custom fields for clusters and virtual machines via the admin UI 2017-09-19 10:40:38 -04:00
Jeremy Stretch
15143f6a56 Fixes #1507: Fixed error when creating the next available IP from a prefix within a VRF 2017-09-18 16:34:28 -04:00
Jeremy Stretch
ed00f144fa Fixed #1500: Allow assigning IP addresses to virtual machines during CSV bulk import 2017-09-18 13:30:20 -04:00
Jeremy Stretch
bbe9bfee5d Fixes #1502: Fixed CSV export for clusters and virtual machines 2017-09-18 13:12:58 -04:00
Jeremy Stretch
b20ff3f508 Fixes #1504: Added missing vcpus/memory/disk fields to virtual machine API serializer 2017-09-18 12:54:50 -04:00
Jeremy Stretch
edcb1f120b Closes #1485: Added LOGIN_BANNER configuration setting to display a banner on the login page 2017-09-15 15:28:09 -04:00
Jeremy Stretch
d037938fa3 Closes #1484: Added individual "add VLAN" buttons on the VLAN groups list 2017-09-15 15:14:35 -04:00
Jeremy Stretch
7ec775ebc4 Removed old RPC-based LLDP neighbors code 2017-09-15 14:07:09 -04:00
Jeremy Stretch
f86e15894c Closes #1496: Added primary IP column to virtual machine list 2017-09-15 11:47:29 -04:00
Jeremy Stretch
8ee542187d Fixes #1497: Added cluster_id filter 2017-09-15 11:36:06 -04:00
Jeremy Stretch
e97b595d84 Closes #1490: Rearrange order of items in the virtualization nav menu 2017-09-15 11:08:23 -04:00
Jeremy Stretch
fcc8f7e076 Merge branch 'develop' into develop-2.2
Conflicts:
	netbox/dcim/forms.py
2017-09-14 14:58:45 -04:00
Jeremy Stretch
5c8213f423 Use add_blank_choice() to prepend a null choice to field options 2017-09-14 14:45:45 -04:00
Jeremy Stretch
0d8947bf36 Added a status field for virtual machines 2017-09-14 14:35:34 -04:00
Jeremy Stretch
d6637410a2 Don't add a placeholder option to multiselect widgets 2017-09-12 14:14:08 -04:00
Jeremy Stretch
bf6f513377 Renamed form_class attribute to model_form for consistency 2017-09-12 13:55:11 -04:00
Jeremy Stretch
03cf6b4bd9 Implemented bulk interface creation for virtual machines 2017-09-12 12:49:01 -04:00
Jeremy Stretch
fbacd95d69 Finished bulk edit/delete views 2017-09-11 16:14:05 -04:00
Jeremy Stretch
da1ea4c08e Added device count to clusters table 2017-09-11 15:51:03 -04:00
Jeremy Stretch
07005769bc Finished implementing CSV imports 2017-09-11 15:42:18 -04:00
huzichunjohn
f35e08b496 Fixes #1472: Secret truncated when using '<' character (#1477) 2017-09-11 10:55:04 -04:00
Jeremy Stretch
682c463f8c Fixes #1469: Allow a NAT IP to be assigned as the primary IP for a device 2017-09-01 13:00:44 -04:00
Jeremy Stretch
51279c3bce Merge branch 'virtualization' into develop-2.2 2017-09-01 12:29:12 -04:00