/*
-* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
-*
-* This program and the accompanying materials are made available under the
-* terms of the Eclipse Public License v1.0 which accompanies this distribution,
-* and is available at http://www.eclipse.org/legal/epl-v10.html
-*/
+ * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
package org.opendaylight.controller.netconf.monitoring.xml;
import static org.hamcrest.MatcherAssert.assertThat;
import java.util.Set;
import org.hamcrest.CoreMatchers;
import org.junit.Test;
-import org.opendaylight.controller.netconf.api.Capability;
+import org.opendaylight.controller.config.util.capability.Capability;
+import org.opendaylight.controller.config.util.xml.XmlUtil;
import org.opendaylight.controller.netconf.api.monitoring.NetconfManagementSession;
import org.opendaylight.controller.netconf.api.monitoring.NetconfMonitoringService;
import org.opendaylight.controller.netconf.monitoring.xml.model.NetconfState;
-import org.opendaylight.controller.netconf.util.xml.XmlUtil;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.DomainName;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Host;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Uri;
final NetconfMonitoringService service = new NetconfMonitoringService() {
@Override
- public void onSessionUp(final NetconfManagementSession session) {
+ public void onCapabilitiesChanged(Set<Capability> added, Set<Capability> removed) {
}
@Override
- public void onSessionDown(final NetconfManagementSession session) {
-
- }
-
- @Override
- public void onCapabilitiesAdded(final Set<Capability> addedCaps) {
+ public void onSessionUp(final NetconfManagementSession session) {
}
@Override
- public void onCapabilitiesRemoved(final Set<Capability> addedCaps) {
+ public void onSessionDown(final NetconfManagementSession session) {
}