This file is indexed.

/usr/share/yuma/modules/yuma123/netconfd-ex.yang is in libyuma-base 2.10-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
module netconfd-ex {

  namespace
    "http://yuma123.org/ns/netconfd-ex";

  prefix "netconfd-ex";

  import netconfd { prefix netconfd; }

  import yuma-types { prefix nt; }

  import ietf-inet-types { prefix inet; }

  organization
    "Yuma123";

  contact
    "Vladimir Vassilev <mailto:vladimir@transpacket.com>";

  description
    "This module contains extra parameters for netconfd";

  revision 2017-05-09 {
    description
      "Added validate-config-only CLI parameter.";
  }

  revision 2016-08-08 {
    description
      "Fixed spelling errors.";
  }

  revision 2016-08-02 {
    description
      "Restored max-sessions";
  }

  revision 2016-07-31 {
    description
      "Initial revision. Integrates all yuma123 introduced changes
       to netconfd.yang as augments and restored it to the original
       netconfcentral 2012-10-05 version";
  }

  augment "/netconfd:netconfd" {
    description
      "Adds extra parameters to netconfd.";
     leaf ncxserver-sockname {
       description
         "Overrides the default /tmp/ncxserver.sock UNIX
          socket name netconfd listens on for incoming connections.
          You have to add corresponding entry to /etc/ssh/sshd_config e.g.:
          ...
          Port 1830
          Subsystem netconf \"/usr/sbin/netconf-subsystem \\
          --ncxserver-sockname=/tmp/ncxserver1.sock\"
          ...";
       type string;
     }

     leaf tcp-direct-address {
       description
         "The server will use this local TCP address to listen for
          incoming connections instead of the default
          /tmp/ncxserver.sock UNIX socket. By default if only
          tcp-direct-port is specified the addressed used is
          localhost.";

       type inet:host;
     }

     leaf tcp-direct-port {
       description
         "The server will use this local TCP port to listen for
          incoming connections instead of the default
          /tmp/ncxserver.sock UNIX socket. tcp-direct-address controls
          the server bind address.";

        type inet:port-number;
     }

     leaf non-advertised-module {
       description
         "Specifying a module as non advertised excludes it from the
          capabilities list in the <hello> message. For example taking
          out the RPCs defined in a given module from the list of
          available commands in a cli.";

       type nt:NcModuleSpec;
     }

     leaf max-sessions {
       description
         "Specifies the maximum number of sessions
          that can be accepted.";
       type uint32;
       default 1024;
     }

     leaf validate-config-only {
       description
         "When present netconfd returns immediately after initialization
          and startup configuration validation is complete without opening
          socket and waiting for incoming NETCONF sessions. Enables use
          of netconfd as command line configuration validator.";
       type empty;
     }
  }
}