14
0
Commit Graph

16 Commits

Author SHA256 Message Date
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
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
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
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
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
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
89d9853d74 Accepting request 763513 from home:mnhauke:network:automation
- Update to version 4.2.4
  * Fixes Nested Record Write methods

OBS-URL: https://build.opensuse.org/request/show/763513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=17
2020-01-12 09:59:39 +00:00
Tomáš Chvátal
cf7e56ec98 Accepting request 755657 from home:mnhauke:network:automation
- Update to version 4.2.2
  * Fixes issues with hashing Record objects by adding name
    attribute to Endpoint and __eq__ method to Record objects to
    facilitate comparison.

OBS-URL: https://build.opensuse.org/request/show/755657
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=15
2019-12-11 07:11:33 +00:00
Tomáš Chvátal
7a1340bb33 Accepting request 751183 from home:mnhauke:network:automation
- Update to version 4.2.1
  * Fixes infinite loop when filtering with paginated results.

OBS-URL: https://build.opensuse.org/request/show/751183
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=13
2019-11-29 09:47:07 +00:00
Tomáš Chvátal
df5107371d Accepting request 750004 from home:mnhauke:network:automation
- Update to version 4.2.0
  * Fix discrepancy in DetailEndpoint.create() and the docs where
    calling w/o arguments resulted in an exception.
  * Add method to return custom choices.

OBS-URL: https://build.opensuse.org/request/show/750004
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=11
2019-11-21 12:13:01 +00:00
Tomáš Chvátal
6c0e7f5bf3 Accepting request 749693 from home:mnhauke:network:automation
- Update to version 4.1.2
  * Fixes URL in get_session_key

OBS-URL: https://build.opensuse.org/request/show/749693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=9
2019-11-20 06:21:42 +00:00
Tomáš Chvátal
f5d6178415 Accepting request 749365 from home:mnhauke:network:automation
- Update to version 4.1.1
  * Fix Endpoint.choices() by assigning http_session.

OBS-URL: https://build.opensuse.org/request/show/749365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=7
2019-11-19 05:48:11 +00:00
Tomáš Chvátal
87f460a32e Accepting request 749039 from home:mnhauke:network:automation
- Update to version 4.1.0
  * Makes use of session in requests
  * Adds Api.version property to query the NetBox version
  * Adds .choices() method to endpoint objects that utilizes DRF's
    OPTIONS method for discovering available choices for fields
    that use it. This method will eventually replace App.choices()
    when NetBox retires the /_choices endpoint.
  * Adds count() method to Endpoint object.
  * Use requests params to form URL parameters.
  * Creates a custom model for ChangeObjects and sets its __str__
    to request_id.
  * Implements __hash__ method on Record.
  * Implements JsonField object.
  * Adds local_context_data field to device model as dict.

OBS-URL: https://build.opensuse.org/request/show/749039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=5
2019-11-16 12:59:48 +00:00
Tomáš Chvátal
f03099abdd Accepting request 733766 from home:mnhauke:network:automation
- Update to version 4.0.8
  * Returns ContentError when 2XX response but not JSON.

OBS-URL: https://build.opensuse.org/request/show/733766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=3
2019-09-28 05:51:36 +00:00
Tomáš Chvátal
7f092d4952 Accepting request 731361 from home:mnhauke
Initial package for python-pynetbox

OBS-URL: https://build.opensuse.org/request/show/731361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=1
2019-09-17 08:43:36 +00:00