2017 © Pedro Peláez
 

library junosnetconf

A Juniper NETCONF XML Management Protocol implementation in PHP

image

lamoni/junosnetconf

A Juniper NETCONF XML Management Protocol implementation in PHP

  • Friday, October 20, 2017
  • by lamoni
  • Repository
  • 2 Watchers
  • 5 Stars
  • 87 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Junos NETCONF XML Management Protocol

This is a Junos-specific NETCONF implementation. It attempts to adhere to Juniper's proprietary NETCONF extension (http://www.juniper.net/techpubs/en_US/junos14.2/information-products/pathway-pages/netconf-guide/netconf.html), (*1)

Dependencies

  • PHP >= 5.4
  • phpseclib/phpseclib (https://github.com/phpseclib/phpseclib)
  • lamoni/netconf (https://github.com/lamoni/netconf)

Considerations

  • Implement force-synchronize for calls?
  • Implement the more obscure capabilities of Junos XML ?

Examples

Initializing JunosNetConf and then executing an operational command

$junos = new JunosNetConf(
    "192.168.0.100",
    new NetConfAuthPassword(
        [
            "username" => "lamoni",
            "password" => "phpsux"
        ]
    )
);

echo $junos->operationalCommandText('show interfaces terse');

Committing set-format configuration changes

$config = Array('set interfaces ge-0/0/0 unit 0 description "test"');
$junos->loadConfigurationSet($config);
$junos->commitConfiguration();

The Versions

20/10 2017

dev-master

9999999-dev https://github.com/lamoni/junosnetconf

A Juniper NETCONF XML Management Protocol implementation in PHP

  Sources   Download

MIT

The Requires

 

by Lamoni Finlayson

php junos juniper netconf

20/10 2017

v1.0.1

1.0.1.0 https://github.com/lamoni/junosnetconf

A Juniper NETCONF XML Management Protocol implementation in PHP

  Sources   Download

MIT

The Requires

 

by Lamoni Finlayson

php junos juniper netconf

26/02 2015

v1.0.0

1.0.0.0 https://github.com/lamoni/junosnetconf

A Juniper NETCONF XML Management Protocol implementation in PHP

  Sources   Download

MIT

The Requires

 

by Lamoni Finlayson

php junos juniper netconf