Skip to content

Commit 93e7151

Browse files
committed
2.4.0 release
1 parent c59feb4 commit 93e7151

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2015
-7270
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: [3.6, 3.7, 3.8, 3.9]
22+
python-version: [3.7, 3.8, 3.9]
2323

2424
steps:
2525
- uses: actions/checkout@v2
@@ -42,4 +42,3 @@ jobs:
4242
- name: Test with pytest
4343
run: |
4444
pytest
45-

.pre-commit-config.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
3-
4-
#
5-
# for the eslint command to work, this is needed:
6-
#
7-
# yarn global add eslint
8-
#
9-
# however, this might still not be the correct solution
10-
# as the eslintrc.json and some eslint plugins are
11-
# probably only available when in the proper directory
123
#
134

145
repos:
156
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v2.4.0
7+
rev: v4.1.0
178
hooks:
189
- id: trailing-whitespace
1910
- id: end-of-file-fixer
2011
- id: check-added-large-files
2112
- repo: https://github.com/psf/black
22-
rev: 21.5b1
13+
rev: 22.1.0
2314
hooks:
2415
- id: black
2516
language_version: python3

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Python bindings for the Cisco VIRL 2 Network Simulation Platform
22

3-
Copyright (c) 2020 Cisco Systems, Inc. and/or its affiliates
3+
Copyright (c) 2019-2022, Cisco Systems, Inc. and/or its affiliates
44

55
This project includes software developed at Cisco Systems, Inc. and/or its affiliates.

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is the client library for the Cisco VIRL 2 Network Simulation Platform
99
edit, delete and control network simulations on a VIRL 2 controller.
1010

1111
It is a pure Python implementation that requires Python3. We've tested and
12-
written the package with Python 3.6.8.
12+
written the package with Python 3.8.10.
1313

1414
The **status** of this package can be considered **Beta**. We're not aware of
1515
any major issues at the time of release. However, since this is the first
@@ -46,6 +46,11 @@ proper version/build information. For example
4646

4747
We recommend the use of a virtual environment for installation.
4848

49+
If you want to interact with devices via the client library, you need to
50+
install pyATS library.
51+
52+
pip3 install pyats
53+
4954
## Usage
5055

5156
The package itself is fairly well documented using docstrings. In addition, the

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This file is part of VIRL 2
3-
# Copyright (c) 2019, Cisco Systems, Inc.
3+
# Copyright (c) 2019-2022, Cisco Systems, Inc.
44
# All rights reserved.
55
#
66
# -*- coding: utf-8 -*-
@@ -26,7 +26,7 @@
2626
# -- Project information -----------------------------------------------------
2727

2828
project = "virl2_client"
29-
copyright = "2020, Cisco Systems, Inc"
29+
copyright = "Copyright (c) 2019-2022, Cisco Systems, Inc."
3030
author = "VIRL2 team <virl@cisco.com>"
3131

3232
# The short X.Y version

docs/source/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ The output for this would look something like the following::
278278
]
279279
"reservation_mode": false,
280280
"transport": {
281-
"ssms": "https://tools.cisco.com/its/service/oddce/services/DDCEService",
281+
"ssms": "https://smartreceiver.cisco.com/licservice/license",
282282
"proxy": {
283283
"server": null,
284284
"port": null
285285
},
286-
"default_ssms": "https://tools.cisco.com/its/service/oddce/services/DDCEService"
286+
"default_ssms": "https://smartreceiver.cisco.com/licservice/license"
287287
},
288288
"udi": {
289289
"hostname": "cml2-controller",

docs/template/module.rst_t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
{%- for option in automodule_options %}
77
:{{ option }}:
88
{%- endfor %}
9-

docs/template/toc.rst_t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
{% for docname in docnames %}
66
{{ docname }}
77
{%- endfor %}
8-

examples/licensing.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env python3
22
#
3-
# Python bindings for the Cisco VIRL 2 Network Simulation Platform
4-
#
53
# This file is part of VIRL 2
4+
# Copyright (c) 2019-2022, Cisco Systems, Inc.
5+
# All rights reserved.
66
#
7-
# Copyright 2020 Cisco Systems Inc.
7+
# Python bindings for the Cisco VIRL 2 Network Simulation Platform
88
#
99
# Licensed under the Apache License, Version 2.0 (the "License");
1010
# you may not use this file except in compliance with the License.
@@ -97,12 +97,12 @@
9797
},
9898
"reservation_mode": false,
9999
"transport": {
100-
"ssms": "https://tools.cisco.com/its/service/oddce/services/DDCEService",
100+
"ssms": "https://smartreceiver.cisco.com/licservice/license",
101101
"proxy": {
102102
"server": null,
103103
"port": null
104104
},
105-
"default_ssms": "https://tools.cisco.com/its/service/oddce/services/DDCEService"
105+
"default_ssms": "https://smartreceiver.cisco.com/licservice/license"
106106
},
107107
"features": [
108108
{

examples/link_conditioning.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env python3
22
#
3-
# Python bindings for the Cisco VIRL 2 Network Simulation Platform
4-
#
53
# This file is part of VIRL 2
4+
# Copyright (c) 2019-2022, Cisco Systems, Inc.
5+
# All rights reserved.
66
#
7-
# Copyright 2020 Cisco Systems Inc.
7+
# Python bindings for the Cisco VIRL 2 Network Simulation Platform
88
#
99
# Licensed under the Apache License, Version 2.0 (the "License");
1010
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)