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
    • 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
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

DCF – How do I know if all DCF interfaces are available

Solved1.60K views19th July 2023DCF protocol
3
Jens Vandewalle [SLC] [DevOps Enabler]9.44K 28th January 2021 0 Comments

I have an element which needs to simulate 255 DCF interfaces and each DCF interface needs to have 4 properties.

Setting up the simulation executes following steps in one single QAction flow:

  1. Fill in interfaces table by using FillArray method
    –> Software will create a DCF interface for each entry in that table
  2. Get the DCF interfaces
  3. Assign properties to each DCF interface

The problem is that in step 2 the DCF interfaces aren’t known yet in SLProtocol.

How can I make sure that all the DCF interfaces are available before continuing?

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

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
João Severino [SLC] [DevOps Catalyst]13.07K Posted 28th January 2021 3 Comments

Hi Jens,

Since it looks like you are trying to set up a simulation I am guessing this will not be done constantly so you could go with the approach of:

  1. In step 1, store the references to the interfaces table
  2. Perform step 2 in a Retry loop, where you attempt to retrieve all interfaces and compare them with the ones you need. If some are still missing, you add a small sleep and try again afterward (while stipulating a maximum time to wait)
  3. If the previous retry mechanism was successful, you can now assign the properties
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
Jens Vandewalle [SLC] [DevOps Enabler] commented 28th January 2021

I tried it with a sleep of 1 second and max of 10 retries but it still isn’t known

João Severino [SLC] [DevOps Catalyst] commented 28th January 2021

From what I have seen in the past 10 seconds (10 retries * 1 second) may not be enough for all of the 255 interfaces.
Typically, for this amount of interfaces, it is going to take a bit more time, something like a few minutes.

Jens Vandewalle [SLC] [DevOps Enabler] commented 28th January 2021

Seems that there is an issue when I fill in the table that generates the DCF interfaces and try to assign properties to it in the same QAction instances. The work-around was to execute a new instance of that QAction to set the properties.

0
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.83K Posted 28th January 2021 1 Comment

A (subscription) event is sent whenever a change happens to an interface. You could subscribe to InterfaceInfoEventMessage (filter this on your simulation element) and count them.

Note that this is an internal API and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using subscriptions, as these are subject to change without notice. We recommend to instead always use the correct UI or automation options provided in DataMiner Automation or through our web API.

Jens Vandewalle [SLC] [DevOps Enabler] Posted new comment 1st February 2021
Jens Vandewalle [SLC] [DevOps Enabler] commented 1st February 2021

Thank you for the suggestion Sebastiaan. This is something that I will definitely try in protocols. I think that it’s a bit tricky to use this in automation since I see this more as a linear flow and this would involve a kind of multithreading.

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