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

SRM – PLS : How to configure resources while the booking is active?

Solved698 views24th February 2023PLS SRM
13
Jens Vandewalle [SLC] [DevOps Enabler]9.44K 24th February 2023 0 Comments

Hi Dojo,

We want to execute some resource configuration while the booking is active. For this we're using an Interactive Automation Script where the user defines the data that needs to get updated.

Is there a way that we can execute the PLS for configuring these values without the need of a Profile Instance?
Can we directly call the PLS like the PLS Tester does? If so, where can we find the format for the input parameters?

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 24th February 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
9
André Rodrigues [SLC] [DevOps Member]709 Posted 24th February 2023 3 Comments

Hi Jens,

To be able to configure the resource, you will a profile instance.

I would suggest creating a profile instance that you manipulate in your Interactive Automation Script, and then you can use the following code snippet as an example of how to call the PLS:

var resource = SrmManagers.ResourceManager.GetResource(Guid.Parse("54d658a9-897e-4084-86bb-03cc5c188df9"));

var bookingManager = new BookingManager(engine, engine.FindElement("1.1 - Bookings - SDMN Satellite Downlink"));

var profileInstanceId = Guid.Parse("5670aafd-fc95-4b2d-8e53-1d81ddd7ea42");

var interfaceProfileInstanceIds = new Dictionary<int, Guid>();

var resourceOrchestration = resource.GetOrchestrationHelper(engine, bookingManager, profileInstanceId, interfaceProfileInstanceIds);

resourceOrchestration.ApplyProfile(string.Empty);

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 24th February 2023
Jens Vandewalle [SLC] [DevOps Enabler] commented 24th February 2023

Hi André, Is there a way to not use a Profile Instance? I know that when I create a silent booking I can provide the data upfront, without defining a Profile Instance, which will result in a PLS getting executed. Can that same logic be reused?

André Rodrigues [SLC] [DevOps Member] commented 24th February 2023

For the easiest approach, you will always need a profile instance.

Otherwise, you would need to update the booking and execute the LSO script (through BookingManager.ApplyServiceState method)

Jens Vandewalle [SLC] [DevOps Enabler] commented 24th February 2023

Thank you, André! That’s all the info I need

You are viewing 1 out of 1 answers, click here to view all answers.
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

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