14
0
Commit Graph

68 Commits

Author SHA256 Message Date
dce6a0d31e Accepting request 1060579 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1060579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=33
2023-01-24 18:43:33 +00:00
5f819834a6 Accepting request 1060531 from home:mnhauke:network:automation
- Update to version 7.0.1
  * Removed pre-NetBox 3.3 features.
  * Fix custom_filed KeyError traceback.

OBS-URL: https://build.opensuse.org/request/show/1060531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=62
2023-01-24 08:26:59 +00:00
b6f783796c Accepting request 1042472 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1042472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=32
2022-12-13 17:55:23 +00:00
89d8a0c4d6 Accepting request 1042442 from home:pgajdos:python
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1042442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=60
2022-12-12 21:00:43 +00:00
6b3bb15ff0 Accepting request 1042184 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1042184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=31
2022-12-11 16:17:07 +00:00
158a0c238c Accepting request 1042030 from home:mnhauke:network:automation
- Update to version 7.0.0
  BREAKING CHANGE
  * Due to changes for a_terminations, b_terminations this version
    only supports NetBox 3.3 and later.
  Changes
  * Enable available_ips for ip_ranges.
  * Remove all Python2 related code.
  * Do not skip plugins in endpoint URLs.
  * Fix pickling exception with custom errors.
  * Support NetBox 3.3 cabling models (breaking change).

OBS-URL: https://build.opensuse.org/request/show/1042030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=58
2022-12-11 14:10:00 +00:00
542ec59b45 Accepting request 1008357 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1008357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=30
2022-10-07 23:23:30 +00:00
0cd004f54c Accepting request 1008226 from home:yarunachalam:branches:devel:languages:python
- Update to version 6.6.2 
  * ci: test against the currently supported python versions by @raddessi in #446
    Fix pickling exception with custom errors by @kingtong in #459

OBS-URL: https://build.opensuse.org/request/show/1008226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=56
2022-10-06 08:58:33 +00:00
1b331f7664 Accepting request 967458 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=29
2022-04-07 22:28:02 +00:00
9a2bfa2d70 Accepting request 967424 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/967424
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=54
2022-04-07 09:35:59 +00:00
7675e5bf40 Accepting request 957671 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/957671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=28
2022-02-26 16:02:10 +00:00
e71787515b Accepting request 957442 from home:mnhauke:network:automation
- Update to version 6.6.1
  * Use devices as variable for example calls to nb.dcim.devices.
  * Fixes #447: Remove extra self argument in Vlans.str().
- Update to version 6.6.0
  * Upgrade Black to the first non-beta release.
  * Fix VirtualChassis.__str__(), make VirtualChassis.master a
    Devices object.
- Update to version 6.5.0
  * Docstring updates: remove secrets from examples.
  * Fixes #427: Adds support for available-vlans child endpoint
    for VLAN groups.

OBS-URL: https://build.opensuse.org/request/show/957442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=53
2022-02-25 23:12:24 +00:00
33f4b6ba4d Accepting request 942995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=27
2021-12-29 20:10:57 +00:00
b293c3cf9b Accepting request 942745 from home:mnhauke:network:automation
- Update to version 6.4.1
  * Adds support for HTTP 409 when allocation is unsuccessful.
  * Set ObjectChanges.postchange_data and .prechange_data to
    JsonField.
- Update to version 6.4.0
  * Use display field in Record.__str__() to support future models
  * Update docstrings for DetailEndpoint and Prefixes.available_*
  * Add wireless app (for NetBox 3.1+)

OBS-URL: https://build.opensuse.org/request/show/942745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=52
2021-12-29 00:04:14 +00:00
5d3365d642 Accepting request 935857 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/935857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=26
2021-12-06 22:59:46 +00:00
52b5b8e50b Accepting request 935798 from home:mnhauke:network:automation
- Update to version 6.3.0
  * Handle list results in DetailEndpoint.create().
  * Define Permissions.constraints as JSON field to fix #398.
  * Fixes manual pagination (#412) and argless filter.
  * Makes .filter() with no args equivalent to .all(), 7.0 will
    remove the latter.
  * Add Api.create_token() (for NetBox 3.0+)
  * Add custom model name lookup to fix.

OBS-URL: https://build.opensuse.org/request/show/935798
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=51
2021-12-05 20:34:21 +00:00
e710fd5fcd Accepting request 928436 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/928436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=25
2021-11-01 17:35:41 +00:00
6138fedc51 Accepting request 928359 from home:mnhauke:network:automation
- Update to version 6.2.0
  * Fixes bulk update/delete on both Endpoint and RecordSet.

OBS-URL: https://build.opensuse.org/request/show/928359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=50
2021-10-31 22:33:53 +00:00
adb56ed2a8 Accepting request 909762 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/909762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=24
2021-08-03 20:48:33 +00:00
bb3544408e Accepting request 909593 from home:mnhauke:network:automation
- Update to version 6.1.3
  * Adds dash-separated plugin endpoint name support
- Do not longer build for python2 (upsteam dropped support).

OBS-URL: https://build.opensuse.org/request/show/909593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=49
2021-08-02 12:38:31 +00:00
0e237c83a4 Accepting request 886281 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/886281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=23
2021-04-17 21:25:05 +00:00
e9aa791cff Accepting request 885971 from home:mnhauke:network:automation
- Update to version 6.1.2
  * Fixes issue giving Endpoint.create() a list of dicts.

OBS-URL: https://build.opensuse.org/request/show/885971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=47
2021-04-17 13:34:33 +00:00
Richard Brown
f28b8291a5 Accepting request 884069 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/884069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=22
2021-04-10 13:27:54 +00:00
da5f2c96d8 Accepting request 884014 from home:mnhauke:network:automation
- Update to version 6.1.1
  * Fixes issue with duplicate returns when threading is enabled.
  * Fixes updates to config_context data.
  * Re-implements ValueError from Endpoint.get() when used with
    kwargs and more than one result is found.
- Update to version 6.1.0
  * Adds a __next__ method to RecordSet objects.
- Update to version 6.0.2
  * Fix len() calls for empty RecordSet.

OBS-URL: https://build.opensuse.org/request/show/884014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=45
2021-04-09 14:00:13 +00:00
Richard Brown
2599e3d9fe Accepting request 883678 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/883678
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=21
2021-04-08 19:32:18 +00:00
0099ccbb42 Accepting request 883644 from home:mnhauke:network:automation
- Update to version 6.0.1
  * Fixes broken DetailEndpoint.list().
- Update to version 6.0.0
  * BREAKING CHANGE Endpoint.all() and .filter() no longer return
    lists, instead they return a ReturnSet object now. Iterating
    over this object calls a generator which steps through
    paginated results now as-needed.
  * Endpoint.all() and .filter() now accept a limit kwarg that
    controls the page size of paginated results.
  * Fixes issue pickling responses from Endpoint.all() and
    `.filter().
  * Implemented integration tests against four previous major
    NetBox releases.
  * Ends python 2 support.

OBS-URL: https://build.opensuse.org/request/show/883644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=43
2021-04-07 20:06:09 +00:00
6f69927b7a Accepting request 860421 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/860421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=20
2021-01-05 17:16:11 +00:00
ce117fd297 Accepting request 860342 from home:mnhauke:network:automation
- Update to version 5.3.0
  * Improves on Record._endpoint_from_url()'s path parsing to
    avoid URL format issues.

OBS-URL: https://build.opensuse.org/request/show/860342
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=41
2021-01-05 10:03:34 +00:00
ce2b44b5ff Accepting request 859484 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/859484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=19
2020-12-31 08:59:34 +00:00
373932c099 Accepting request 859460 from home:mnhauke:network:automation
- Update to version 5.2.1
  * fix tests

- Update to version 5.2.0
  * Adds support for the /dcim/interfaces/:id/trace endpoint via
    the .trace() method on an interface record.
  * Add support for /api/users/ endpoints in NetBox 2.9+.
    Add Api.status() to be used with NetBox 2.10.0+.

OBS-URL: https://build.opensuse.org/request/show/859460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=39
2020-12-30 18:49:05 +00:00
e636853f62 Accepting request 858905 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/858905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=18
2020-12-27 23:31:41 +00:00
7d8a5488f4 Accepting request 858780 from home:mnhauke:network:automation
- Update to version 5.1.2
  * Fixes issue saving tags on NetBox 2.9+ instances (#311)

OBS-URL: https://build.opensuse.org/request/show/858780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=37
2020-12-27 22:26:27 +00:00
680b95fb89 Accepting request 856321 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/856321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=17
2020-12-17 16:04:13 +00:00
645989e20f Accepting request 856070 from home:mnhauke:network:automation
- Update to version 5.1.1
  * Fixes bug with where URL was mangled calling .save()

OBS-URL: https://build.opensuse.org/request/show/856070
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=35
2020-12-16 09:23:20 +00:00
1172aca708 Accepting request 837380 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/837380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=16
2020-10-02 15:34:00 +00:00
Tomáš Chvátal
e225942afb Accepting request 837217 from home:mnhauke:network:automation
- Update to version 5.1.0
  * Add Basic plugins support (#290).

OBS-URL: https://build.opensuse.org/request/show/837217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=33
2020-09-25 10:25:47 +00:00
Tomáš Chvátal
1cdeb40565 Accepting request 831347 from home:mnhauke:network:automation
- Update to version 5.0.8
  * Fixes malformed URL when calling .save() and .delete() on
    nested objects.

OBS-URL: https://build.opensuse.org/request/show/831347
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=32
2020-09-02 07:01:26 +00:00
99b6e7c64f Accepting request 828875 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=15
2020-08-24 13:14:18 +00:00
Tomáš Chvátal
38dd57c7ed Accepting request 828738 from home:mnhauke:network:automation
- Update to version 5.0.7
  * Implement Record.__getitem__()
- Update to version 5.0.6
  * Fixes issue when calling attributes by their dict keys where
    we only returned the key's name instead of its value.

OBS-URL: https://build.opensuse.org/request/show/828738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=30
2020-08-24 08:48:46 +00:00
53e8090c15 Accepting request 821335 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/821335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=14
2020-07-17 18:48:36 +00:00
Tomáš Chvátal
fcbe285ce5 Accepting request 821330 from home:mnhauke:network:automation
- Update to version 5.0.5
  * Fixes issue with unchanged tags being reordered when .save()
    is called that caused unnecessary updates to NetBox.

OBS-URL: https://build.opensuse.org/request/show/821330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=28
2020-07-16 15:46:55 +00:00
534d1ce5ec Accepting request 819676 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/819676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=13
2020-07-09 11:20:20 +00:00
Tomáš Chvátal
c1351d4f4f Accepting request 819513 from home:mnhauke:network:automation
- Update to version 5.0.4
  * Fixes issue saving local_config_context attribute on objects

OBS-URL: https://build.opensuse.org/request/show/819513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=26
2020-07-09 06:46:45 +00:00
Tomáš Chvátal
9ae2e9e971 Accepting request 819059 from home:mnhauke:network:automation
- Update to version 5.0.3
  * Fixes issue with threads overwriting Request.filters.

- Udpate to version 5.0.2
  * Fixes Api.get_version() to use the session object.

OBS-URL: https://build.opensuse.org/request/show/819059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=25
2020-07-07 07:41:21 +00:00
0f444d13ac Accepting request 817206 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/817206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=12
2020-06-26 19:49:31 +00:00
Tomáš Chvátal
eee8b7c019 Accepting request 817204 from home:mnhauke:network:automation
- Update to version 5.0.1
  * Fixes #240 by adding an Api.openapi() method that returns a
    dictionary of the entire OpenAPI spec.
  Breaking Changes
  * Fixes #239, #229, #219, #209, #189, and #166 by allowing
    Api.http_session to be overridden by user-supplied custom
    requests.Session() objects to more precisely control certain
    requests behavior. While this was possible before, it wasn't
    applied to all requests. For example, getting session keys
    was done in Api().__init__() which wouldn't respect a custom
    http_session. This behavior has been changed and will now
    only occur when the secrets endpoint is called.
  * Note: this change removes the ssl_verify kwarg passed to
    .api() that controlled certificate validation in previous
    versions. Please see the docs for the new method.
  * Fixes #241 where the same objects failed equality tests if one
    was derived from a nested object vs directly from that endpoint
  * Fixes an inconsistency noted in #224 by making Endpoint.get()
    and Endpoint.filter() behave similarly (return None) when the
    resource isn't found.
  * Fixes #144 by returning proper objects from .create() on detail
    endpoint routes like available-ips and available-prefixes.

- Use github source URL
- Update to version 4.3.2
  * Adds support for the rack elevation endpoint in NetBox 2.8
- Update to version 4.3.1
  * Makes config_contex on virtualization record objects a
    JsonField.

OBS-URL: https://build.opensuse.org/request/show/817204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=23
2020-06-26 08:15:52 +00:00
863135b194 Accepting request 787519 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/787519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=11
2020-03-24 21:34:27 +00:00
Tomáš Chvátal
787bfba9ec Accepting request 787513 from home:pgajdos:python
- version update to 4.3.0
  * Adds the ability to thread calls to NetBox from .filter() and .all() methods. (PR #216)

OBS-URL: https://build.opensuse.org/request/show/787513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=21
2020-03-23 15:00:15 +00:00
421d145d3c Accepting request 773367 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/773367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pynetbox?expand=0&rev=10
2020-02-11 21:24:40 +00:00
Tomáš Chvátal
d0f05a6056 Accepting request 773350 from home:mnhauke:network:automation
- Update to version 4.2.5
  * save() is not idempotent when dealing with choice objects
    from NetBox 2.7

OBS-URL: https://build.opensuse.org/request/show/773350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=19
2020-02-11 07:27:34 +00:00