Convert gdp-router-click2 to gdp-router-click. Remove Makefile support
for the legacy version.
Some Makefile cleanup --- no need to keep the commands being executed
This router commit (gdp-router-click2 major version 2) is incompatible with prior router releases (gdp-router-click2 major version 1), due to removal of the GDP_VERSION (0x84 in version field) used by the deprecated Net3 overlay header. Do not deploy version 2 and version 1 routers in the same network. Note that single router mode deployments (no mixture of router versions), rib, and clients are not impacted by this commit, which only impacts inter-router messaging.
Revise version filename to reduce git add noise during developer workflow.
Changed build default to gdp-router-click2. Revised build versioning scheme to include autogenerated git branch and hash with manually updated major version value.
Updated install-gdp-router-click2 make target based on newly revised
router configuration parameters. Fix Linux host installation
dependencies (common script and llogger binary) by restoring
GDP Router library reduction by duplicating a little libgdp and libep C code.
Eliminate libmariadb-dev-compat dependency
Move all build dependancies from external location to co-located .gitignored build/ directory within repo, to avoid colliding with parent directory elements.
Insert default peer when not single router mode and no configured peers. Revise dns query error handling. Handle uninitialized router calling cleanup properly.
Introduces a new automation-friendly router configuration syntax design and implementation, and simultaneously removes support for the day 0 development syntax which has served its purpose. (meaning: router config compatibility boundary)
Switch from git:// to https:// repo pull, as former is currently not successful, and add Click -fno-strict-aliasing option in response to updated compiler's warnings.
Finish fragment reassembly pool migration to list of dtls p chains, and temporarily promote some reassembly diagnostics to ccinfo to monitor tuning efforts in deployed routers.
Revert temporary mkdir_gdp change, and revise build so llogger is prebuilt with the configure_level2 stage to isolate it from checklevel
Debian package checkinstall procedure cannot build file list, if sudo ./package.sh encounters sudo in Makefile or subsidiary shell scripts.
Introduce install-gdp-router-click2 build target, and supporting adm files (templates and setup-gdp-router-click2.sh)
Adjust early heartbeat, which appears to be too aggressive now that routers begin with a directory flush. Also, improve Makefile target protections per configured workspace.
Add systemd notify
Makefile *2 phony targets
Make the target gdp-router-click2
Revert to hardlinks and instead force hardlink replacement to compensate for git pull activity in source tree.
Use soft-links for easier git pull, build cycles
Ensure installation of gdp pre-requisites
remove obsolete click_git target
gdp branching requires adm/install-gdp-router-click.sh fix (Thanks Nitesh!)
Automate gdp dependancy for gdpr target.
Automate gdp net3 branch selection, dependancies, and build for gdp-router-click target; revise gdp-router-click build to include gdp headers from build workspace rather than host-installed; add reinstall target for stopping existing services, installing binary, then restarting services; remove obsolete install script check; tighten gdp-router-click permissions.
use gdp headers from build rather than installed headers; gdplogd issued an ECONNRESET thus time to fill out handling.
convert net3 gdp-router-click from dynamic to static bindings for gdp and ep libraries, to be compiled with gdp branch net3-legacy (not master which is net4 now).
switch libgdp and libep to static linking
gdp v4 router, which is aligned with interim net4 libgdp. Todos include tx/rx quantum limits and restoration of dtls heartbeats for udp down detection, and a few other minor items to be done in the near future.
tweak variable name in Makefile
minor improvement in multi-project dependencies
Separate gdp-to-click source file link construction from build dependence.
revised gdp_router_click Makefile to support two mutually-exclusive workflows (default userlevel target and alternate linuxmodule target)
Reworked install script and makefile to add development workspace
option (-w) and consolidate overlapping responsibilities.
Another small glitch (need -lep).
Rationalize naming of installed binaries.
Add "rebuild" make target to speed up development; avoids building click
Now need to include libgdp to get utility routines.
Click source is in ../click, not click.
Updated README with instructions for deb package
.deb package, auto-detection for existing network
To create a debian package, use
GDP router is now an upstart service. Put machine specific
configuration in /etc/gdp_router_click/router.config and use
$ sudo service gdp-router-click start...