Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T6789: test commit. dont merge #62

Open
wants to merge 14 commits into
base: current
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/check-unused-imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ permissions:

jobs:
check-unused-imports:
uses: vyos/.github/.github/workflows/check-unused-imports.yml@T6789-unused-import-checkout-current
uses: vyos/.github/.github/workflows/check-unused-imports.yml@T6789-unused-import-checkout-curre
secrets: inherit
2 changes: 2 additions & 0 deletions src/migration-scripts/bgp/1-to-2
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# T5937: Migrate IPv6 BGP Neighbor Peer Groups

from vyos.configtree import ConfigTree
import json
import os

base = ['protocols', 'bgp']

Expand Down
1 change: 1 addition & 0 deletions src/migration-scripts/cluster/1-to-2
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import re
import sys
import json

from vyos.configtree import ConfigTree
from vyos.base import MigrationError
Expand Down
1 change: 1 addition & 0 deletions src/migration-scripts/config-management/0-to-1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Add commit-revisions option if it doesn't exist

from vyos.configtree import ConfigTree
import json

def migrate(config: ConfigTree) -> None:
if config.exists(['system', 'config-management', 'commit-revisions']):
Expand Down
1 change: 1 addition & 0 deletions src/migration-scripts/conntrack/1-to-2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Delete "set system conntrack modules gre" option

from vyos.configtree import ConfigTree
import json


def migrate(config: ConfigTree) -> None:
Expand Down
1 change: 0 additions & 1 deletion src/tests/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import sys
import importlib.util
import math
import json
import os

Expand Down
1 change: 1 addition & 0 deletions src/tests/test_configverify.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from unittest import TestCase
import json
from vyos.configverify import verify_diffie_hellman_length
from vyos.utils.process import cmd

Expand Down
1 change: 1 addition & 0 deletions src/tests/test_op_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

from unittest import TestCase
import os
import json
import vyos.opmode

class TestVyOSOpMode(TestCase):
Expand Down
1 change: 1 addition & 0 deletions src/utils/initial-setup
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3

import argparse
import json

import vyos.configtree

Expand Down
1 change: 1 addition & 0 deletions src/utils/vyos-config-file-query
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import re
import os
import math
import sys
import json
import argparse
Expand Down
Loading