1 /*******************************************************************************
2 * ============LICENSE_START========================================================================
3 * ONAP : ccsdk feature sdnr wt
4 * =================================================================================================
5 * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
6 * =================================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
8 * in compliance with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software distributed under the License
13 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14 * or implied. See the License for the specific language governing permissions and limitations under
16 * ============LICENSE_END==========================================================================
17 ******************************************************************************/
21 package org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf;
23 import org.onap.ccsdk.features.sdnr.wt.devicemanager.base.internalTypes.InventoryInformation;
24 import org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container.AllPm;
25 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
26 import org.opendaylight.controller.md.sal.binding.api.MountPoint;
27 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.core.model.rev170320.NetworkElement;
28 import org.slf4j.Logger;
29 import org.slf4j.LoggerFactory;
35 @SuppressWarnings("deprecation")
36 public class ONFCoreNetworkElementEmpty implements ONFCoreNetworkElementRepresentation {
38 private static final Logger LOG = LoggerFactory.getLogger(ONFCoreNetworkElementEmpty.class);
40 private String mountPointNodeName = "";
43 ONFCoreNetworkElementEmpty(String mountPointNodeName) {
44 LOG.info("Create {}",ONFCoreNetworkElementEmpty.class.getSimpleName());
45 this.mountPointNodeName = mountPointNodeName;
49 public void initialReadFromNetworkElement() {
53 public String getMountPointNodeName() {
54 return mountPointNodeName;
58 public String getMountpoint() {
59 return mountPointNodeName;
63 public void resetPMIterator() {
67 public boolean hasNext() {
76 public AllPm getHistoricalPM() {
77 return AllPm.getEmpty();
81 public String pmStatusToString() {
82 return this.getClass().getSimpleName();
86 public int removeAllCurrentProblemsOfNode() {
91 public void doRegisterMicrowaveEventListener(MountPoint mointPoint) {
96 public void prepareCheck() {
101 public boolean checkIfConnectionToMediatorIsOk() {
106 public boolean checkIfConnectionToNeIsOk() {
111 public InventoryInformation getInventoryInformation() {
112 return InventoryInformation.getDefault();
116 public InventoryInformation getInventoryInformation(String layerProtocolFilter) {
117 return InventoryInformation.getDefault();
121 public DataBroker getDataBroker() {
126 public NetworkElement getOptionalNetworkElement() {