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

Import Devices only takes one device at a time #248

Open
CarlB-dev opened this issue Apr 24, 2024 · 2 comments
Open

Import Devices only takes one device at a time #248

CarlB-dev opened this issue Apr 24, 2024 · 2 comments

Comments

@CarlB-dev
Copy link

Using the format described here - https://f5devcentral.github.io/vscode-f5/#/device_importing?id=json-object-list-import-structure
When I import multiple devices, I see it add a device and the IP address changes as it parses the file and stops at the last one in the JSON structure. If I repeat, it will add a new device and then stop at the next to the last one in the JSON file, and this repeats until all of the devices in the JSON file are in place.

I originally discovered this on a code server implementation of the extension, but can replicate it locally on my windows 10 machine as well.
Both versions of the extension are 3.16.1

[
    {
        "device": "admin@10.1.1.9",
        "password": "password",
        "provider": "tmos"
    },
    {
        "device": "admin@10.1.1.5",
        "password": "password",
        "provider": "tmos"
    },
    {
        "device": "admin@10.1.1.8",
        "password": "password",
        "provider": "tmos"
    },
    {
        "device": "admin@10.1.1.6",
        "password": "password",
        "provider": "tmos"
    }
]

@CarlB-dev
Copy link
Author

chrome_o1KtWcUVst

@DumpySquare
Copy link
Member

tracking for pending fix. deviceImport.ts line 78

await seedList2.forEach((el: CfgDevice) => {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants