Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/library/acl_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# This ansible module is for gathering ACL related facts from SONiC device.
#
# The "sonic-cfggen" tool is used to output all the running config data from db in JSON format. ACL table information
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/announce_routes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

import math
import os
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/config_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
from ansible.module_utils.basic import AnsibleModule
import json
import traceback
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/conn_graph_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import csv

from ansible.module_utils.basic import AnsibleModule
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/counter_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

from ansible.module_utils.basic import AnsibleModule
import re
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/dut_basic_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# This ansible module is for gathering basic facts from DUT of specified testbed.
#
# Example output:
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/exabgp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

from ansible.module_utils.basic import AnsibleModule
import jinja2
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/fabric_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

from ansible.module_utils.basic import AnsibleModule
import ipaddress
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/feature_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

# This ansible module is for gathering feature facts from SONiC device.
#
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/generate_golden_config_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

# This ansible module is for generate golden_config_db.json
# Currently, only enable dhcp_server feature and generated related configuration in MX device
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/image_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# This ansible module is for gathering image facts from SONiC device.
#
# The "sonic_installer list" command can list the images on SONiC device, including:
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/interface_up_down_data_struct_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python


from ansible.module_utils.basic import AnsibleModule
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/lldp_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

import json
from collections import defaultdict
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/lldpctl_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# This ansible module is for gathering lldp facts from SONiC device.
# It takes two argument
# asic_instance_id :- Used to specify LLDP Instance in Multi-asic platforms
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/minigraph_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
from __future__ import print_function
from ansible.module_utils.basic import AnsibleModule
import calendar
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/mux_cable_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import os.path
import sys
import traceback
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/port_alias.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

from ansible.module_utils.basic import AnsibleModule
import re
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/ptf_portchannel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

from ansible.module_utils.basic import AnsibleModule
import jinja2
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/shell_cmds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# This ansible module is for running multiple commands by /bin/sh on remote device.
#
# The ansible builtin module "command" and "shell" can run a single command on the remote device and get its output.
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/test_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
from ansible.module_utils.basic import AnsibleModule
import sys
import traceback
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/topo_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import os
import traceback
import ipaddress
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/vlan_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python

from ansible.module_utils.basic import AnsibleModule
import traceback
Expand Down
2 changes: 1 addition & 1 deletion ansible/library/vlan_facts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# This ansible module is for gathering VLAN related facts from SONiC device.

from ansible.module_utils.basic import AnsibleModule
Expand Down