No links between optical and packet planes on Onos Web GUI










0














I am trying to do a packet optical example.



I've installed ONOS with Bazel, Mininet from the Walkthrough tutorial (Option 1), cloned linc-oe and LINC-config-generator within the home directory on the mininet vm.
I also have installed erlang from the source page: http://erlang.org/download/otp_src_R16B03.tar.gz



I first run the following commands within a terminal on the mininet vm:




cd ~/linc-oe rel/linc/bin/linc console




Everything works fine.
The I run within another terminal on the mininet vm:




sudo -E python onos/tools/test/topos/opticalTest.py 10.31.1.124




which gives me the following output:




mininet@mininet-vm:~$ sudo -E python
onos/tools/test/topos/opticalTest.py 10.31.1.124
* Creating network
Adding hosts: h1 h2 h3 h4 h5 h6
Adding switches: ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10 SFO-R10
SFO-W10 SJC-W10
Adding links: (ATL-R10, ATL-S10) (ATL-R10, h6) (CHG-N10, IAD-M10) (CHG-N10, JFK-M10) (CHG-R10, CHG-N10) (CHG-R10, h4) (DFW-M10, IAD-M10)
(IAD-M10, ATL-S10) (JFK-M10, ATL-S10) (JFK-R10, JFK-M10) (JFK-R10,
JFK-M10) (JFK-R10, h5) (LAX-R10, LAX-W10) (LAX-R10, LAX-W10) (LAX-R10,
h2) (LAX-W10, DFW-M10) (LAX-W10, SDG-W10) (MSP-M10, CHG-N10) (MSP-M10,
DFW-M10) (SDG-R10, SDG-W10) (SDG-R10, h3) (SDG-W10, DFW-M10) (SFO-R10,
SFO-W10) (SFO-R10, SFO-W10) (SFO-R10, h1) (SFO-W10, MSP-M10) (SFO-W10,
SJC-W10) (SJC-W10, LAX-W10) (SJC-W10, MSP-M10)
Configuring hosts h1 h2 h3 h4 h5 h6 Connecting to remote controller at 10.31.1.124:6653
Starting controller c0
Starting 16 switches ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10
SFO-R10 SFO-W10 SJC-W10 ...
Writing Topology.json file
Converting Topology.json to linc-oe format (TopoConfig.json) file (no oecfg)
*
Creating sys.config...
***ERROR: Error creating sys.config file: escript: exception error: no match of right hand side value error,enoent in function
config_generator:parse/4 (src/config_generator.erl, line 46) in call
from escript:run/2 (escript.erl, line 747) in call from
escript:start/1 (escript.erl, line 277) in call from init:start_it/1
in call from init:start_em/1



*** Starting CLI: mininet>




16 switches are added to the ONOS Web GUI, but no links between them like in the example on this page: https://wiki.onosproject.org/display/ONOS/Packet+Optical+Tutorial#PacketOpticalTutorial-Resetting



I don't understand the error message.
I've created a sys.config file within ~/linc-oe/rel/files/



Where should the file sys.config be created? Do you know where the problem could be?










share|improve this question


























    0














    I am trying to do a packet optical example.



    I've installed ONOS with Bazel, Mininet from the Walkthrough tutorial (Option 1), cloned linc-oe and LINC-config-generator within the home directory on the mininet vm.
    I also have installed erlang from the source page: http://erlang.org/download/otp_src_R16B03.tar.gz



    I first run the following commands within a terminal on the mininet vm:




    cd ~/linc-oe rel/linc/bin/linc console




    Everything works fine.
    The I run within another terminal on the mininet vm:




    sudo -E python onos/tools/test/topos/opticalTest.py 10.31.1.124




    which gives me the following output:




    mininet@mininet-vm:~$ sudo -E python
    onos/tools/test/topos/opticalTest.py 10.31.1.124
    * Creating network
    Adding hosts: h1 h2 h3 h4 h5 h6
    Adding switches: ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10 SFO-R10
    SFO-W10 SJC-W10
    Adding links: (ATL-R10, ATL-S10) (ATL-R10, h6) (CHG-N10, IAD-M10) (CHG-N10, JFK-M10) (CHG-R10, CHG-N10) (CHG-R10, h4) (DFW-M10, IAD-M10)
    (IAD-M10, ATL-S10) (JFK-M10, ATL-S10) (JFK-R10, JFK-M10) (JFK-R10,
    JFK-M10) (JFK-R10, h5) (LAX-R10, LAX-W10) (LAX-R10, LAX-W10) (LAX-R10,
    h2) (LAX-W10, DFW-M10) (LAX-W10, SDG-W10) (MSP-M10, CHG-N10) (MSP-M10,
    DFW-M10) (SDG-R10, SDG-W10) (SDG-R10, h3) (SDG-W10, DFW-M10) (SFO-R10,
    SFO-W10) (SFO-R10, SFO-W10) (SFO-R10, h1) (SFO-W10, MSP-M10) (SFO-W10,
    SJC-W10) (SJC-W10, LAX-W10) (SJC-W10, MSP-M10)
    Configuring hosts h1 h2 h3 h4 h5 h6 Connecting to remote controller at 10.31.1.124:6653
    Starting controller c0
    Starting 16 switches ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10
    SFO-R10 SFO-W10 SJC-W10 ...
    Writing Topology.json file
    Converting Topology.json to linc-oe format (TopoConfig.json) file (no oecfg)
    *
    Creating sys.config...
    ***ERROR: Error creating sys.config file: escript: exception error: no match of right hand side value error,enoent in function
    config_generator:parse/4 (src/config_generator.erl, line 46) in call
    from escript:run/2 (escript.erl, line 747) in call from
    escript:start/1 (escript.erl, line 277) in call from init:start_it/1
    in call from init:start_em/1



    *** Starting CLI: mininet>




    16 switches are added to the ONOS Web GUI, but no links between them like in the example on this page: https://wiki.onosproject.org/display/ONOS/Packet+Optical+Tutorial#PacketOpticalTutorial-Resetting



    I don't understand the error message.
    I've created a sys.config file within ~/linc-oe/rel/files/



    Where should the file sys.config be created? Do you know where the problem could be?










    share|improve this question
























      0












      0








      0







      I am trying to do a packet optical example.



      I've installed ONOS with Bazel, Mininet from the Walkthrough tutorial (Option 1), cloned linc-oe and LINC-config-generator within the home directory on the mininet vm.
      I also have installed erlang from the source page: http://erlang.org/download/otp_src_R16B03.tar.gz



      I first run the following commands within a terminal on the mininet vm:




      cd ~/linc-oe rel/linc/bin/linc console




      Everything works fine.
      The I run within another terminal on the mininet vm:




      sudo -E python onos/tools/test/topos/opticalTest.py 10.31.1.124




      which gives me the following output:




      mininet@mininet-vm:~$ sudo -E python
      onos/tools/test/topos/opticalTest.py 10.31.1.124
      * Creating network
      Adding hosts: h1 h2 h3 h4 h5 h6
      Adding switches: ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10 SFO-R10
      SFO-W10 SJC-W10
      Adding links: (ATL-R10, ATL-S10) (ATL-R10, h6) (CHG-N10, IAD-M10) (CHG-N10, JFK-M10) (CHG-R10, CHG-N10) (CHG-R10, h4) (DFW-M10, IAD-M10)
      (IAD-M10, ATL-S10) (JFK-M10, ATL-S10) (JFK-R10, JFK-M10) (JFK-R10,
      JFK-M10) (JFK-R10, h5) (LAX-R10, LAX-W10) (LAX-R10, LAX-W10) (LAX-R10,
      h2) (LAX-W10, DFW-M10) (LAX-W10, SDG-W10) (MSP-M10, CHG-N10) (MSP-M10,
      DFW-M10) (SDG-R10, SDG-W10) (SDG-R10, h3) (SDG-W10, DFW-M10) (SFO-R10,
      SFO-W10) (SFO-R10, SFO-W10) (SFO-R10, h1) (SFO-W10, MSP-M10) (SFO-W10,
      SJC-W10) (SJC-W10, LAX-W10) (SJC-W10, MSP-M10)
      Configuring hosts h1 h2 h3 h4 h5 h6 Connecting to remote controller at 10.31.1.124:6653
      Starting controller c0
      Starting 16 switches ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10
      SFO-R10 SFO-W10 SJC-W10 ...
      Writing Topology.json file
      Converting Topology.json to linc-oe format (TopoConfig.json) file (no oecfg)
      *
      Creating sys.config...
      ***ERROR: Error creating sys.config file: escript: exception error: no match of right hand side value error,enoent in function
      config_generator:parse/4 (src/config_generator.erl, line 46) in call
      from escript:run/2 (escript.erl, line 747) in call from
      escript:start/1 (escript.erl, line 277) in call from init:start_it/1
      in call from init:start_em/1



      *** Starting CLI: mininet>




      16 switches are added to the ONOS Web GUI, but no links between them like in the example on this page: https://wiki.onosproject.org/display/ONOS/Packet+Optical+Tutorial#PacketOpticalTutorial-Resetting



      I don't understand the error message.
      I've created a sys.config file within ~/linc-oe/rel/files/



      Where should the file sys.config be created? Do you know where the problem could be?










      share|improve this question













      I am trying to do a packet optical example.



      I've installed ONOS with Bazel, Mininet from the Walkthrough tutorial (Option 1), cloned linc-oe and LINC-config-generator within the home directory on the mininet vm.
      I also have installed erlang from the source page: http://erlang.org/download/otp_src_R16B03.tar.gz



      I first run the following commands within a terminal on the mininet vm:




      cd ~/linc-oe rel/linc/bin/linc console




      Everything works fine.
      The I run within another terminal on the mininet vm:




      sudo -E python onos/tools/test/topos/opticalTest.py 10.31.1.124




      which gives me the following output:




      mininet@mininet-vm:~$ sudo -E python
      onos/tools/test/topos/opticalTest.py 10.31.1.124
      * Creating network
      Adding hosts: h1 h2 h3 h4 h5 h6
      Adding switches: ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10 SFO-R10
      SFO-W10 SJC-W10
      Adding links: (ATL-R10, ATL-S10) (ATL-R10, h6) (CHG-N10, IAD-M10) (CHG-N10, JFK-M10) (CHG-R10, CHG-N10) (CHG-R10, h4) (DFW-M10, IAD-M10)
      (IAD-M10, ATL-S10) (JFK-M10, ATL-S10) (JFK-R10, JFK-M10) (JFK-R10,
      JFK-M10) (JFK-R10, h5) (LAX-R10, LAX-W10) (LAX-R10, LAX-W10) (LAX-R10,
      h2) (LAX-W10, DFW-M10) (LAX-W10, SDG-W10) (MSP-M10, CHG-N10) (MSP-M10,
      DFW-M10) (SDG-R10, SDG-W10) (SDG-R10, h3) (SDG-W10, DFW-M10) (SFO-R10,
      SFO-W10) (SFO-R10, SFO-W10) (SFO-R10, h1) (SFO-W10, MSP-M10) (SFO-W10,
      SJC-W10) (SJC-W10, LAX-W10) (SJC-W10, MSP-M10)
      Configuring hosts h1 h2 h3 h4 h5 h6 Connecting to remote controller at 10.31.1.124:6653
      Starting controller c0
      Starting 16 switches ATL-R10 ATL-S10 CHG-N10 CHG-R10 DFW-M10 IAD-M10 JFK-M10 JFK-R10 LAX-R10 LAX-W10 MSP-M10 SDG-R10 SDG-W10
      SFO-R10 SFO-W10 SJC-W10 ...
      Writing Topology.json file
      Converting Topology.json to linc-oe format (TopoConfig.json) file (no oecfg)
      *
      Creating sys.config...
      ***ERROR: Error creating sys.config file: escript: exception error: no match of right hand side value error,enoent in function
      config_generator:parse/4 (src/config_generator.erl, line 46) in call
      from escript:run/2 (escript.erl, line 747) in call from
      escript:start/1 (escript.erl, line 277) in call from init:start_it/1
      in call from init:start_em/1



      *** Starting CLI: mininet>




      16 switches are added to the ONOS Web GUI, but no links between them like in the example on this page: https://wiki.onosproject.org/display/ONOS/Packet+Optical+Tutorial#PacketOpticalTutorial-Resetting



      I don't understand the error message.
      I've created a sys.config file within ~/linc-oe/rel/files/



      Where should the file sys.config be created? Do you know where the problem could be?







      mininet onos






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 at 9:25









      Jacqueline Cavalcanti

      92




      92



























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53259169%2fno-links-between-optical-and-packet-planes-on-onos-web-gui%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53259169%2fno-links-between-optical-and-packet-planes-on-onos-web-gui%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Top Tejano songwriter Luis Silva dead of heart attack at 64

          ReactJS Fetched API data displays live - need Data displayed static

          Evgeni Malkin