Skip to content

Commit d52aaeb

Browse files
authored
Merge pull request #35 from QualiSystems/development
Development
2 parents cd803b4 + 01a8333 commit d52aaeb

File tree

8 files changed

+75
-3
lines changed

8 files changed

+75
-3
lines changed

cloudshell/networking/huawei/huawei_command_actions.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,9 @@ def enable_snmp(session, snmp_community, action_map=None, error_map=None):
492492
:param error_map: errors will be raised during executing commands, i.e. handles Invalid Commands errors
493493
"""
494494
session.send_command(**SNMP_ENABLE.get_command(snmp_community=snmp_community,action_map=action_map, error_map=error_map))
495-
495+
session.send_command(
496+
**COMMIT.get_command(action_map=action_map,
497+
error_map=error_map))
496498

497499
def disable_snmp(session, snmp_community, action_map=None, error_map=None):
498500
"""Disable SNMP on the device
@@ -503,7 +505,9 @@ def disable_snmp(session, snmp_community, action_map=None, error_map=None):
503505
:param error_map: errors will be raised during executing commands, i.e. handles Invalid Commands errors
504506
"""
505507
session.send_command(**SNMP_DISABLE.get_command(action_map=action_map, error_map=error_map))
506-
508+
session.send_command(
509+
**COMMIT.get_command(action_map=action_map,
510+
error_map=error_map))
507511

508512
def get_port_name(logger, port):
509513
"""Get port name from port resource full address
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Metadata-Version: 1.0
2+
Name: cloudshell-networking-huawei
3+
Version: 1.0.0
4+
Summary: QualiSystems networking huawei specific package
5+
Home-page: http://www.qualisystems.com/
6+
Author: QualiSystems
7+
Author-email: info@qualisystems.com
8+
License: UNKNOWN
9+
Description: UNKNOWN
10+
Platform: UNKNOWN
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
MANIFEST.in
2+
requirements.txt
3+
setup.py
4+
test_requirements.txt
5+
version.txt
6+
cloudshell/__init__.py
7+
cloudshell/networking/__init__.py
8+
cloudshell/networking/huawei/__init__.py
9+
cloudshell/networking/huawei/huawei_cli_handler.py
10+
cloudshell/networking/huawei/huawei_command_actions.py
11+
cloudshell/networking/huawei/huawei_command_modes.py
12+
cloudshell/networking/huawei/huawei_configuration_operations.py
13+
cloudshell/networking/huawei/huawei_connectivity_operations.py
14+
cloudshell/networking/huawei/huawei_send_command_operations.py
15+
cloudshell/networking/huawei/autoload/__init__.py
16+
cloudshell/networking/huawei/autoload/huawei_generic_snmp_autoload.py
17+
cloudshell/networking/huawei/autoload/mib_attributes.py
18+
cloudshell/networking/huawei/command_templates/__init__.py
19+
cloudshell/networking/huawei/command_templates/huawei_commands_templates.py
20+
cloudshell/networking/huawei/command_templates/huawei_configure_vlan_template.py
21+
cloudshell/networking/huawei/command_templates/vlan.py
22+
cloudshell/networking/huawei/firmware_data/__init__.py
23+
cloudshell/networking/huawei/firmware_data/firmware_data.py
24+
cloudshell/networking/huawei/firmware_data/huawei_firmware_data.py
25+
cloudshell/networking/huawei/flows/__init__.py
26+
cloudshell/networking/huawei/flows/huawei_add_vlan_flow.py
27+
cloudshell/networking/huawei/flows/huawei_autoload_flow.py
28+
cloudshell/networking/huawei/flows/huawei_load_firmware_flow.py
29+
cloudshell/networking/huawei/flows/huawei_remove_vlan_flow.py
30+
cloudshell/networking/huawei/flows/huawei_restore_flow.py
31+
cloudshell/networking/huawei/flows/huawei_save_flow.py
32+
cloudshell/networking/huawei/mibs/HUAWEI-IMA-MIB.py
33+
cloudshell/networking/huawei/mibs/HUAWEI-MIB.py
34+
cloudshell/networking/huawei/mibs/HUAWEI-PORT-MIB.py
35+
cloudshell/networking/huawei/mibs/P-BRIDGE-MIB.py
36+
cloudshell/networking/huawei/mibs/__init__.py
37+
cloudshell/networking/huawei/runners/__init__.py
38+
cloudshell/networking/huawei/runners/huawei_autoload_runner.py
39+
cloudshell/networking/huawei/runners/huawei_configuration_runner.py
40+
cloudshell/networking/huawei/runners/huawei_connectivity_runner.py
41+
cloudshell/networking/huawei/runners/huawei_firmware_runner.py
42+
cloudshell/networking/huawei/runners/huawei_run_command_runner.py
43+
cloudshell/networking/huawei/runners/huawei_state_runner.py
44+
cloudshell/tests/__init__.py
45+
cloudshell/tests/networking/__init__.py
46+
cloudshell/tests/networking/test_suite.py
47+
cloudshell/tests/networking/huawei/__init__.py
48+
cloudshell/tests/networking/huawei/test_connectivity/__init__.py
49+
cloudshell/tests/networking/huawei/test_connectivity/test_apply_connectivity_changes.py
50+
cloudshell_networking_huawei.egg-info/PKG-INFO
51+
cloudshell_networking_huawei.egg-info/SOURCES.txt
52+
cloudshell_networking_huawei.egg-info/dependency_links.txt
53+
cloudshell_networking_huawei.egg-info/requires.txt
54+
cloudshell_networking_huawei.egg-info/top_level.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cloudshell-networking>=4.0,<4.1
2+
cloudshell-networking-devices>=1.0,<1.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cloudshell
77.8 KB
Binary file not shown.

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.2.0

0 commit comments

Comments
 (0)