Decouple config and netconf subsystems.
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / strategy / RemoveEditConfigStrategy.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.config.facade.xml.strategy;
10
11 import java.util.Map;
12 import org.opendaylight.controller.config.facade.xml.mapping.attributes.fromxml.AttributeConfigElement;
13 import org.opendaylight.controller.config.facade.xml.mapping.config.ServiceRegistryWrapper;
14 import org.opendaylight.controller.config.util.ConfigTransactionClient;
15 import org.slf4j.Logger;
16 import org.slf4j.LoggerFactory;
17
18 public class RemoveEditConfigStrategy extends DeleteEditConfigStrategy {
19
20     private static final Logger LOG = LoggerFactory.getLogger(RemoveEditConfigStrategy.class);
21
22     @Override
23     void handleMissingInstance(Map<String, AttributeConfigElement> configuration, ConfigTransactionClient ta,
24                                String module, String instance, ServiceRegistryWrapper services) {
25         LOG.warn("Unable to delete {}:{}, ServiceInstance not found", module, instance);
26     }
27 }