Commit Graph

159 Commits

Author SHA1 Message Date
Jeremy Stretch
db407fc479 Fixes #943: Child prefixes missing on Python 3 2017-03-08 14:10:27 -05:00
Jeremy Stretch
8d34033ae7 Additional work on #904 2017-02-21 14:53:22 -05:00
Shawn Peng
c07e5ad52b Fix #235: Enable global vlan (#904)
* Fix #235: Enable global vlan

Decouple site/vlan, make site optional for vlan/vlangroup
Change html generation code to check site existence before
dereference
Create site search function, if site is None for a VLAN, view it as
global VLAN

* commit1

* commit2

* commit3

* Add migration file for VLAN&VLAN group

* Revert unintentional commits
2017-02-21 13:27:24 -05:00
Jens L
395b26374a Basic Support for Python 3 (#827)
* Rudimentary python3 support

* update docs and trigger Travis

* fix some of the tests

* fix all python3 errors

* change env calls to just python

* add @python_2_unicode_compatible decorator to models for python2 compatibility

* switch netbox.configuration to from netbox import configuration
2017-01-23 16:44:29 -05:00
Jeremy Stretch
ac0eaf8d8b Closes #836: Add 'deprecated' status for IP addresses 2017-01-23 14:12:43 -05:00
Jeremy Stretch
457c8f93c8 Ditched get_parent_url() model method in favor of overrideable get_return_url() view method 2017-01-18 14:07:46 -05:00
Jeremy Stretch
06c4bf28c1 Fixes #810: Suppress unique IP validation on invalid IP addresses and prefixes 2017-01-18 09:55:57 -05:00
Jeremy Stretch
dcba889030 Follow-up to #804 2017-01-17 12:32:54 -05:00
Zach Moody
5db8c359d4 moved duplicates() method to model instead of manager. 2017-01-16 18:14:34 -06:00
Zach Moody
d6b094bc30 cleaned up IPAddress clean() to be more like Prefix's 2017-01-16 16:52:03 -06:00
Zach Moody
8388b51ba4 added duplicates() method to IPAddress and Prefix model managers.
refactored condition on IPAddress and Prefix clean method to use new
manager method.
2017-01-16 16:28:04 -06:00
Jeremy Stretch
c6a656d082 Fixes #764: Encapsulate in double quotes values containing commas when exporting to CSV 2017-01-04 10:47:00 -05:00
Jeremy Stretch
a43c45ce68 Fixes #763: Added missing fields to CSV exports 2017-01-03 14:52:56 -05:00
Jeremy Stretch
e4f4481a6a Fixes #658: Added is_pool field to Prefix model 2016-12-27 15:07:52 -05:00
Jeremy Stretch
a68cae8871 Closes #539: Implemented L4 services for devices 2016-12-15 15:32:58 -05:00
Jeremy Stretch
f25d182e18 Closes #695: Added is_private field to RIR 2016-12-06 13:59:13 -05:00
Jeremy Stretch
e1cdf49ed9 #667: Initial work on RIR statistics 2016-11-04 16:04:29 -04:00
Jeremy Stretch
11bf206311 Closes #647: Extend form used when assigning an IP to a device 2016-11-01 13:59:24 -04:00
Jeremy Stretch
86531cbb71 Attributed all model ValidationErrors to specific fields (where appropriate) 2016-10-21 15:39:13 -04:00
Jeremy Stretch
4aba691dd9 Closes #87: Added status field to IP addresses 2016-10-21 12:34:02 -04:00
Jonathan Senecal
9d056c6354 Removed superfluous "is" in error message 2016-10-19 14:22:34 -04:00
Jeremy Stretch
61f2037ca4 Fixes #531: Order prefixes by VRF assignment 2016-09-15 12:09:54 -04:00
Jeremy Stretch
c7e7063a2a Merged develop 2016-08-22 15:49:41 -04:00
Jeremy Stretch
238bf0a1bb Extended API to include custom fields 2016-08-22 13:20:30 -04:00
Jeremy Stretch
10afd97fad Fixes #495: Include tenant in prefix and IP CSV export 2016-08-19 10:31:16 -04:00
Jeremy Stretch
b311dc8653 Merging v1.5.2 2016-08-16 10:19:55 -04:00
Jeremy Stretch
b0c70a586f Fixes #460: For real this time 2016-08-15 15:39:48 -04:00
Jeremy Stretch
4724ce45d8 Minimal implemtnation of custom fields 2016-08-15 15:24:23 -04:00
Jeremy Stretch
6037f99d60 Fixes #460: Corrected ordering of IP addresses with differing prefix lengths 2016-08-13 01:02:03 -04:00
Jeremy Stretch
0741508aa5 Fixes #444: Corrected prefix model validation 2016-08-09 09:50:50 -04:00
Jeremy Stretch
20e623cd67 Adds tenant assignment to Prefix and IPAddress objects 2016-07-28 13:50:46 -04:00
Jeremy Stretch
01a0b00f32 Implemented tenancy for VRFs and VLANs 2016-07-27 11:29:20 -04:00
Jeremy Stretch
6389b30662 ipam.VLAN: Added description field, extended name to 64 chars 2016-07-25 14:58:49 -04:00
Jeremy Stretch
b619f99a75 Unicode handling cleanup 2016-07-18 14:48:51 -04:00
Jeremy Stretch
a71709d7b7 Fixes #322: Corrected 'vlan_group' to 'group' 2016-07-18 11:35:50 -04:00
Jeremy Stretch
2281917754 Fixes #320: Disallow prefixes with host masks 2016-07-18 10:06:43 -04:00
Jeremy Stretch
d8e4069876 Closes #111: Implement VLAN groups 2016-07-15 13:26:54 -04:00
Jeremy Stretch
5b981e2a57 Fixes #43: Introduce toggle to enforce unique IP space per VRF 2016-07-14 16:13:02 -04:00
Jeremy Stretch
0093d61427 Fixes #275: Exclude self when checking for overlapping aggregates 2016-07-13 10:37:25 -04:00
Jeremy Stretch
67b5a36bf0 Fixes #162: Return Unicode from display_name() 2016-07-12 10:46:32 -04:00
Jeremy Stretch
4f2374f04d Initial work on #93: Primary IPv4/IPv6 support 2016-07-11 16:24:46 -04:00
Jeremy Stretch
f5a1b3683c Fixes #67: Improved Aggregate validation; extended aggregate documentation 2016-06-28 10:04:03 -04:00
Jeremy Stretch
85a50c67de Tweaked display names for Racks, VLANs 2016-06-22 17:12:12 -04:00
Jeremy Stretch
cb5991d5a6 Extended primary models to include 'created' and 'last_updated' fields 2016-06-22 10:19:00 -04:00
Jeremy Stretch
f17938f156 Moved display_name from serializer to model 2016-06-21 15:22:11 -04:00
Jeremy Stretch
bc958a23b3 Improved model docstring quality 2016-06-21 12:45:02 -04:00
Jeremy Stretch
741f93999b PEP8 clenaup 2016-06-16 15:02:01 -04:00
Jeremy Stretch
15938ff98f Corrected Prefix CSV formatting 2016-06-16 14:19:20 -04:00
Jeremy Stretch
2531366a10 Use device identifier instead of name 2016-06-16 13:39:28 -04:00
Jeremy Stretch
66600ef984 Implemented built-in CSV export for IPAM objects 2016-06-16 12:08:50 -04:00
Jeremy Stretch
f690be60fd Code cleanup 2016-05-18 16:20:30 -04:00
Jeremy Stretch
e9d09d9a16 Delete deprecated ipam.Status model 2016-05-17 16:54:34 -04:00
Jeremy Stretch
d101cff556 Remove temporary status_new field 2016-05-17 16:44:31 -04:00
Jeremy Stretch
c1e41410c9 Transitioning ipam.Status from model to static field 2016-05-17 16:40:15 -04:00
Jeremy Stretch
2baa31bde1 Transitioning ipam.Status from model to static field 2016-05-17 16:13:27 -04:00
Jeremy Stretch
ff46970ba9 Introduced CBVs for IPAM Roles 2016-05-17 15:04:16 -04:00
Jeremy Stretch
e1a0b8fee6 Added CBVs for RIRs 2016-05-16 13:04:45 -04:00
Jeremy Stretch
337815f81d Added Prefix.new_subnet property 2016-03-02 22:10:25 -05:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00