Unable to get Container list using AD-SAL in Helium SR1

asked 2014-12-26 02:18:39 -0700

bsvTag gravatar image

updated 2015-01-08 02:42:04 -0700

Hi, I'm trying to get all containers in the system using ContainerManagerNorthbound GET /containers API. On hydrogen there was no problem, but in helium I've got 404 error. Here is the list of installed features, related to AD-SAL:

odl-adsal-all                  | 0.8.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight AD-SAL All Features                  
odl-adsal-core                 | 0.8.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Core                    
odl-adsal-networkconfiguration | 0.0.4-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Network Configuration   
odl-adsal-connection           | 0.1.3-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Connection              
odl-adsal-clustering           | 0.5.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Clustering              
odl-adsal-configuration        | 0.4.4-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Configuration           
odl-adsal-thirdparty           | 0.8.2-Helium-SR1 | x | adsal-0.8.2-Helium-SR1 | OpenDaylight :: AD-SAL :: Third-Party Depenencies 
odl-adsal-northbound           | 0.4.3-Helium-SR1 | x | nsf-0.4.3-Helium-SR1   | OpenDaylight :: AD-SAL :: Northbound APIs

I've looked to web endpoints, and found out, that containermanager web endpoint is missing:

| /controller/nb/v2/connectionmanager          | connectionmanager.northbound (0.1.3.Helium-SR1)         
| /controller/nb/v2/flowprogrammer             | flowprogrammer.northbound (0.4.3.Helium-SR1)            
| /controller/nb/v2/hosttracker                | hosttracker.northbound (0.4.3.Helium-SR1)               
| /controller/nb/v2/networkconfig/bridgedomain | networkconfig.bridgedomain.northbound (0.0.4.Helium-SR1)
| /controller/nb/v2/neutron                    | networkconfig.neutron.northbound (0.4.3.Helium-SR1)     
| /controller/nb/v2/staticroute                | forwarding.staticrouting.northbound (0.4.3.Helium-SR1)  
| /controller/nb/v2/statistics                 | statistics.northbound (0.4.3.Helium-SR1)                
| /controller/nb/v2/subnetservice              | subnets.northbound (0.4.3.Helium-SR1)                   
| /controller/nb/v2/switchmanager              | switchmanager.northbound (0.4.3.Helium-SR1)             
| /controller/nb/v2/topology                   | topology.northbound (0.4.3.Helium-SR1)                  
| /controller/nb/v2/usermanager                | usermanager.northbound (0.0.3.Helium-SR1)

What feature should I install to helium to enable ContainerManagerNorthbound AD-SAL API?

UPDATE

I dig into the logs and found out that containermanager.northbound bundle is not registered in the system. No logs about skipping, and no exceptions related with containermanager classes. I check ./system directory and found the following jars:

 $ find ./ -type f -name "containermanager*.jar"      
 ./system/org/opendaylight/controller/containermanager/0.5.3-Helium-SR1.1/containermanager-0.5.3-Helium-SR1.1.jar
 ./system/org/opendaylight/controller/containermanager.implementation/0.5.3-Helium-SR1.1/containermanager.implementation-0.5.3-Helium-SR1.1.jar
 ./system/org/opendaylight/controller/containermanager.northbound/0.4.3-Helium-SR1.1/containermanager.northbound-0.4.3-Helium-SR1.1.jar
  ./system/org/opendaylight/controller/containermanager.shell/0.5.3-Helium-SR1.1/containermanager.shell-0.5.3-Helium-SR1.1.jar

So, it looks like it should be deployed normally... But no success.

This API is related with other AD-SAL APIs, like

  • adding user links in topology(/{containerName}/userLink/{name}),
  • adding properties to node connectors using switch API (/controller/nb/v2/switchmanager/{containerName}/nodeconnector/{nodeType}/{nodeId}/{nodeConnectorType}/{nodeConnectorId}/property/{propertyName}/{propertyValue}),
  • other APIs with {containerName} parameter.
edit retag flag offensive close merge delete