Skyline.DataMiner.ConnectorAPI.Cisco.Nexus
1.0.0.2
Prefix Reserved
dotnet add package Skyline.DataMiner.ConnectorAPI.Cisco.Nexus --version 1.0.0.2
NuGet\Install-Package Skyline.DataMiner.ConnectorAPI.Cisco.Nexus -Version 1.0.0.2
<PackageReference Include="Skyline.DataMiner.ConnectorAPI.Cisco.Nexus" Version="1.0.0.2" />
paket add Skyline.DataMiner.ConnectorAPI.Cisco.Nexus --version 1.0.0.2
#r "nuget: Skyline.DataMiner.ConnectorAPI.Cisco.Nexus, 1.0.0.2"
// Install Skyline.DataMiner.ConnectorAPI.Cisco.Nexus as a Cake Addin #addin nuget:?package=Skyline.DataMiner.ConnectorAPI.Cisco.Nexus&version=1.0.0.2 // Install Skyline.DataMiner.ConnectorAPI.Cisco.Nexus as a Cake Tool #tool nuget:?package=Skyline.DataMiner.ConnectorAPI.Cisco.Nexus&version=1.0.0.2
Skyline.DataMiner.ConnectorAPI.Cisco.Nexus
About
About Skyline.DataMiner.ConnectorAPI.Cisco.Nexus
Skyline.DataMiner.ConnectorAPI.Cisco.Nexus is a package available in the public nuget store that contain assemblies to communicate with a CISCO Nexus switch in DataMiner.
This library will retrieve information from the DataMiner system to give information on the CISCO Nexus and provide functions to perform actions on the connector.
About DataMiner
DataMiner is a transformational platform that provides vendor-independent control and monitoring of devices and services. Out of the box and by design, it addresses key challenges such as security, complexity, multi-cloud, and much more. It has a pronounced open architecture and powerful capabilities enabling users to evolve easily and continuously.
The foundation of DataMiner is its powerful and versatile data acquisition and control layer. With DataMiner, there are no restrictions to what data users can access. Data sources may reside on premises, in the cloud, or in a hybrid setup.
A unique catalog of 7000+ connectors already exist. In addition, you can leverage DataMiner Development Packages to build you own connectors (also known as "protocols" or "drivers").
[!TIP] See also: About DataMiner
About Skyline Communications
At Skyline Communications, we deal in world-class solutions that are deployed by leading companies around the globe. Check out our proven track record and see how we make our customers' lives easier by empowering them to take their operations to the next level.
Requirements
The "DataMiner Integration Studio" Visual Studio extension is required for development of connectors and Automation scripts using NuGets.
See Installing DataMiner Integration Studio
[!IMPORTANT] NuGets are mandatory to be installed with PackageReferences. DIS was redesigned to work with PackageReferences and be future-proof.
For more information on how to migrate from packages.config to PackageReferences, see docs.microsoft.com.
Getting started in Automation
You will need to add the following NuGet packages to your automation project from the public nuget store:
- Skyline.DataMiner.ConnectorAPI.Cisco.Nexus
- Skyline.DataMiner.Core.DataMinerSystem.Automation
Example script could look as following:
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Skyline.DataMiner.Automation;
using Skyline.DataMiner.Core.DataMinerSystem.Automation;
using Skyline.DataMiner.Core.DataMinerSystem.Common;
using Skyline.DataMiner.ConnectorAPI.Cisco.Nexus;
/// <summary>
/// DataMiner Script Class.
/// </summary>
public class Script
{
/// <summary>
/// The Script entry point.
/// </summary>
/// <param name="engine">Link with SLAutomation process.</param>
public void Run(Engine engine)
{
// Get the cisco nexus object for the Element with name 'mySwitch' from the DM system.
IDms thisDms = engine.GetDms();
ICiscoNexus myNexus = thisDms.GetCiscoNexus("mySwitch");
// Change settings on interface 'Ethernet1'
var myInterface = myNexus.Interfaces.First(i => i.Name == "Ethernet1");
myInterface.Settings.AddVlan(200).SetAdminState(true).Push();
// Execute raw commands on the switch and wait for the result for max two min
string result = myNexus.CLI.SendCommand("show clock", TimeSpan.FromMinutes(2));
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Skyline.DataMiner.Utils.NetworkDevices (>= 1.0.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.