Several modifications: 82/18182/1
authorGao Kai <gaok12@mails.tsinghua.edu.cn>
Mon, 13 Apr 2015 09:13:42 +0000 (17:13 +0800)
committerGao Kai <gaok12@mails.tsinghua.edu.cn>
Mon, 13 Apr 2015 09:21:43 +0000 (17:21 +0800)
commit5f01b538c5028e48d8b2ac090b245fb10a58dce6
tree160611ec9eef3025ecf5aed8310f9b2a8daefe67
parent9060480499c16daeaffac75446660c5028a1daf2
Several modifications:

- Provide a wrapper to help resolve name conflicts
- Decouple the northbound and the MD-SAL

Next target:

- Provide convertors between RFC7285 types and MD-SAL types
- Test northbound with FakeAltoService
- Implement getXXX() for the real AltoServiceProvider for static data
  loaded from CLI

NOTICE:

The change made in commit ff3c92bc85ef7e8ea199928f51ff2a1b486c0cc0 is
temporarily ignored because it slows down the local building process.
MUST apply the change again before the final release.

Change-Id: Iff860e409d1247fd71091e8574771a0e801c9353
Signed-off-by: Gao Kai <gaok12@mails.tsinghua.edu.cn>
46 files changed:
.gitignore
alto-artifacts/pom.xml [deleted file]
alto-commons/pom.xml
alto-commons/src/main/java/org/opendaylight/alto/commons/types/convertor/Model2RFCConvertor.java [new file with mode: 0644]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/convertor/RFC2ModelConvertor.java [new file with mode: 0644]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/mapper/AltoYangMapper.java [deleted file]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/model150404/JSONMapper.java [new file with mode: 0644]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/model150404/MediaType.java [moved from alto-commons/src/main/java/org/opendaylight/alto/commons/types/alto/model/rev150404/MediaType.java with 100% similarity]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/model150404/ModelType.java [new file with mode: 0644]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/AltoNetworkMap.java [deleted file]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/CostType.java
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/Endpoint.java
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/FormatValidator.java
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/JSONMapper.java [moved from alto-commons/src/main/java/org/opendaylight/alto/commons/types/mapper/JSONMapper.java with 65% similarity]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/NetworkMap.java [new file with mode: 0644]
alto-commons/src/main/java/org/opendaylight/alto/commons/types/rfc7285/RFC7285Type.java [new file with mode: 0644]
alto-karaf/pom.xml [deleted file]
alto-model/pom.xml
alto-northbound/pom.xml
alto-northbound/src/main/java/org/opendaylight/alto/northbound/AltoNorthbound.java
alto-northbound/src/main/java/org/opendaylight/alto/northbound/exception/AltoBadFormatException.java [new file with mode: 0644]
alto-northbound/src/main/java/org/opendaylight/alto/northbound/exception/AltoBasicException.java [new file with mode: 0644]
alto-northbound/src/main/java/org/opendaylight/alto/northbound/exception/AltoNorthboundExceptionHandler.java [new file with mode: 0644]
alto-provider/pom.xml
alto-provider/src/main/java/org/opendaylight/alto/provider/AltoProvider.java
alto-provider/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/alto/provider/impl/rev141119/modules/module/state/AltoProviderImpl.java
alto-provider/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/alto/provider/impl/rev141119/modules/module/state/AltoProviderImplBuilder.java
alto-provider/src/main/yang/alto-provider-impl.yang
alto-services/api/pom.xml [new file with mode: 0644]
alto-services/api/rfc7285/pom.xml [moved from alto-services/pom.xml with 69% similarity]
alto-services/api/rfc7285/src/main/java/org/opendaylight/alto/services/api/rfc7285/AltoService.java [new file with mode: 0644]
alto-services/api/rfc7285/src/main/java/org/opendaylight/alto/services/api/rfc7285/CostMapService.java [new file with mode: 0644]
alto-services/api/rfc7285/src/main/java/org/opendaylight/alto/services/api/rfc7285/EndpointCostService.java [new file with mode: 0644]
alto-services/api/rfc7285/src/main/java/org/opendaylight/alto/services/api/rfc7285/EndpointPropertyService.java [new file with mode: 0644]
alto-services/api/rfc7285/src/main/java/org/opendaylight/alto/services/api/rfc7285/IRDService.java [new file with mode: 0644]
alto-services/api/rfc7285/src/main/java/org/opendaylight/alto/services/api/rfc7285/NetworkMapService.java [new file with mode: 0644]
alto-services/ext/fake/pom.xml [new file with mode: 0644]
alto-services/ext/fake/src/main/java/org/opendaylight/alto/services/ext/fake/FakeAltoService.java [new file with mode: 0644]
alto-services/ext/fs-map/pom.xml [new file with mode: 0644]
alto-services/ext/fs-map/src/main/java/org/opendaylight/alto/services/ext/fsmap/FileSystemNetworkMapGenerator.java [new file with mode: 0644]
alto-services/ext/pom.xml [new file with mode: 0644]
alto-services/provider/pom.xml [new file with mode: 0644]
alto-services/src/main/java/org/opendaylight/alto/services/AltoService.java [deleted file]
features/pom.xml
features/src/main/resources/features.xml
pom.xml