Commit Graph

46 Commits

Author SHA1 Message Date
Jeremy Stretch
cd032585a3 Closes #5225: CircuitTermination port_speed is now optional 2020-10-09 14:06:24 -04:00
Jeremy Stretch
15cb0762c1 Cache peer termination on CableTerminations 2020-10-06 12:10:12 -04:00
Jeremy Stretch
be55bddd66 Remove legacy CablePathTestCase 2020-10-02 09:55:28 -04:00
Sander Steffann
7db572a735 Improve test comments and remove over-enthusiastic tests 2020-06-16 21:48:26 +02:00
Sander Steffann
2633748f2d Update tests for cables 2020-06-02 13:14:51 +02:00
Jeremy Stretch
016b334302 Update path validation tests for single-position rear port scenarios 2020-06-02 12:03:02 +02:00
Jeremy Stretch
3df38af185 Call full_clean() when saving Cable instances 2020-06-02 12:03:02 +02:00
Sander Steffann
451696c4d9 Restore original test_connection_via_single_rear_port test and make separate test for one-on-one panels 2020-06-02 12:03:02 +02:00
Sander Steffann
350a4dbec0 Recreate the model instance instead of re-saving a deleted model
Same end result, but easier to read
2020-06-02 12:03:02 +02:00
Sander Steffann
1ae2897abf Integrate patch panel building into one list 2020-06-02 12:03:02 +02:00
Sander Steffann
a639f4ce14 make single front/rear port work when between panels 2020-06-02 12:03:02 +02:00
Jeremy Stretch
02342f6c7b Fixes #4548: Fix tracing cables through a single RearPort 2020-04-29 16:32:30 -04:00
Jeremy Stretch
b3a0d2b6ad Extend tests for #4388 2020-04-21 10:53:21 -04:00
Jeremy Stretch
5755691b05 Rewrite and extend cabling logic tests 2020-03-19 10:43:51 -04:00
Jeremy Stretch
df7599acc4 Remove CONNECTION_STATUS_CONNECTED and CONNECTION_STATUS_PLANNED constants 2020-02-24 14:18:19 -05:00
Jeremy Stretch
2bfd60eea1 Fixes #3983: Permit the creation of multiple unnamed devices 2020-01-22 09:26:49 -05:00
Jeremy Stretch
ac859954ca Merge branch 'develop' into develop-2.7 2020-01-13 13:49:22 -05:00
Saria Hajjar
863a919a63 Added post-delete cable ID test 2020-01-12 11:21:02 +00:00
Jeremy Stretch
7def26acde Closes #3092: Split DCIM models into separate files for easier management 2020-01-10 14:22:22 -05:00
John Anderson
3fe39794f1 Merge pull request #3754 from netbox-community/2248-svg-rack-elevations
2248 svg rack elevations
2019-12-11 14:26:32 -05:00
Jeremy Stretch
dc53a3e94e Cable.status to slug (#3569) 2019-12-10 09:55:10 -05:00
Jeremy Stretch
c9f409a1bb #2269: Allow non-unique Device names 2019-12-09 11:41:03 -05:00
hellerve
23304476ba dcim api: add feedback from @jeremystretch to rack elevations api 2019-12-08 18:14:59 +01:00
hellerve
23ecdf7f1b tests: update to reflect absence of utility functions 2019-12-08 17:59:40 +01:00
Jeremy Stretch
019db0f60f PowerOutlet.feed_leg to slug (#3569) 2019-11-27 21:30:11 -05:00
Jeremy Stretch
9aff8a6568 Front/RearPort.type to slug (#3569) 2019-11-25 19:39:25 -05:00
Jeremy Stretch
7cf5445365 Interface.type to slug (#3569) 2019-11-21 22:11:02 -05:00
Jeremy Stretch
304b92512a Device.face to slug (#3569) 2019-11-16 21:46:07 -05:00
Jeremy Stretch
5dfe6f17eb Fixes #3519: Prevent cables from being terminated to virtual/wireless interfaces 2019-09-24 15:07:54 -04:00
Jeremy Stretch
8bd8d8249f Add test for device component creation 2019-08-07 17:48:12 -04:00
Jeremy Stretch
fd4802b8f3 Rename form_factor to type on dcim.Interface 2019-04-12 13:42:56 -04:00
Jeremy Stretch
cad0925c7a Improved logic for recording cable path connection status 2018-11-19 12:37:53 -05:00
John Anderson
631ebb831d removed blank line 2018-11-12 23:34:14 -05:00
John Anderson
084c59cb9d resolved #2586 - tests for the Cable model clean method 2018-11-12 23:26:08 -05:00
Jeremy Stretch
c8834bc73f Fixes #2571: Enforce deletion of attached cable when deleting a termination point 2018-11-08 12:15:56 -05:00
Jeremy Stretch
9ff67aac99 Closes #2165: Re-implemented natural ordering for interfaces 2018-11-05 11:51:38 -05:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04: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
a8757266c4 More work on #1523 (natural ordering for interfaces) 2017-09-22 16:18:43 -04:00
Joey Wilhelm
210286f0a3 Another test case to ensure subinterface ordering 2017-09-21 17:21:21 -07: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
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
91be4a4df3 Closes #198: Support for rackless devices (#902)
* Initial work to support rackless devices

* Updated device component connection forms

* Updated IP address assignment form

* Updated circuit termination form

* Formatting cleanup

* Fixed tests
2017-02-17 14:48:00 -05:00
Matt Layher
0a6c8ee907 Fix PEP 8 error in DCIM tests 2016-06-28 00:25:12 -04:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00