Move adsal into its own subdirectory. Moved various adsal components into an opendaylight/adsal subdir, gave it a parent pom, and changed the root parent pom to have the opendaylight/adsal as a module. Change-Id: I1d0e5a7b2a50c65559c2f80dd47cab491b68d561 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Incrementing versions by 0.1.0 for post-Helium master branch * The only version not incrmented is aaa.version, which is left at 0.1.0-SNAPSHOT since they depend on controller and can't update yet. * To break the cyclic dependency, this patch temporarily stops running the netconf-connector and restconf feature tests. * Also fixing a bug causing Errors like "Choice has two nodes case with same qnames". A second patch (to be run after AAA increments their versions to 0.2.0-SNAPSHOT) wiil update aaa.version and re-enable these tests. Change-Id: I70a3987d32504e798c5ed05a67a0a1174338844b Signed-off-by: Colin Dixon <colin@colindixon.com> Signed-off-by: Robert Varga <rovarga@cisco.com>
Unify maven-bundle-plugin version at 2.4.0 This removes superfluous version declarations, fixing about 70 eclipse warnings. At the same time it bumps the version 2.4.0, to unify it -- we were using both 2.3.7 and 2.4.0 at the same time. Change-Id: I0f3f6b68c5c05cb9cc226f75b4eb4dab7d58651d Signed-off-by: Robert Varga <rovarga@cisco.com>
Adding auto-sorting plugin to all Controller via parent/pom.xml leveraging google's sortpom plugin, all controller poms are sorted at build time as per the opendaylight/commons/parent/pom.xml configuration. Sorted lists of properties, dependencies, and plugins will increase pom readability and help prevent duplicate entry errors. This first submission is huge as I changed one pom.xml and all are then sorted. Only if the sortpom plugin is reconfigured will all pom's again be changed. Note that if any pom.xml is pushed without having been through a build ... folks are going to see pom.xml files showup as modified unintentionally. Change-Id: I8553f38b9f0e5f6d27177ad6b9b9c35a4b43d55a Signed-off-by: jameshall03885 <ghall@brocade.com>
Unify jacoco versions to 0.6.2.201302030002 This cleans up previously unused pluginManagement sections and bumps jacoco version 0.6.2.201302030002 (previously used by config subsys). Change-Id: I027b219e7fd0225fe2ef12cbdcc1f7d47509e993 Signed-off-by: Robert Varga <rovarga@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Apply configs' name convention to authorization roles and resource groups - Also include Switch config Change-Id: If84199a1db6e1fc35c02c4b92493f99aeb8d8af8 Signed-off-by: Alessandro Boch <aboch@cisco.com>
Migrate bundles' configuration mgmt to ConfigurationService - Change current logic where read/save config is completely managed by each bundle, with moving it to configuration manager. This decoupling will allow configuration manager to decide how to persist the bundles' configurations to disk, withouth necessarely depend on java serialization as today controlelr does. Also now file names can be static and each bundle does not need to track the container context in the file name (which was lame). This allow controller to erase container startup files on container removal, which was not possible today. - Global and in container configuration services to expose two APIs for the other bundles to retrieve and save their config - Per container startup files organized in directories (directory name = container name) - Container startup directory removed on container removal, and created on container creation if not present Change-Id: I58c283eb796cf2a60466a97162428a8c2ae478ae Signed-off-by: Alessandro Boch <aboch@cisco.com>
Provide single point for enforcing config naming convention - Provide generic ConfigurationObject class which other will extend - Class provides method for validate string based on default private regex - Regex enforces 1 to 256 alphanumeric chars with addition of -+/*.()[]@ - Default regex can be overwritten with one set in config.ini - Have configs which need name validation to extend new class. Change is bacward compatible, existing config file are correctly deserialized Change-Id: I17714fc6b0462fc2a85e9a6d8f44fd7f0bbda188 Signed-off-by: Alessandro Boch <aboch@cisco.com>
Optimization - calculate the subnet prefix only once. Before this change, subnet prefix was calculated on every 'isSubnetOf' call. Since the prefix is not changing unless the subnet address itself changed, it's sufficient to do it only once and keep it as part of the Subnet object. Marked it as transient so it will not be serialized - it can be calculated from the rest of the info of Subnet anytime after deserialization. Change-Id: Ie16bf80713820b566864bea0ff46298c93cc2d47 Signed-off-by: Alissa Bonas <abonas@redhat.com>
Migrate all artifact versions to dependencyManagement - Migrate all the artifacts to use dependencyManagement to centralize the version changes in controller and make sure the dry-run for release could actually rewrite those. Change-Id: I510e4f15d6d75ec52d49835600338fa069a5a4f6 Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Update to new version of ADSAL components and its dependencies proposed by jenkins-controller-version-changes-8 By splitting the effort into 2 phases, it is more managable and easy to test. After this commit, the ADSAL components and all the NSFs are uptodate with the dependency convergence. Signed-off-by: Madhu Venugopal <mavenugo@gmail.com> Change-Id: Ia8f0a0d2959f8f6ea61babe9c3f826d0950dcaf5
Update SubnetConfig Validation -SubnetConfig now validates that the address does not begin with 0 or 255 -Validates that host address is not set to all zeros or ones -Caught exception when subnet not set to number Change-Id: I825e2d54b48b7f74e35cfde8dc7e5967dac11684 Signed-off-by: Katelyn Kasperowicz <kkaspero@cisco.com>