Skip to content

Commit 0e84849

Browse files
Merge pull request #66 from aruba/v2.0a11
v2.0a11 Release PR
2 parents 2b18eaf + be41e47 commit 0e84849

File tree

5 files changed

+12
-38
lines changed

5 files changed

+12
-38
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Today, there are two versions of PyCentral, each designed for different versions
2626
| Version | Supports | Notes |
2727
| :------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- | :--------------------------- |
2828
| [v1](https://pypi.org/project/pycentral/) | HPE Aruba Networking Central (Classic Central) | Legacy Version |
29-
| [v2(pre-release)](https://pypi.org/project/pycentral/2.0a10/) | HPE Aruba Networking Central(new Central), GLP, HPE Aruba Networking Central (Classic Central) | Backwards compatible with v1 |
29+
| [v2(pre-release)](https://pypi.org/project/pycentral/2.0a11/) | HPE Aruba Networking Central(new Central), GLP, HPE Aruba Networking Central (Classic Central) | Backwards compatible with v1 |
3030

3131
## Quick Example
3232

pycentral/scopes/device.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,14 @@ def __init__(
9999
device_attributes["assigned_profiles"] = []
100100
for key, value in device_attributes.items():
101101
setattr(self, key, value)
102+
102103
if (
103104
self.provisioned_status
104-
and device_attributes["persona"] in SUPPORTED_CONFIG_PERSONAS
105+
and device_attributes["device_function"]
106+
in SUPPORTED_CONFIG_PERSONAS
105107
):
106108
self.config_persona = SUPPORTED_CONFIG_PERSONAS[
107-
device_attributes["persona"]
109+
device_attributes["device_function"]
108110
]
109111
# If only serial is provided, set it and defer fetching other details
110112
elif serial:

pycentral/troubleshooting/troubleshooting.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

pycentral/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"""
2727

2828
SUPPORTED_CONFIG_PERSONAS = {
29-
"Campus Access Point": "CAMPUS_AP",
29+
"Campus AP": "CAMPUS_AP",
3030
"Micro Branch AP": "MICROBRANCH_AP",
3131
"Access Switch": "ACCESS_SWITCH",
3232
"Core Switch": "CORE_SWITCH",

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
with open(path.join(this_directory, "README.md"), encoding="utf-8") as fh:
66
long_description = fh.read()
77

8-
VERSION = "2.0a10"
8+
VERSION = "2.0a11"
99

1010
setuptools.setup(
1111
name="pycentral",
@@ -15,7 +15,11 @@
1515
description="HPE Aruba Networking Central Python Package",
1616
long_description=long_description,
1717
long_description_content_type="text/markdown",
18-
url="https://github.com/aruba/pycentral",
18+
project_urls={
19+
"Documentation": "https://pycentral.readthedocs.io/en/v2/",
20+
"Repository": "https://github.com/aruba/pycentral/",
21+
"Issues": "https://github.com/aruba/pycentral/issues",
22+
},
1923
packages=setuptools.find_packages(exclude=["docs", "tests", "sample_scripts"]),
2024
classifiers=[
2125
"Programming Language :: Python :: 3 :: Only",

0 commit comments

Comments
 (0)