Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Connector 2 stage login & authentication

Solved1.17K views18th July 2023Connector new driver development protocol
4
Ross Elliott [DevOps Advocate]819 7th September 2021 0 Comments

We have a connector that communicates to different parts of the device with different ports. HTTPS 443, SSH 22, 1322 for a dataplane switch & 2322 for a controlplane switch. Each has a separate user & password for access. The vendor has noted in a new version that the preferred way to access the switches within the device is to login to SSH port 22 and then subsequently login to each data plane & control plane with different username/pw combinations rather than communicating with those switches directly. Rather than asking how to do this, I'm just making sure this multi-level polling can be allowed in a driver, or whether I need to request that the API allows us to talk directly to each switch.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Avatar photo
Jan Staelens [SLC] [DevOps Advocate]889 Posted 7th September 2021 2 Comments

With a connector you can indeed add several different communication ports to talk to the same device. We have several connectors out there that have several "Serial - IP" connections or several SNMP connections for example.

In general though, splitting things up will however lead to less complicated code and easier code maintenance. (Unless you end up having to duplicate a lot of shared parameters & information)

So in short, yes it can be allowed in a driver but often comes with an increase in code complexity.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023
Ross Elliott [DevOps Advocate] commented 7th September 2021

Thanks Jan. With my specific use case, can I log into the device via SSH and then log in to each separate switch fabric using different credentials? It’s the 2 stage authentication that I’m unsure about & that I haven’t seen before. The connector would then be polling parameters via the chassis on port 22 with a user/pw and then log into a switch with another user/pw to then GET parameters.

Avatar photo
Jan Staelens [SLC] [DevOps Advocate] commented 8th September 2021

So you’re needing multiple SSH connections that will have different credentials and go to different ports (not just 22) in a single connector?

Edit:
If that’s the case, there’s a different XML syntax you can use where you instead of using the parameters with options SSH Username and SSH Password.

My previous answer still remains though. You can do it, but it will increase complexity of your connector.
If it’s an option to separate communication through different connectors without causing too much code duplication with a simple API change. Then I would suggest doing that for better system stability.

If you need to do it through a single connector then you can use:
https://help.dataminer.services/development/#t=DataMinerDevelopmentLibrary_Customerpart3MarkupLanguageMARProtocolPortSettingsProtocol_Portsettings_SSH.htm

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin