PepperDash.Essentials.Plugins.Netgear.CLI
2.0.0-feature-v3-migration.2
dotnet add package PepperDash.Essentials.Plugins.Netgear.CLI --version 2.0.0-feature-v3-migration.2
NuGet\Install-Package PepperDash.Essentials.Plugins.Netgear.CLI -Version 2.0.0-feature-v3-migration.2
<PackageReference Include="PepperDash.Essentials.Plugins.Netgear.CLI" Version="2.0.0-feature-v3-migration.2" />
<PackageVersion Include="PepperDash.Essentials.Plugins.Netgear.CLI" Version="2.0.0-feature-v3-migration.2" />
<PackageReference Include="PepperDash.Essentials.Plugins.Netgear.CLI" />
paket add PepperDash.Essentials.Plugins.Netgear.CLI --version 2.0.0-feature-v3-migration.2
#r "nuget: PepperDash.Essentials.Plugins.Netgear.CLI, 2.0.0-feature-v3-migration.2"
#:package PepperDash.Essentials.Plugins.Netgear.CLI@2.0.0-feature-v3-migration.2
#addin nuget:?package=PepperDash.Essentials.Plugins.Netgear.CLI&version=2.0.0-feature-v3-migration.2&prerelease
#tool nuget:?package=PepperDash.Essentials.Plugins.Netgear.CLI&version=2.0.0-feature-v3-migration.2&prerelease
Essentials Netgear CLI Plugin (c) 2024
License
Provided under MIT license
Overview
This plugin controls Vlan assignments for a Netgear switch interface port.
Dependencies
The Essentials libraries are required. They are referenced via nuget. You must have nuget.exe installed and in the PATH environment variable to use the following command. Nuget.exe is available at nuget.org.
Installing Dependencies
Dependencies will be installed automatically by Visual Studio on opening. Use the Nuget Package Manager in Visual Studio to manage nuget package dependencies. All files will be output to the output directory at the root of repository.
Installing Different versions of PepperDash Core
If a different version of PepperDash Core is needed, use the Visual Studio Nuget Package Manager to install the desired version.
Usage
The Vlan assignment is set by calling the ChangeVlan method via DevJson. A sample json is provided below:
{
"deviceKey": "NetgearCLI",
"methodName": "ChangeVlan",
"params": ["0/1", 2]
}
Minimum Essentials Framework Versions
- 3.0.0-dev-v3-routing.63
Config Example
{
"key": "GeneratedKey",
"uid": 1,
"name": "GeneratedName",
"type": "NetgearCli",
"group": "Group",
"properties": {
"control": "SampleValue",
"password": "SampleString"
}
}
Supported Types
- NetgearCli
Interfaces Implemented
- IQueueMessage
- INetworkSwitchPoeVlanManager
Base Classes
- EssentialsDevice
Public Methods
- public void Dispatch()
- public void ChangeVlan(string port, int vlanID)
- public int GetPortCurrentVlan(string port)
- public void SetPortVlan(string port, uint vlanId)
- public void SetPortPoeState(string port, bool enabled)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- PepperDashEssentials (>= 3.0.0-feat-update-ihaswebview.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-feature-v3-migration.2 | 77 | 8/25/2026 |
| 2.0.0-feature-v3-migration.1 | 76 | 8/13/2026 |