2 * Copyright © 2017 AT&T and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.transportpce.networkmodel.listeners;
11 import org.opendaylight.yang.gen.v1.http.org.openroadm.de.operations.rev161014.OrgOpenroadmDeOperationsListener;
12 import org.opendaylight.yang.gen.v1.http.org.openroadm.de.operations.rev161014.RestartNotification;
13 import org.slf4j.Logger;
14 import org.slf4j.LoggerFactory;
16 public class DeOperationsListener implements OrgOpenroadmDeOperationsListener {
18 private static final Logger LOG = LoggerFactory.getLogger(DeOperationsListener.class);
21 * Callback for restart-notification.
23 * @param notification RestartNotification object
26 public void onRestartNotification(RestartNotification notification) {
27 LOG.info("Notification {} received {}", RestartNotification.QNAME, notification);