GithubHelp home page GithubHelp logo

Comments (2)

konradkaplita avatar konradkaplita commented on August 15, 2024

output of linc_ofconfig:get_switch_state(0):

[{logical_switch,"LogicalSwitch0",
                  {capabilities,0,255,16777216,true,true,true,true,true,false,
                                false,
                                [all,controller,table,inport,any],
                                [all,select,indirect,'fast-failover'],
                                ['select-weight','select-liveness',chaining],
                                [output,group,'set-queue','set-mpls-ttl','dec-mpls-ttl',
                                 'set-nw-ttl','dec-nw-ttl','copy-ttl-out'|...],
                                ['goto-table','write-metadata','write-actions',
                                 'apply-actions','clear-actions',meter]},
                  "E0:CB:4E:47:7D:7B:00:00",true,false,failSecureMode,
                  [{controller,undefined,"Switch0-DefaultController",equal,
                               "localhost",6633,undefined,undefined,tcp,
                               {controller_state,down,undefined,['1.3']}}],
                  [{port,"LogicalSwitch0-Port2"},
                   {port,"LogicalSwitch0-Port1"}]}]}

from linc-switch.

konradkaplita avatar konradkaplita commented on August 15, 2024

output of OF-Config get-config operation:

      <logical-switches>
        <switch>
          <id>LogicalSwitch0</id>
          <datapath-id>E0:CB:4E:47:7D:7B:00:00</datapath-id>
          <controllers>
            <controller>
              <id>Switch0-DefaultController</id>
              <role>equal</role>
              <ip-address>127.0.0.1</ip-address>
              <port>6633</port>
              <local-ip-address>127.0.0.1</local-ip-address>
              <local-port>43318</local-port>
              <protocol>tcp</protocol>
              <state>
                <connection-state>up</connection-state>
                <current-version>1.3</current-version>
                <supported-versions>1.3</supported-versions>
              </state>
            </controller>
          </controllers>
        </switch>
        <switch>
          <id>LogicalSwitch1</id>
          <datapath-id>E0:CB:4E:47:7D:7B:00:01</datapath-id>
          <controllers>
            <controller>
              <id>Switch1-DefaultController</id>
              <role>equal</role>
              <ip-address>localhost</ip-address>
              <port>6634</port>
              <protocol>tcp</protocol>
              <state>
                <connection-state>down</connection-state>
                <supported-versions>1.2</supported-versions>
              </state>
            </controller>
          </controllers>
        </switch>
      </logical-switches>

from linc-switch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.