Commit Graph

68 Commits

Author SHA1 Message Date
jeremystretch
effb779323 Fixes #10936: Permit demotion of device/VM primary IP via IP address edit form 2022-11-21 15:36:13 -05:00
jeremystretch
bcedad2f50 Fixes #10109: Fix available prefixes calculation for container prefixes in the global table 2022-08-23 10:37:38 -04:00
Arthur
468f1a5a6e #6454 fix merge conflicts 2022-08-18 15:31:54 -07:00
Arthur
576ad86425 #6454 add prerequisite alert 2022-08-18 15:11:03 -07:00
jeremystretch
15c6b506ae #9414: Clean up clone_fields on all models 2022-08-11 09:58:37 -04:00
jeremystretch
30b7f8f2ae Merge branch 'develop' into feature 2022-08-01 14:42:09 -04:00
jeremystretch
09f52fd8f9 Fixes #9884: Prevent querying assigned VRF on prefix object init 2022-08-01 09:47:18 -04:00
jeremystretch
b5ce566e31 #8157: General cleanup & fix tests 2022-07-11 21:51:39 -04:00
jeremystretch
7a899845a1 Closes #8171: Populate next available address when cloning an IP 2022-07-01 16:36:24 -04:00
jeremystretch
60a5049461 Closes #1202: Support overlapping assignment of NAT IP addresses 2022-05-11 16:22:07 -04:00
Sean M. Collins
c40ccfec58 Do not allocate subnet router anycast in certain IPv6 prefixes 2022-04-26 14:54:52 -04:00
jeremystretch
3f0b8a6adb Merge branch 'develop' into feature 2022-03-25 10:38:44 -04:00
tranthang2404
be9fe2c36b Closes #8232: Add color show full 100% utilization (#8816)
* Closes #8232: Add color show full 100% utilization

* change rounding

* change rounding

* fix hard code html

* format
2022-03-25 09:52:13 -04:00
jeremystretch
db7aafc734 Standardize on get_FOO_color() method for returning ChoiceField colors 2022-02-11 14:25:13 -05:00
jeremystretch
d8610ccec4 Improve ChoiceFieldColumn to not rely on model method to derive label color 2022-02-10 16:29:19 -05:00
jeremystretch
515c7f56a3 Rename PrimaryModel to NetBoxModel 2022-01-26 20:57:14 -05:00
jeremystretch
dc4436f02d Refactor to_objectchange() 2022-01-26 20:25:23 -05:00
jeremystretch
77e1aa34e4 Closes #8195: Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField 2022-01-24 16:02:54 -05:00
jeremystretch
cb80cf7488 Remove extras_features() decorator 2022-01-19 15:16:10 -05:00
jeremystretch
cd4b695f9d Merge v3.1.6 2022-01-17 11:12:54 -05:00
jeremystretch
b204bb5fb7 #8293: Tweak table column output & add changelog 2022-01-13 15:10:06 -05:00
Jason Yates
11c096cc42 Suggested changes
* Updating asdot computation to use an fstring
* Cleaning code. Custom property now returns either the ASN with ASDOT notation or just the ASN. asn_with_asdot can now be referenced in ASNTable & objet template.
2022-01-13 04:58:51 +00:00
Jason Yates
4d56f4972a Updating page title to include asdot notation 2022-01-12 16:44:22 +00:00
Jason Yates
7c953b3070 Adding asdot notation to ASN views
Adds custom property to asn model to compute asdot notation if required.
Updates asn view to show asdot notation if one exists in the format xxxxx (yyy.yyy)
Adds a custom column renderer to asn table to display asdot notation if one exists
2022-01-12 14:06:22 +00:00
jeremystretch
9172026796 Merge v3.1.4 2022-01-03 11:20:58 -05:00
jeremystretch
1ef8379a38 Fixes #8192: Add "add prefix" button to aggregate child prefixes view 2021-12-30 12:00:37 -05:00
jeremystretch
26823615ad Support CSS class definition directly in CHOICES iterable 2021-12-16 10:03:23 -05:00
jeremystretch
189656d4c2 Introduce child prefixes view for aggregates 2021-12-14 16:38:25 -05:00
jeremystretch
841e54b61c Housekeeping: Use RestrictedQuerySet for default manager on base models 2021-11-11 15:04:22 -05:00
jeremystretch
97b2c082c4 #6732: Add asns relationship to SiteSerializer and extend tests 2021-11-03 15:24:15 -04:00
Daniel Sheppard
a3531474b5 #6732 - Swap ASN M2M to Site model and update some templates/filters 2021-11-02 12:26:06 -05:00
Daniel Sheppard
e237ffce8f #6732 - Corrected model field definitions 2021-10-29 14:26:19 -05:00
Daniel Sheppard
dac86e6aec Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model 2021-10-28 11:55:20 -05:00
Daniel Sheppard
f0a0ec7c08 #6732 - ASN should be unique 2021-10-28 10:04:12 -05:00
jeremystretch
e3520f909d Optimize config queries 2021-10-26 13:41:56 -04:00
jeremystretch
edc69c75bf Introduce ConfigItem; add rack elevation parameters 2021-10-26 10:04:56 -04:00
jeremystretch
914304c580 Initial work on #5883 2021-10-25 16:10:50 -04:00
Daniel Sheppard
a66c6dc27c Initial work on #6732 2021-10-24 23:42:47 -05:00
jeremystretch
bfc52b15bb Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
Jeremy Stretch
ae70036d12 Merge pull request #7366 from shuichiro-makigaki/optimize-prefix-util
Fix #7365: Optimize calculation of prefix utilization
2021-09-28 16:09:27 -04:00
jeremystretch
8275df1ac9 Closes #7252: Validate IP range size does not exceed max supported value 2021-09-28 15:44:41 -04:00
Shuichiro MAKIGAKI
aedc0ce279 Fix #7365: Optimize calculation of prefix utilization 2021-09-25 22:28:31 +09:00
jeremystretch
44d8c3cf14 Fixes #7071: Fix exception when removing a primary IP from a device/VM 2021-08-30 16:55:31 -04:00
jeremystretch
b235f2dd53 #6934: Correct prefix utilization and available IP reporting to account for child IP ranges 2021-08-13 10:43:25 -04:00
jeremystretch
86bf68d09d #6934: Account for child IP ranges when calculating prefix utilization 2021-08-13 10:33:58 -04:00
jeremystretch
13bdc86c4e Merge v2.11.11 2021-08-12 11:51:04 -04:00
jeremystretch
e900acdde0 Fixes #6896: Fix validation of IP address assigned as device/VM primary via NAT relation 2021-08-11 21:15:45 -04:00
jeremystretch
2db6aeb8e9 #6934: Include child IP ranges under prefix view 2021-08-10 16:26:14 -04:00
jeremystretch
061f0d9a2e Merge v2.11.10 2021-07-28 16:26:04 -04:00
jeremystretch
fa1dc3f0aa Fixes #6812: Limit reported prefix utilization to 100% 2021-07-28 09:55:40 -04:00