prashr186
prashr186

Reputation: 1

Alarm is not successfully created using openstack4j library

I have created an alarm using openstack4j as follows:

 Alarm alarm2 = os
    .telemetry()
    .alarms()
    .create(alarm);
    System.out.println("Alarm details:"+alarm.getAlarmId());
    System.out.println("alarms:"+os.telemetry().alarms().list());

But after alarm is created the AlarmId is null and is also not found in the list of alarms. There are no errors during the creation of alarms also.

Openstack4j Version used is: 3.0.4-SNAPSHOT

Upvotes: 0

Views: 43

Answers (0)

Related Questions