<div dir="ltr">hi<div><br></div><div style>I use quantum grizzly with namespace and floodlight, but VMs can not ping its gateway. It seems that floodlight ignore devices whose status is PORT_DOWN or LINK_DOWN, somehow the subnetwork gateway is really PORT_DOWN and LINK_DOWN.. is it normal?or how can I change its status to normal?</div>

<div style><br></div><div style><div>root@controller:~# ovs-ofctl show br-int</div><div>OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:0000e2ed9e9b6942</div><div>n_tables:255, n_buffers:256</div><div>features: capabilities:0xc7, actions:0xfff</div>

<div> 1(qr-c5496165-c7): addr:5e:67:22:5b:d5:0e</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div><b> 2(qr-8af2e01f-bb): addr:e4:00:00:00:00:00<--------------------this is the gateway.....</b></div>

<div><b>     config:     PORT_DOWN</b></div><div><b>     state:      LINK_DOWN</b></div><div> 3(qr-48c69382-4f): addr:22:64:6f:3a:9f:cd</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div>
 4(patch-tun): addr:8e:90:4c:aa:d2:06</div>
<div>     config:     0</div><div>     state:      0</div><div> 5(tap5b5891ac-94): addr:6e:52:f7:c1:ef:f4</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 6(tap09a002af-66): addr:c6:cb:01:60:3f:8a</div>

<div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 7(tap160480aa-84): addr:96:43:cc:05:71:d5</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 8(tapf6040ba0-b5): addr:e4:00:00:00:00:00</div>

<div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 9(tap0ded1c0f-df): addr:12:c8:b3:5c:fb:6a</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 10(tapaebb6140-31): addr:e4:00:00:00:00:00</div>

<div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 11(tapddc3ce63-2b): addr:e4:00:00:00:00:00</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> 12(qr-9b9a3229-19): addr:e4:00:00:00:00:00</div>

<div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div> LOCAL(br-int): addr:e2:ed:9e:9b:69:42</div><div>     config:     PORT_DOWN</div><div>     state:      LINK_DOWN</div><div>OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0</div>

</div><div style><br></div><div style><br></div><div style>floodlight codes:</div><div style><div>if (entity.hasSwitchPort() &&</div><div>                        !topology.isAttachmentPointPort(entity.getSwitchDPID(),</div>

<div>                                                 entity.getSwitchPort().shortValue())) {</div><div>                    if (logger.isDebugEnabled()) {</div><div>                        logger.debug("Not learning new device on internal"</div>

<div>                                     + " link: {}", entity);</div><div>                    }</div><div><br></div></div><div style><div>public boolean portEnabled(OFPhysicalPort port) {</div><div><span class="" style="white-space:pre">     </span>        if (port == null)</div>

<div><span class="" style="white-space:pre">    </span>            return false;</div><div><span class="" style="white-space:pre">  </span>        if ((port.getConfig() & OFPortConfig.OFPPC_PORT_DOWN.getValue()) > 0)</div>

<div><span class="" style="white-space:pre">    </span>            return false;</div></div></div>