module besip { namespace "http://netconfcentral.com/ns/besip"; prefix "besip"; organization "Besip Team"; contact "some name "; description "global besip module"; revision 2011-08-22 { description "besip module in progress"; } container besip { presence "indicate if the service is available"; description "besip module container for all database objects"; container interfaces { presence "indicate if the service is available"; description "static ip addresses for interfaces"; list interface { description "interface konfig"; key ifname; leaf ifname { description "interface name"; type string; config true; mandatory true; } leaf ipaddr { description "ip address"; type string; config true; mandatory true; } leaf netmask { description "netmask"; type string; config true; mandatory true; } leaf gateway { description "default gateway"; type string; config true; mandatory true; } leaf-list dns { description "list of dns servers"; type string; config true; } } } } rpc set-interface { description "set-interface"; input { leaf iname { description "interface name"; type string; } } } notification set-notification { description "set is done"; leaf set-status { description "status"; type enumeration { enum done { description "OK"; } enum error { description "ERROR"; } } } } }