Initial commit
GIM implementation and APC PDU driver as delivered by TSSG.

The current driver is configured for the PDU in Dublin and works fine here,
reporting Current, Voltage, Power and Energy at the PDU level.
It also turns on and off the specified outlet and reports its status.
This has been validated against the values/statuses reported through the PDUs web front-end.

Please note though that the PDU does not seem to support outlet-level reporting of current, power, etc.
This would need to be taken into consideration if reporting the metrics for an individual router/device.
Put the driver in a maven project shape.

- Created pom.xml with snmp4j dependency.
- Moved all code to src/main/java folder
- Moved Test.java to src/test/java folder

Added .gitignore file.
Create PDU resource.

New resource type is "pdu".
Skeleton taken from sampleresource.
Organize in packages.
Create IPowerDelivery and IPowerSupply.

Make PowerSupplyResource implement IPowerSupply.
Make PDUPort implement IPowerDelivery.
Upgrade to version 3 of the driver delivered by TSSG.
Merge branch 'feature/upgrade' into integration

Conflicts:
	src/GIM/PowerDeliveryResource.java

Conflicts solved.
Transform Test into a Junit test.
Transform model to work without targetOutletIndex being known for the router.
Separate GIM model and controllers.

Model classes have no logic. They are just beans implementing gim/core interfaces.
An Exception is the PDU, which implements IPowerDelivery not by its own, but together with PDUPorts.

Controllers implement desired capabilities in src/main/java/controller/capabilities/ folder.

APCDriverTest has been updated to test the new project shape.
It may work as a demonstrator of how to initialize model and controllers properly.
Move snmp drivers into controllers package.
Merge pull request #1 from dana-i2cat/feature/separate-model-controllers

Feature/separate model controllers
Moved project to extensions/bundles/gim folder.
Merge branch 'feature/gim-code-integration' into feature/pdu-support

Conflicts:
	.gitignore

Conflicts solved.
Add gim to opennaas extensions.
Rename GIM packages to match bundle name.
Created Quantum extension bundle with quantum-api WADL and sample XML
and JSON files. Java source code generated for REST API with
cxf-wadl2java-plugin.
Implement PDU resource capabilities.

They use GIModel model and controllers.
Quantum model created based on Python classes located in
https://github.com/openstack/quantum/blob/stable/grizzly/quantum/db/models_v2.py