Profile

User info

First name Jorge
Last name Dias

DevOps Program

Acquired rank
Enabler
Points progress
Number of DevOps Professional Points
1805 DevOps Points
Here are a few tips to level up your DevOps game and unlock an arsenal of perks and benefits.
DevOps attestation Request your attestation ID and expiry date

Achievements

Questions asked

Answers given

Hi Catalin, Just by selecting the row and a button you cannot, as won't know which row to delete, you miss the key. You can select rows and delete by using a context menu. In Custom table context menu...

View Question
10 Votes Selected

Hi Stijn, You can use: 'var profileInstance = SrmManagers.ProfileHelper.ProfileInstances.GetProfileInstance(resource.UsageDefinition.NodeConfiguration.ProfileInstanceID);

View Question

Hi Tim, Events will try to be executed at the schedule time, though the time to actually run will depend on the load and the amount of events at the same time on the system. There's no guarantee of execution...

View Question
9 Votes Selected

Hi Julio, In Triggering a user-defined API | DataMiner Docs you can find: NatsRequestFailed 1001 500 Failed to send the NATS request to the DataMiner Agent. It seems that NATS is not running fine...

View Question
8 Votes Selected

Hi Arne, No that is not possible, also doesn't seem correct to use Units for another purpose than to display the unit of a parameter. For your example, you can use a retrieved column that you fill with...

View Question
8 Votes Selected

Hi Martijn, Your code is fine, though if you use that method multiple times in the same script it may be worth to cache the resource pools to avoid calls for pools that you already queried before. Also...

View Question
7 Votes Selected

Hi Sebastian, If you use SRM Solution a sub service will be created for your group and will be included in the Main service of the booking. This can allow to better monitor SRM Bookings, but has the...

View Question
7 Votes Selected

Hi Hans, You can find the Hosting Agent ID by using: var hostingId = dummy.ElementInfo.HostingAgentID;

View Question
7 Votes Selected

Hi Philip, If you are using SRM Solution, you cannot specify the ID of the booking, you should have a custom property that will hold that ID. If you need to get the reservation by that property you can...

View Question
6 Votes Selected

Hi, Please find below an example of changing the primary connection timeout when is SNMPV2. If your element is different just change accordingly. using System; using System.Linq; using Skyline.DataMiner.Automation;...

View Question
6 Votes

Hi Daniel, PK refers to the primary key of the 'Generic DVE Table' that is present on the element from where the Function Resource was linked. If you are creating resources, you should not fill that...

View Question
5 Votes Selected

Hi Philip, No that is not supported, the function object only allows to have one profile definition.

View Question
5 Votes Selected

Yes, you can use method BookingManager.Delete(Engine engine, ReservationInstance reservation), or call script SRM_ReservationAction with action DELETE for that. Though, the standard drawing doesn't show...

View Question
5 Votes Selected

Hi Gilles, Yes that is possible, you just need to skip the methods that interact with the user.

View Question
5 Votes Selected

Hi Philip, You can remove them with the following code in an automation script, you just need to adapt for your services and list of properties. var propertiesToRemove = new[] { "Property1", "Property2"...

View Question
5 Votes Selected

Hi Jens, I have the following code on a connector: public static void TakeAlarmOwnership(this SLProtocol protocol, int dmaId, int alarmId, string message) { if (protocol == null) { throw new ArgumentNullException("protocol");...

View Question
5 Votes Selected

Hi Brecht, You can subscribe on 'ResourceManagerEventMessage'. As far as I know there's no library for this, you need to use the raw message.

View Question
5 Votes Selected

Hi Dominique, You need to add a Newtonsoft nuget package to your QAction project.

View Question
5 Votes

Hi Bernard, You can use GetServiceTemplate | DataMiner Docs

View Question
5 Votes Selected

Hi Andries, You need to set your read parameter as type string and then create your alarm template with the correct string values. Only the write parameter needs to be of type discreet and have the dependencyId...

View Question
5 Votes Selected

Hi Jeroen, I've continue from the code in script SRM_DataTransferRulesTemplate, please adapt for your case. var rxSatBooking = mainBooking.GetContributingBooking("Rx Sat"); var rxSatDecoder = rxSatBooking.GetResource("Decoding");...

View Question
5 Votes Selected edited answer

Resources are still stored in xml file, C:\Skyline DataMiner\ResourceManager\Resources.xml

View Question
5 Votes Selected

Hi Dave, You can make a DELT export of the services, by right click on the service then actions export. Then you can take the export package and import in the new DMA, the correct linking will be kept....

View Question
4 Votes Selected

Hi Stacey, That is currently not supported, a new feature would need to be requested.

View Question
4 Votes Selected

Hi Stacey, You can use srmBooking.Reservation.TryGetPropertyValue("Property Name", out string value);

View Question
4 Votes Selected

Hi Jens, If you use SRM Solution you have an extension method for that called EnableDve (namespace Skyline.DataMiner.Library.Resource).

View Question
4 Votes Selected

Hi Samuel, As discussed, that is an issue in the SRM Framework Create New Booking wizard. We will fix it in the next release.

View Question
4 Votes Selected

Hi Elvio, You can do that by having the following flow: Timer > Group (type poll action) > Action (on parameter, type run actions) > Parameter (type dummy) > QAction

View Question
4 Votes

Hi Philip, In the Function object you should not provide 'SelectedResource' and set 'ShouldAutoSelectResource' to true. E.g.: new Function { Id = 3, ShouldAutoSelectResource = true, ProfileInstance...

View Question
4 Votes Selected

Hi Ana, When that library was put on a nuget package the namespaces were changed to comply with the nuget naming convention. So it changed from Skyline.DataMiner.Library to Skyline.DataMiner.CommunityLibrary.Utility.

View Question
4 Votes

Hi Benjamin, That is not possible with standard features as that Service Definition is meant to be used for out of the box Resource Scheduling and Orchestration. You can either create a new Service Definition,...

View Question
4 Votes Selected

Hi Marco, The correct way to achieve what you want is indeed to use SRM. Without that, you can create a connector that retrieves the data from the API and then with a periodic timer you check what actions...

View Question
4 Votes Selected

Hi Steve, Check if there is not a typo on Novella mib, as it seem to be asking for RFC1212 but you have RFC1212-MIB loaded. Otherwise attach the files so we can take a better look.

View Question
4 Votes Selected

Hi Yohan, Yes you can, below you can find an example of some code to do it, you will need to complete with the logic to get the correct resources and the correct names. var resourceManager = new ResourceManagerHelper(engine.SendSLNetSingleResponseMessage);...

View Question
4 Votes Selected

Hi, As Laurens said you need to execute SNMP set to add you new row. For that you need to trigger an action of type Set on and SNMP group. <Action id="10103"> <Name>ITS Src TTP Create Set...

View Question
4 Votes Selected

You can force the compilation by having a normal trigger after start up that will end up running your pre compiled QAction, that's normally a good way to debug what is happening since then you have the...

View Question
4 Votes Selected

Hi Michiel, Yes, your assumption is correct you can run SRM 1.2.35 with 10.4.0 Main Release. You can also use the SRM main release package with 10.4.0, it should work fine as well.

View Question
3 Votes Selected

Hi Joey, Yes you can install it normally like you do in a self hosted DMA. See the logs from the app doesn't work for now, apart from that it should work in the same way.

View Question
3 Votes

Hi Jeff, It seems that you are using the displaykey in method that receive a primary key, can you use elementTAG.SetParameter instead?

View Question
3 Votes Selected

Hi Jens, You can do SrmManagers.ResourceManager.GetTraceDataLastCall, if no other call was made in the mean time it will still have that error. Of maybe better for your case, use BookingManager.ChangeTime...

View Question
3 Votes Selected

Hi Jens, If you can import SLNetTypes, you can use method Tools.IsValidFilename (namespace Skyline.DataMiner.Net). That will validate the name, but the the timing like Emmanuel mentions.

View Question
3 Votes Selected

Hi Victor, In the interfaces lists (either InputInterfaces or OutputInterfaces) you need to add an Interface object specifying the correct ID (you can fetch that from your Function Definition) and fill...

View Question
3 Votes Selected

Hi Jens, Think the only option currently is to use the Booking Monitoring element. With that you can create an alarm template that will create alarms for Quarantine bookings, then the alarm root time...

View Question
3 Votes Selected

Hi Wale, Yes you can avoid that, just have a rule in your LSO script that doesn't call resource.ApplyProfile for that particular node, you can rely on the Node ID or Node Label for that.

View Question
3 Votes Selected

Hi Terry, It seems that your system has some corrupted data in Generic DVE Linker Table. There should be two entries with the same value in the column Linker Generic DVE FK, can you please check if you...

View Question
3 Votes Selected

You can install SRM 1.2.24 and then DM 10.2.7, no need for the intermediate step. For the future we are working in delivering both in the same package.

View Question
3 Votes Selected

Hi Mieke, Bellow you can find a code example. Never tried to compare the functions like this, check if it works, otherwise implement an IEqualityComparer<in T>.

View Question
3 Votes Selected

Hi Jeff, Yes you can, but need to manage everything yourself, things like IP/Port, timeout, retries, etc. The standard way in DataMiner would be to create an HTTP connector that would handle the communication,...

View Question
3 Votes Selected

Hi Jeroen, Not sure what's happening to have that blue color never seen that behavior. Below a screenshot of my DMA: As for the question if SRM will still 'see correct values', it will if you have...

View Question
3 Votes Selected

Hi Timothy, You can use the following method from the SrmUtilities class: // Summary: // Gets the available resources for a node of a service definition when no booking // exists yet. // Parameters:...

View Question
3 Votes Selected

Hi John, You need to define an export rule to order the page in the DVE protocol, like: <ExportRule table="300" tag="Protocol/Display" attribute="pageOrder" value="Details;Services" /> In...

View Question
3 Votes Selected

Hi, Connector Cisco DCM does not use SNMP for communication (only to receive traps), it use IIOP protocol which is still present on vDCM software. So, you can use Cisco DCM connector to monitor and configure...

View Question
3 Votes Selected

Hi Gerwin, You need to filter the bookings by property 'Virtual Platform' using the value that is defined in each manager (image below).

View Question
3 Votes Selected

Internally dates are stored in UTC, so in fact your events will trigger in the UTC time no matter what time zone you have defined. You will need to check if the times in UTC times are correct, or if some...

View Question
3 Votes Selected

If you use 'Transparent Loop Through TSs' you can directly know by looking at column 'Active Input TS (Output TS Loop Through)' (pid: 12116). Each entry on that table has a 1-1 relation on the OutputTSs....

View Question
3 Votes Selected

If you are using SRM Standard solution you can create bookings using one of the two following ways: Use method BookingManager.TryCreateNewBooking(Engine engine, Booking bookingData, IEnumerable<Function>...

View Question
3 Votes Selected

Have you checked stream viewer/wireshark? Seems a normal snmp driver should be easy to debug.

View Question
3 Votes

If you are using SRM standard solution you can use script SRM_DiscoverResources for that.

View Question
3 Votes

Hi Tyler, Currently that is not possible, the API works on local time for easy to use, then internally bookings are stored in UTC time.

View Question
2 Votes Selected

Hi Daniel, The recommended way to swap an existing resource in a booking is to use method: ReservationInstanceExtensions.AssignResources(). You shouldn't need anything else. E.g.: var assignRequest =...

View Question
2 Votes Selected

Hi Jason, One way to do that is to add a capability parameter(s) to your resources with the supported values for the custom property. Then you have a DTR rule that runs when the resource assignment screen...

View Question
2 Votes Selected

Hi Jim, Take a look at Code example - Take alarm ownership - DataMiner Dojo the code there should fit your case. Instead of protocol.SLNet.SendMessage you can use engine.SendSLNetSingleResponseMessage

View Question
2 Votes Selected

Hi Robin, If the ID stays the same the bookings will remain, you can finish etc. You just need to check if your LSO scripts use the previous Node Label.

View Question
2 Votes Selected

Hi Koen, To fix the main booking, you either assign another resource that supports the capabilities from the original resource, or you change the corresponding parameters with the correct values keeping...

View Question
2 Votes Selected

Hi Philip, After you put a Booking to Confirmed you should not use the TryEditBooking if you just want to change the booking state, you should use the On-Hold state. If you want to change something else...

View Question
2 Votes

Hi Gerwin, Please try the following code, should do what you want. var bookingManager = new BookingManager("Replace with Booking Manager Element Name"); var bookingData = new Booking { BouqetViewName...

View Question
2 Votes Selected

Hi Jeroen, You should check the log file of your booking, it will tell you what is missing. E.g.: As you continue to fill, it will state the 'next' item that is missing until every mandatory item...

View Question
2 Votes Selected

Hi, Since you are making your request directly through a QAction DataMiner settings shouldn't affect that. It seems that your request is timing out, try to increase 'ReadWriteTimeout' on your client...

View Question
2 Votes Selected

Hi Bruno, Yes you have to add them all, IP, IP1, IP2, etc. are just strings there's no special processing behind it.

View Question
2 Votes Selected

That protocol contains no DCF implementation, the interfaces that you see are then ones from the resources. Each Resource (DVE) will have it's table filled with its own Interfaces. Again, that will...

View Question
2 Votes Selected

Hi Jens, In the Pre-Roll event you will get the 'initial' parameters, the ones that you have configured in the wizard, either by reference or by value. In the other events you will get the 'state profile'...

View Question
2 Votes Selected

Hi Tyler, If deleting bookings that use the same resource fixes the issue it seems to indicate that there is overbooking of a resource at some point, though to further debug we will need more information....

View Question
1 Vote

Hi Esteban, Those settings are currently not supported in the class library, if you wan to contribute you can add them yourself. See how to Class library development | DataMiner Docs

View Question
1 Vote Selected

Hi Vish, You will have to order it yourself. You can use Enumerable.OrderBy Method (System.Linq) | Microsoft Learn to quickly do that.

View Question
1 Vote Selected

Hi Jens, Resource will keep the same capacity and new/ongoing/future bookings will not be impacted. The only impact is when you want to save the resource in cube, the arrows will max out in 20.

View Question
1 Vote Selected

Hi Jens, That seems to be an issue, can you open a task so we can fix it?

View Question
1 Vote Selected

Hi Jens, Your code snippet should work without problems.

View Question
1 Vote Selected

Hi Razvan, Normally you only need to set that parameter to Enabled, like mentioned in the other topic. Can you check if your service.xml file (under C:\Skyline DataMiner\Services\your service name) has...

View Question

Hi Ross, Indeed, you will need to have your own script, as that functionality currently does not exist. You can find that in script SRM_AssignProfilesAndResourcesToCustomServiceDefinition (called by...

View Question

Hi Michiel, The preferred way is using reservationInstance.UpdateServiceReservationProperties like the documentation states. That method will sync consecutive updates and waits for the values to take...

View Question
1 Vote Selected

Hi Brecht, Don't think that is possible as there's no way to know in the context menu that parameter 1 changed.

View Question
1 Vote Selected

Hi Philip, If I understood correctly you want to update the Resource name when the event name changes. If so, then you need to have your function with an entry point to that channels table (I guess you...

View Question
1 Vote

Hi Tim, Those interfaces are 'reserved' for SRM, when a booking starts making use of the linked resource, those interfaces will be connected to the interfaces of other resources according to the Service...

View Question
1 Vote Selected

Hi Martijn, Yes, in ParameterId you pass the ID of the table and don't fill the TableIndex, you will get the entire table unless is a partial table, if so you only get the first page.

View Question
1 Vote Selected

Hi Wale, That seems an issue in the exporter, can you please open a DCP task so we can investigate what is happening.

View Question
1 Vote Selected

Hi Jeroen, The exception already tells you that was resource 3f1a2d52-2314-49a5-96e8-baba460e61f2 that caused the error. After that you should open the booking log file and search for which capacities...

View Question
1 Vote Selected

Hi Julio, You should use the AssignResources method for that. // Summary: // Assigns resources to the given reservation. // Parameters: // reservation: // The reservation where the resources will be...

View Question
1 Vote Selected

Hi Gerwin To accomplish that you can create a capability parameter on those resources profile definition. Then for each resource you fill with a value indicating to each resource it connects to. Then...

View Question
1 Vote Selected

Hi Mieke, This will depend from connector to connector, depending on how the relations were built. In general the linking should be done in the following way: in your FunctionResource object you will...

View Question
1 Vote

Hi Mieke, If possible, set, like Jens, suggested a property in your resources that will hold the Main Element name, that will save you the extra calls. If that is not possible, improve your algorithm...

View Question
1 Vote

Hi Jon, Element.SetParameter will, by default (unless you define engine.SetFlag(RunTimeFlags.NoCheckingSets) in your script), check if the set as successful or not. Though this only check the value in...

View Question
1 Vote Selected

Hi Pengf, Below an equivalent method using only Engine class: public static IEnumerable<Element> FindElementsInService(this Engine engine, Service service) { if (engine == null) { throw new ArgumentNullException(nameof(engine));...

View Question
1 Vote

Hi Jens, You need to go to your Virtual Element and on page 'Virtual Function Binding Info' you will find the current linked element, if any. You can also go to Resources page, an on 'Device' tab you...

View Question
1 Vote

Hi, Yes you can do that. Please check Help, there's an example on how to do it.

View Question
1 Vote Selected

Hi, Below a simpler way using code library: var dms = engine.GetDms(); var element = dms.GetElement("Element Name"); var table = element.GetTable(tableId); var column = table.GetColumn<string>(columnId);

View Question
1 Vote

Hi Julio, First of all, please do never use raw SLNet messages to deal with SRM objects. There are proper managers to use, like ResourceManagerHelper, ServiceManagerHelper, etc. As for your question,...

View Question
1 Vote Selected

Hi Yohann, Yes you can use directly custom dlls in QActions or Automation Scripts, if they are managed code compatible with the .Net version that the QAction/AS is targeting. If those dlls are unmanaged,...

View Question
1 Vote Selected

Hi Alex, That happens when one of the class libraries that you have installed has compilation errors. You should check which packages do you have, and if their minimum versions are consistent with your...

View Question
1 Vote

Currently we only support auto selection when the window is launched. If necessary you can create a new feature task that we will look into it.

View Question
1 Vote
Load more answers