Honeynode test tool 53/73553/5
authorMartial COULIBALY <martial.coulibaly@gfi.fr>
Thu, 7 Jun 2018 14:25:47 +0000 (16:25 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Wed, 18 Jul 2018 14:40:45 +0000 (16:40 +0200)
commit876d910d031b8174de1259fa041243c44f7899ad
treeea27cea44a59c2712f34f133c7f55b0f6990989a
parent693587d930bbac1d8711bf12f5e9b9df3562b00d
Honeynode test tool

- Add honeynode folder in tests module.
- Add some operational config files.
- Add README file.

Honeynode is base on FD.io project https://fd.io/.
Due to checkstyle warnings cause by FD.io licence
you have to compile this projects with:
mvn clean install -DskipTests=true -Dcheckstyle.skip

Change-Id: I43b94db04f27c2e93b096aa4c7488dc51ca104a2
Signed-off-by: Martial COULIBALY <martial.coulibaly@gfi.fr>
153 files changed:
tests/build.sh
tests/honeynode/README [new file with mode: 0644]
tests/honeynode/honeynode-common/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/honeynode-common/pom.xml [new file with mode: 0644]
tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/AbstractDataObjectConverter.java [new file with mode: 0644]
tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/JSONDataObjectConverter.java [new file with mode: 0644]
tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/XMLDataObjectConverter.java [new file with mode: 0644]
tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/api/DataObjectConverter.java [new file with mode: 0644]
tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContext.java [new file with mode: 0644]
tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContextImpl.java [new file with mode: 0644]
tests/honeynode/honeynode-distribution/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/honeynode-distribution/pom.xml [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/pom.xml [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/pm/types/rev161014/PmDataTypeBuilder.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/iana-afn-safi@2013-07-04.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/ietf-netconf@2011-06-01.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-common-types@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-common-types@2017-09-29.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-device@2017-02-06.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-equipment-states-types.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-ethernet-interfaces.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-interfaces.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-layerRate@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-lldp.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance-loopback.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance-testsignal.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-optical-channel-interfaces.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-optical-multiplex-interfaces.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-optical-transport-interfaces.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-otn-odu-interfaces@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-otn-otu-interfaces@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-physical-types.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-pm-types@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-pm@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-port-types@2017-09-29.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-resource-types@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-resource@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-swdl.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-user-mgmt.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-wavelength-map@2016-10-14.yang [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/pom.xml [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceBindingDataBrokerProvider.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceConfiguration.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceConfigurationModule.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceModule.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceReaderModule.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceRpcModule.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceWriterModule.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DeviceReaderFactory.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/rpcs/ConnectionPortTrailService.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultDeviceFactory.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceWriterFactory.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/NamespaceTrimmer.xslt [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/OperToConfig.xsl [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/config.xsl [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreateDeviceFromXMLFileTest.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DeviceOperToConfig.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DirectoryWatchTest.java [new file with mode: 0644]
tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/RestAPICallsTest.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/pom.xml [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/InitializationException.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationConfig.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModuleProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModules.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/CfgAttrsModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/HoneycombConfiguration.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/BindingDataBrokerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ConfigAndOperationalPipelineModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DOMNotificationServiceProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataStoreProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataTreeProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombBindingDataBrokerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMBrokerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMDataBrokerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMRpcServiceProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombNotificationManagerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/InmemoryDOMDataBrokerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ModifiableDTDelegProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistedConfigInitializerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistingDataTreeProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryBuilderProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/config/WriterRegistryProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ContextPipelineModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/HoneycombContextDOMDataBrokerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ModifiableDTMgrProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/RealtimeMappingContextProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReadableDTDelegProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReaderRegistryProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/DeviceChangeListener.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerPipelineModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapter.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapterProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/ModifiableDTDelegInitProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ModuleInfoBackedCtxProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaServiceProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangBindingProviderModule.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModuleMappingIndex.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModulesProvider.java [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/activation.json [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/logback.xml [new file with mode: 0644]
tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce [new file with mode: 0755]
tests/honeynode/minimal-distribution/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/minimal-distribution/pom.xml [new file with mode: 0644]
tests/honeynode/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/Main.java [new file with mode: 0644]
tests/honeynode/netconf/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/netconf/pom.xml [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/HoneycombNotification2NetconfProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfBindingBrokerProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfConfigurationModule.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMdsalMapperProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringMapperProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringReaderFactoryProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringServiceProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationMapperProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationsReaderFactoryProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfReadersModule.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfServerDispatcherProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfSshServerProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfTcpServerProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NettyThreadGroupProvider.java [new file with mode: 0644]
tests/honeynode/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml [new file with mode: 0644]
tests/honeynode/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf.json [new file with mode: 0644]
tests/honeynode/pom.xml [new file with mode: 0644]
tests/honeynode/restconf/asciidoc/Readme.adoc [new file with mode: 0644]
tests/honeynode/restconf/pom.xml [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpConnectorProvider.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerProvider.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfigurationModule.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfProvider.java [new file with mode: 0644]
tests/honeynode/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml [new file with mode: 0644]
tests/honeynode/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf.json [new file with mode: 0644]
tests/sample_configs/ord_2.1/oper-ROADMA.xml [new file with mode: 0644]
tests/sample_configs/ord_2.1/oper-ROADMC.xml [new file with mode: 0644]
tests/sample_configs/ord_2.1/oper-XPDRA.xml [new file with mode: 0644]
tests/sample_configs/ord_2.1/oper-XPDRC.xml [new file with mode: 0644]