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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Kanban workshop
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Connector 2 stage login & authentication

Solved1.22K 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
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.

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
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