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
    • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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

Masking CPE Objects – How to derive a parent object from a masked object?

Solved1.14K views17th July 2023Automation CPE Masking
1
Bruno Nogueira [SLC]50 7th December 2021 2 Comments

Hi,

I want to code a script to correct an issue in which children objects (Amplifiers) are incorrectly Masked in the system after their respective parent objects (CMC) are unmasked (operationally when a user masks a parent object, all children objects are masked as well).

Using the GetMaskedDMAObjectRefTrees call I'm able to get a hold of all the masked objects in the system, and with a lambda query, I'm able to extract all objects of type "amplifier". However, I'm not able to map each amplifier to its respective CMC (to be able to inspect this object's masked status and act accordingly).

List<CPETopologyItem> maskedAmps = tree.Select(item => (CPETopologyItem)item.Data).Where(data => data.SystemType.Contains("amp")).ToList();

List<DMAObjectRefTree> result = _cpeCollectorHelper.GetLinkedDMAObjectRefTreesThroughTopologyBulk(maskedAmps);

The result collection has a property called "Ancestors" that is returning an empty ObjectRef collection.

Do we have a way of easily inspecting the topology tree from the leaf to its node to map all the masked children to their respective AMPs?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th July 2023
Alberto De Luca commented 17th December 2021

Not sure if this can help, Bruno
but would it be viable to run the check for elements with the same polling IP?
If so, you could possibly force the “unmasked” from the parent to all the child elements with the same polling IP?

This could be of use only if the alarm template is assigned to the parent element though – but I guess that if the alarm templates are assigned at children level, then you could indeed have masked children and unmasked parents as the expected behaviour

Bruno Nogueira [SLC] commented 20th December 2021

Thanks Alberto, but I’m afraid the context is a bit different here. We’re talking about CPE objects, which are not holding any direct polling IP relationship between one another. The only link between these lies in the topology (incidentally, these links are built via Foreign Key relationships in CPE Manager tables, but those would be too complex and time-consuming to explore programmatically on an automation script). Hence the GetMaskedDMAObjectRefTrees calls, to simplify this operation.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Marlies Vandenberghe [SLC] [DevOps Member]2.97K Posted 21st November 2022 0 Comments

The issue related to the masking of CPE items is solved in version 10.1 CU12 main release and 10.2.3 feature release

More information can be found in the following release note:
Parent EPM item unmasked while still containing masked sub-items [ID_32179] General Feature Release 10.2.3 | DataMiner Docs

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th July 2023
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

LCA – create/modify Templated Services 0 Answers | 0 Votes
Low Code Apps – Link trend graph to the same time view port 0 Answers | 0 Votes
How is Automation run scripts count run calculated by Skyline? 0 Answers | 2 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 (110) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (154) low code app (167) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) 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