Yenca Manager

Help
2009-07-28
2014-06-04
  • Behnaz Shirazi

    Behnaz Shirazi - 2009-07-28

    Hi,
    I have already installed Yenca Agent and Yenca Manager with 2 module available: Interface and routing. With linux part I am ok and I can work with the software and apply the changes. My question is how can I apply configuration changes in Cisco routers? Is Yenca dedicated only for Linux servers or Yenca manager can connect to routers?
    I appreciate your help
    -Behnaz

     
    • Network research

      Hi,
      YencaP Manager can connect any NETCONF devices. You can write configuration change in the "Edit-Configuration" menu on the left.
      Regards

       
  • Mirko Castellucci

    Hi,
    how can  I launch YencaP Manager? If I understand it shouldn't be only a daemon, but interactive too. How can I start it interactive?
    Best Regards

     
  • kamil

    kamil - 2010-01-09

    Hi,
    I have the same question like mcastellucci. Is it any tutorial to YencaP Manager how to use it (to configure, to manage ….)?

     
  • Mirko Castellucci

    Hi..in these month I understand that to launch the manager, you have to open a browser (i.e. firefox) and go to https://127.0.0.1:8888 (or host:port you have chosen in your config file).
    I discover that it interacts with quagga (in particular with RIP and BGP due to specific modules).
    But I didn't find the way to customize it..(I studied it for a thesis)..because totally ignore python language.

    Now I'm trying  to customize Yenca (the C version)

     
  • liu zeroun

    liu zeroun - 2010-12-08

    Hi,
    when I open a browser (i.e. firefox) and go to https://127.0.0.1:8888, yencap-manager throw out exception like this:
    Exception happened during processing of request from ('127.0.0.1', 39820)
    Traceback (most recent call last):
      File "/usr/lib/python2.5/SocketServer.py", line 222, in handle_request
        self.process_request(request, client_address)
      File "/usr/lib/python2.5/SocketServer.py", line 241, in process_request
        self.finish_request(request, client_address)
      File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
        self.handle()
      File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
        self.handle_one_request()
      File "/usr/lib/python2.5/BaseHTTPServer.py", line 299, in handle_one_request
        self.raw_requestline = self.rfile.readline()
      File "/usr/lib/python2.5/socket.py", line 346, in readline
        data = self._sock.recv(self._rbufsize)
    Error:

    and like this:

    Exception in thread Thread-1:
    Traceback (most recent call last):
      File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
        self.run()
      File "/usr/local/ensuite/yencap-manager/DeviceStatusManager.py", line 18, in run
        agent.refreshStatus()
      File "/usr/local/ensuite/yencap-manager/Agent.py", line 78, in refreshStatus
        self.status = self.ping()
      File "/usr/local/ensuite/yencap-manager/Agent.py", line 84, in ping
        res = Pinger().ping().results
      File "/usr/local/ensuite/yencap-manager/ping.py", line 127, in ping
        self.sendPings()
      File "/usr/local/ensuite/yencap-manager/ping.py", line 114, in sendPings
        self.soc.sendto(packet,(dest,1)) # Don't know about the 1
    error: (13, 'Permission denied')


    can you help me? Best Regards.

     
  • Network research

    Hi,
    did you you launch Yencap Manager with root privileges ?
    If not this should be the case in order to work well.

     
  • liu zeroun

    liu zeroun - 2010-12-09

    Thank you.
    Yes, I did it with root privilege.
    I use fedora core 10, Is that ok?
    And I installed YencaP agent, When I started it with this command: "/etc/init.d/yencap start", It said,"Starting yencap…start-stop-daemon:command not found" .So, I used this command "netconfd" instead.  Do you know why?
    Regards.

     
  • liu zeroun

    liu zeroun - 2010-12-11

    I am sorry for the mistake I made on floor 6. I typed http://127.0.0.1:8888 but not https, so threw out that Excetion.
    However, when I typed https://127.0.0.1:8888, it threw out excetion like this
    Exception happened during processing of request from ('127.0.0.1', 41902)
    Traceback (most recent call last):
      File "/usr/lib/python2.5/SocketServer.py", line 222, in handle_request
        self.process_request(request, client_address)
      File "/usr/lib/python2.5/SocketServer.py", line 241, in process_request
        self.finish_request(request, client_address)
      File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
        self.handle()
      File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
        self.handle_one_request()
      File "/usr/lib/python2.5/BaseHTTPServer.py", line 299, in handle_one_request
        self.raw_requestline = self.rfile.readline()
      File "/usr/lib/python2.5/socket.py", line 346, in readline
        data = self._sock.recv(self._rbufsize)
    Error:

    Is the certificate have something wrong?
    Thanks

     
  • Network research

    Hello,

    I don't use fedora but ubuntu. Maybe there is something wrong in the config. Did you test with : service netconfd start (I'm not sure service is available with fedora).
    But I'll install a fedora and test it.
    For the SSL message, it seems to be a key/certificat problem. With ENSUITE you have a key between manager and yencap device and a key between manager and web client.
    I'm working on the manager and will provide a new release during january, with YANG support
    regards
    Emmanuel

     
  • liu zeroun

    liu zeroun - 2010-12-17

    Thanks.

     
  • Pauline

    Pauline - 2014-06-04

    Hi,
    I have installed YencaP Manager (version 3) on a Fedora VM but I can't access the web interface at all. I'm trying to access the web server using Firefox directly in the virtual machine, with address https://127.0.0.1:8888
    It seems that it's trying to connect to the web server for a pretty long time but never succeeds.
    Is it normal that YencaP Manager does not contain any html or php file? I am a bit confused...

    Thanks in advance for your help,

    Pauline

     
    Last edit: Pauline 2014-07-03

Log in to post a comment.