Skip to content

Commit 5ed24e0

Browse files
final commit for version increment to 0.15.0
1 parent a5bab59 commit 5ed24e0

3 files changed

Lines changed: 152 additions & 29 deletions

File tree

_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.14.0a2.dev1"
1+
version = "0.15.0a2.dev0"

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
# -- Project information -----------------------------------------------------
1111

1212
project = "pyedgeconnect"
13-
copyright = "2021 Hewlett Packard Enterprise Development LP"
13+
copyright = "2022 Hewlett Packard Enterprise Development LP"
1414
author = "Zach Camara"
1515

1616
# Main version number
17-
version = "0.14"
17+
version = "0.15"
1818
# The full version, including alpha/beta/rc tags
19-
release = "0.14.0-a2"
19+
release = "0.15.0-a1"
2020

2121

2222
# -- General configuration ---------------------------------------------------

docs/source/release-notes/0.15.0-a1.rst

Lines changed: 148 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,80 @@
1-
0.15.0-a1 -- 2022-01-18
1+
0.15.0-a1 -- 2022-03-26
22
-----------------------
33

4+
💥 Breaking Changes
5+
~~~~~~~~~~~~~~~~~~~~
6+
7+
The first parameter for multiple Preconfig functions has been renamed to
8+
``preconfig_name`` to better represent that the name of the preconfnig does
9+
not need to be the hostname of the appliance it will be applied to. Existing
10+
code that does not use keyword arguments will be unaffected. For those
11+
explicitly assigning ``hostname=`` will need to update to ``preconfig_name=``
12+
13+
The validate function no longer requires the ``auto_apply`` paramter as
14+
it now defaults to ``False``. The parameter has no effect on the validation
15+
call.
16+
17+
.. code:: python
18+
19+
# OLD syntax
20+
validate = orch.validate_preconfig(
21+
hostname="edgeconnect-preconfig-01",
22+
yaml_preconfig=yaml_preconfig,
23+
auto_apply=auto_apply,
24+
)
25+
26+
orch.create_preconfig(
27+
hostname="edgeconnect-preconfig-01",
28+
yaml_preconfig=yaml_preconfig,
29+
auto_apply=auto_apply,
30+
tag="tag value",
31+
comment="New preconfig for appliance"
32+
)
33+
34+
# NEW syntax
35+
validate = orch.validate_preconfig(
36+
preconfig_name="edgeconnect-preconfig-01",
37+
yaml_preconfig=yaml_preconfig,
38+
)
39+
40+
orch.create_preconfig(
41+
preconfig_name="edgeconnect-preconfig-01",
42+
yaml_preconfig=yaml_preconfig,
43+
auto_apply=auto_apply,
44+
tag="tag value",
45+
comment="New preconfig for appliance"
46+
)
47+
48+
# CODE REQUIRING NO CHANGE syntax
49+
validate = orch.validate_preconfig(
50+
"edgeconnect-preconfig-01",
51+
yaml_preconfig=yaml_preconfig,
52+
)
53+
54+
orch.create_preconfig(
55+
"edgeconnect-preconfig-01",
56+
yaml_preconfig=yaml_preconfig,
57+
auto_apply=auto_apply,
58+
tag="tag value",
59+
comment="New preconfig for appliance"
60+
)
61+
62+
Affected functions:
63+
64+
- :func:`~pyedgeconnect.Orchestrator.create_preconfig`
65+
- :func:`~pyedgeconnect.Orchestrator.modify_preconfig`
66+
- :func:`~pyedgeconnect.Orchestrator.validate_preconfig`
467

568
🚀 Features
669
~~~~~~~~~~~~~
770

8-
531 functions
9-
1071
Added the following Orchestrator functions from Swagger:
1172

73+
from .orch._advanced_properties
74+
- get_orchestrator_advanced_properties
75+
- update_orchestrator_advanced_properties
76+
- get_orchestrator_advanced_properties_metadata
77+
1278
from .orch._app_system_deploy_info
1379
- get_appliance_system_deployment_info
1480
- get_discovered_appliance_system_deployment_info
@@ -21,6 +87,30 @@ from .orch._appliance
2187
- delete_denied_appliances
2288
- rediscover_denied_appliance
2389

90+
from .orch._appliance_extra_info
91+
- delete_appliance_extra_info
92+
- get_appliance_extra_info
93+
- set_appliance_extra_info
94+
95+
from .orch._appliance_resync
96+
- appliance_resync
97+
98+
from .orch._appliance_upgrade
99+
- get_ecos_images
100+
- delete_ecos_image
101+
102+
from .orch._bridge_interface_state
103+
- get_appliance_bridge_interface_state
104+
105+
from .orch._deployment
106+
- get_appliance_deployment
107+
- get_all_appliance_deployment
108+
- get_single_appliance_deployment
109+
110+
from .orch._gms_registration
111+
- get_orchestrator_registration_setting
112+
- set_orchestrator_registration_setting
113+
24114
from .orch._link_aggregation
25115
- get_link_aggregation_data
26116

@@ -30,19 +120,18 @@ from .orch._loopback_orch
30120
- get_loopback_orchestration_pool_detail
31121
- reclaim_delete_loopback_orchestration_ips
32122
- reclaim_single_deleted_loopback_orchestration_ip
33-
- get_deleted_loopback_orchestration_ips *** NOT IN SWAGGER
123+
- get_deleted_loopback_orchestration_ips
34124

35125
from .orch._network_role_and_site
36126
- get_appliance_network_role_and_site
127+
- update_appliance_network_role_and_site
37128

38-
########
39-
40-
41-
42-
43-
44-
45-
129+
from .orch._overlay_association
130+
- get_all_appliance_overlay_association
131+
- add_appliance_overlay_association
132+
- remove_appliance_overlay_association
133+
- get_appliance_overlay_association
134+
- remove_single_appliance_overlay_association
46135

47136
from .orch._rbac_appliance_access_group
48137
- get_all_appliance_access_groups
@@ -56,13 +145,20 @@ from .orch._releases
56145
- delay_release_notification
57146
- dismiss_release_notification
58147

148+
from .orch._schedule_timezone
149+
- get_schedule_timezone
150+
- set_schedule_timezone
151+
59152
from .orch._session
60153
- get_orchestrator_sessions
61154

62155
from .orch._session_timeout
63156
- get_orch_session_timeout
64157
- set_orch_session_timeout
65158

159+
from .orch._snmp
160+
- get_appliance_snmp
161+
66162
from .orch._ssl
67163
- get_appliance_ssl_certs
68164

@@ -78,30 +174,40 @@ from .orch._subnets
78174
- get_discovered_appliance_subnets
79175
- set_appliance_subnet_sharing_options
80176

177+
from .orch._upgrade_appliances
178+
- validate_appliance_upgrade
179+
- upgrade_appliances
180+
81181
from .orch._user_account
82182
- get_appliance_user_accounts
83183

84184

85185

86-
# IP Objects (Address Groups and Service Groups) introduced in Orchestrator 9.1+
186+
IP Objects (Address Groups and Service Groups) introduced in Orchestrator 9.1+
87187

88188
from .orch._ip_objects
89189
- get_all_address_groups
90190
- create_address_group
91191
- update_address_group
92192
- get_address_group
93193
- delete_address_group
94-
- bulk_upload_address_group **** NEED TO TEST ON LOCAL LAB ORCH
95-
- merge_address_groups **** NEED TO TEST ON LOCAL LAB ORCH
194+
195+
- merge_address_groups
96196
- get_all_service_groups
97197
- create_service_group
98198
- update_service_group
99199
- get_service_group
100200
- delete_service_group
101-
- bulk_upload_service_group **** NEED TO TEST ON LOCAL LAB ORCH
102-
- merge_service_groups **** NEED TO TEST ON LOCAL LAB ORCH
201+
- merge_service_groups
202+
203+
.. warning::
204+
205+
The following two functions for the _ip_objects submodule exprience
206+
errors at this time. These function do work in the Orchestrator UI:
207+
:func:`pyedgeconnect.Orchestrator.bulk_upload_address_group` and
208+
:func:`pyedgeconnect.Orchestrator.bulk_upload_service_group`
103209

104-
# Clearpass id integration introduced in Orchestrator 9.1+
210+
Clearpass id integration introduced in Orchestrator 9.1+
105211

106212
from .orch._third_party_services
107213
- clearpass_add_account
@@ -126,21 +232,25 @@ from .orch._third_party_services
126232
- central_get_site_mapping
127233
- central_assign_appliance_to_site
128234

129-
# Existing Function Updates:
235+
Existing Function Updates:
130236

131-
- :func:`~pyedgeconnect.Orchestrator.change_appliance_license` to
132-
account for new Advance Security licensing
133-
- :func:`~pyedgeconnect.Orchestrator.get_zones` to account for new
134-
option to filter for unique zone names vs. all zones accross segments
237+
- :func:`pyedgeconnect.Orchestrator._post` and
238+
:func:`pyedgeconnect.Orchestrator._req_post` updated to included
239+
parameter ``files`` for file upload functions
240+
- :func:`~pyedgeconnect.Orchestrator.change_appliance_license` to
241+
account for new Advance Security licensing
242+
- :func:`~pyedgeconnect.Orchestrator.get_zones` to account for new
243+
option to filter for unique zone names vs. all zones accross segments
135244

136245

137246
📚 Documentation
138247
~~~~~~~~~~~~~~~~~~
139248

140249
- Include PyPI download stats to README
141-
- Updated README with Swagger coverage %
142250
- Added .readthedocs.yaml configuration for hosted ReadTheDocs build
143251
to account for python3.9 support in the online docs.
252+
- ✨ **Added new code example!** -> Generate YAML preconfig from
253+
Jinja template from CSV file, validate, and upload to Orchestrator
144254

145255
🐛 Bug Fixes
146256
~~~~~~~~~~~~~~
@@ -154,4 +264,17 @@ from .orch._third_party_services
154264
- Add query parameter delete_dependencies for
155265
:func:`~pyedgeconnect.Orchestrator.update_zones`, variable was defined
156266
but not included in POST
157-
267+
- Fix function name (and import to init) for `_link_integrity` submodule
268+
function to perform a link integrity test between appliances. New
269+
function is :func:`~pyedgeconnect.Orchestrator.link_integrity_test`
270+
- Fix return type for
271+
:func:`~pyedgeconnect.Orchestrator.get_orchestrator_hello` to text
272+
instead of defaulting to JSON
273+
- Fix expected status for
274+
:func:`~pyedgeconnect.Orchestrator.associate_template_group_to_appliance`
275+
to 204 rather than default 200, would incorrectly log a successful
276+
POST as an ERROR
277+
- Added .readthedocs.yaml configuration for hosted ReadTheDocs build
278+
to account for python3.9 support in the online docs. This fixes the
279+
autodoc module not building for per-function documentation in the
280+
hosted docs.

0 commit comments

Comments
 (0)