• R/O
  • HTTP
  • SSH
  • HTTPS

ppp-resource-agents: Repository summary


Recent Commits RSS

Rev. Time Author Message
e4f6f75 2019-07-02 15:01:31 Tatsuki Sugiura debian debian/0.2.0-1 Change target dist to stretch.
cf6e14c 2019-07-02 14:46:12 Tatsuki Sugiura Bump debian version.
b398185 2019-07-02 14:42:01 Tatsuki Sugiura Merge branch 'master' into debian
62d6524 2019-07-02 14:40:14 Tatsuki Sugiura master v0.2 v0.2.0 Update version to 0.2.
3a12dc5 2019-07-02 14:32:44 Tatsuki Sugiura Stop checking IP address on start to avoid fatal error.
e66f7e4 2019-04-23 11:32:23 Tatsuki Sugiura Update README.
51c9120 2018-02-21 05:01:32 Tatsuki Sugiura Tiny tune in sample setting.
88545fc 2017-08-30 18:01:43 Tatsuki Sugiura debian/0.1.1-1 Add git-buildpackage config.
08180b3 2017-08-30 18:01:34 Tatsuki Sugiura Update debian version.
a075c48 2017-08-30 18:00:15 Tatsuki Sugiura Merge branch 'master' into debian

Recently edited Tags

Name Rev. Time Author
debian/0.2.0-1 e4f6f75 2019-07-02 15:33:36 Tatsuki Sugiura
v0.2 62d6524 2019-07-02 14:40:14 Tatsuki Sugiura
v0.2.0 62d6524 2019-07-02 14:40:14 Tatsuki Sugiura
debian/0.1.1-1 88545fc 2017-08-30 18:02:44 Tatsuki Sugiura
v0.1.1 97cb62f 2017-08-30 17:58:05 Tatsuki Sugiura
debian/0.1-1 9d6b04d 2017-08-30 17:24:40 Tatsuki Sugiura
v0.1 db0fc97 2017-08-30 16:42:09 Tatsuki Sugiura

Branches

Name Rev. Time Author Message
debian e4f6f75 2019-07-02 15:01:31 Tatsuki Sugiura Change target dist to stret...
master 62d6524 2019-07-02 14:40:14 Tatsuki Sugiura Update version to 0.2.

README.md

OCF Resource agent of PPP Connection

Example

Here is an example that connect dsl-provider

primitive ppp-myisp PPPConnection \
        params isp=dsl-provider \
        op monitor interval=30 timeout=10 on-fail=restart \
        op start timeout=60 interval=0 on-fail=restart \
        op stop timeout=60 interval=0 \
    meta failure-timeout=300

Option parameters

  • isp - ISP name to connect. This will be passed to pon/poff, and pppd will be monitored with specified isp. Default is provider.
  • expected_ip4 - Expected IPv4 address for the ppp connection. If you specify this parameter, startup and monitor proecesses will wait the address associated with ppp interface.
  • expected_ip6 - Expected IPv6 local address (same as v4).
  • ip_wait_sec - Resource will wait specified seconds for ppp interface aquires expected IP address provided by expected_ip4 or expected_ip6. Default is 30.
  • pon_retries - Retry limit for pon. Default is 30.
  • pon_wait_sec - Resource will wait specified seconds for ppp connection up. When it's exceeded, retry to run pon.
  • poff_wait_sec - Resource will wait specified seconds for ppp connection down. When it's exceeded, retry to run poff.

License/Copyright

This script has been distributed under GNU General Public License version 2 (GPL2).

Copyright (c) 2017 Tatsuki Sugiura sugi@nemui.org and OSDN Corporation tech@osdn.jp.

Show on old repository browser