<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Helvetica, Arial, sans-serif">Hello,</font></p>
    <p><font face="Helvetica, Arial, sans-serif">I want to create VLAN
        interface using the commands described here:</font></p>
    <p><font face="Helvetica, Arial, sans-serif"><a
href="https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Network">https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Network</a><br>
      </font></p>
    <p><font face="Helvetica, Arial, sans-serif"> but I get an error.</font></p>
    <p><tt>kury@kury-ubuntu-1604:~$ curl -c cjar -b cjar -k -H
        "Content-Type: application/json" -X POST -d '{"data":["eth1",
        101] }' <a class="moz-txt-link-freetext" href="https://$">https://$</a>{bmc}/xyz/openbmc_project/network/action/VLAN</tt><tt><br>
      </tt><tt>{</tt><tt><br>
      </tt><tt>  "data": {</tt><tt><br>
      </tt><tt>    "description": "org.freedesktop.DBus.Error.NoReply"</tt><tt><br>
      </tt><tt>  },</tt><tt><br>
      </tt><tt>  "message": "Remote peer disconnected",</tt><tt><br>
      </tt><tt>  "status": "error"</tt><tt><br>
      </tt><tt>}</tt><font face="Helvetica, Arial, sans-serif"><br>
        <br>
        or using bustl</font></p>
    <p><font face="Helvetica, Arial, sans-serif"></font><tt>kury@kury-ubuntu-1604:~$
        ssh 192.168.4.186 -l root</tt><tt><br>
      </tt><tt><a class="moz-txt-link-abbreviated" href="mailto:root@192.168.4.186">root@192.168.4.186</a>'s password: </tt><tt><br>
      </tt><tt>root@tiogapas2:~# busctl call xyz.openbmc_project.Network
        /xyz/openbmc_project/network
        xyz.openbmc_project.Network.VLAN.Create VLAN su "eth1" 101</tt><tt><br>
      </tt><tt>Remote peer disconnected</tt><font face="Helvetica,
        Arial, sans-serif"><br>
      </font></p>
    <p>Perhaps the syntax has changed? Or do I need to change the build
      settings?<br>
      Enumarate works correctly</p>
    <p><tt>kury@kury-ubuntu-1604:~$ curl -c cjar -b cjar -k -H
        "Content-Type: application/json" -X GET
        <a class="moz-txt-link-freetext" href="https://$">https://$</a>{bmc}/xyz/openbmc_project/network/enumerate</tt><tt><br>
      </tt><tt>{</tt><tt><br>
      </tt><tt>  "data": {</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/config": {</tt><tt><br>
      </tt><tt>      "DefaultGateway": "192.168.4.1",</tt><tt><br>
      </tt><tt>      "DefaultGateway6": "",</tt><tt><br>
      </tt><tt>      "HostName": "tiogapas2"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/config/dhcp": {</tt><tt><br>
      </tt><tt>      "DNSEnabled": true,</tt><tt><br>
      </tt><tt>      "HostNameEnabled": true,</tt><tt><br>
      </tt><tt>      "NTPEnabled": true,</tt><tt><br>
      </tt><tt>      "SendHostNameEnabled": true</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth0": {</tt><tt><br>
      </tt><tt>      "AutoNeg": false,</tt><tt><br>
      </tt><tt>      "DHCPEnabled": true,</tt><tt><br>
      </tt><tt>      "DomainName": [],</tt><tt><br>
      </tt><tt>      "IPv6AcceptRA": false,</tt><tt><br>
      </tt><tt>      "InterfaceName": "eth0",</tt><tt><br>
      </tt><tt>      "LinkLocalAutoConf":
        "xyz.openbmc_project.Network.EthernetInterface.LinkLocalConf.both",</tt><tt><br>
      </tt><tt>      "MACAddress": "a6:1f:e2:d4:fc:20",</tt><tt><br>
      </tt><tt>      "NTPServers": [],</tt><tt><br>
      </tt><tt>      "Nameservers": [],</tt><tt><br>
      </tt><tt>      "Speed": 0</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth0/ipv4/48f8ed70": {</tt><tt><br>
      </tt><tt>      "Address": "192.168.4.186",</tt><tt><br>
      </tt><tt>      "Gateway": "",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.DHCP",</tt><tt><br>
      </tt><tt>      "PrefixLength": 24,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv4"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth0/ipv4/ee4bea56": {</tt><tt><br>
      </tt><tt>      "Address": "169.254.5.72",</tt><tt><br>
      </tt><tt>      "Gateway": "",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.LinkLocal",</tt><tt><br>
      </tt><tt>      "PrefixLength": 16,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv4"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth0/ipv6/60f50253": {</tt><tt><br>
      </tt><tt>      "Address": "fe80::a41f:e2ff:fed4:fc20",</tt><tt><br>
      </tt><tt>      "Gateway": "",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.LinkLocal",</tt><tt><br>
      </tt><tt>      "PrefixLength": 64,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv6"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth1": {</tt><tt><br>
      </tt><tt>      "AutoNeg": false,</tt><tt><br>
      </tt><tt>      "DHCPEnabled": true,</tt><tt><br>
      </tt><tt>      "DomainName": [],</tt><tt><br>
      </tt><tt>      "IPv6AcceptRA": false,</tt><tt><br>
      </tt><tt>      "InterfaceName": "eth1",</tt><tt><br>
      </tt><tt>      "LinkLocalAutoConf":
        "xyz.openbmc_project.Network.EthernetInterface.LinkLocalConf.both",</tt><tt><br>
      </tt><tt>      "MACAddress": "d6:92:52:7d:5:c8",</tt><tt><br>
      </tt><tt>      "NTPServers": [],</tt><tt><br>
      </tt><tt>      "Nameservers": [],</tt><tt><br>
      </tt><tt>      "Speed": 0</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth1/ipv4/42f65a13": {</tt><tt><br>
      </tt><tt>      "Address": "192.168.4.187",</tt><tt><br>
      </tt><tt>      "Gateway": "",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.DHCP",</tt><tt><br>
      </tt><tt>      "PrefixLength": 24,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv4"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth1/ipv4/4f48d4d1": {</tt><tt><br>
      </tt><tt>      "Address": "169.254.241.120",</tt><tt><br>
      </tt><tt>      "Gateway": "",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.LinkLocal",</tt><tt><br>
      </tt><tt>      "PrefixLength": 16,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv4"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/eth1/ipv6/7fc4e2e8": {</tt><tt><br>
      </tt><tt>      "Address": "fe80::d492:52ff:fe7d:5c8",</tt><tt><br>
      </tt><tt>      "Gateway": "",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.LinkLocal",</tt><tt><br>
      </tt><tt>      "PrefixLength": 64,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv6"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/host0/intf": {</tt><tt><br>
      </tt><tt>      "MACAddress": "00:00:00:00:00:00"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/host0/intf/addr": {</tt><tt><br>
      </tt><tt>      "Address": "0.0.0.0",</tt><tt><br>
      </tt><tt>      "Gateway": "0.0.0.0",</tt><tt><br>
      </tt><tt>      "Origin":
        "xyz.openbmc_project.Network.IP.AddressOrigin.Static",</tt><tt><br>
      </tt><tt>      "PrefixLength": 0,</tt><tt><br>
      </tt><tt>      "Type":
        "xyz.openbmc_project.Network.IP.Protocol.IPv4"</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/sit0": {</tt><tt><br>
      </tt><tt>      "AutoNeg": false,</tt><tt><br>
      </tt><tt>      "DHCPEnabled": true,</tt><tt><br>
      </tt><tt>      "DomainName": [],</tt><tt><br>
      </tt><tt>      "IPv6AcceptRA": false,</tt><tt><br>
      </tt><tt>      "InterfaceName": "sit0",</tt><tt><br>
      </tt><tt>      "LinkLocalAutoConf":
        "xyz.openbmc_project.Network.EthernetInterface.LinkLocalConf.both",</tt><tt><br>
      </tt><tt>      "MACAddress": "0:0:0:0:0:0",</tt><tt><br>
      </tt><tt>      "NTPServers": [],</tt><tt><br>
      </tt><tt>      "Nameservers": [],</tt><tt><br>
      </tt><tt>      "Speed": 0</tt><tt><br>
      </tt><tt>    },</tt><tt><br>
      </tt><tt>    "/xyz/openbmc_project/network/snmp/manager": {}</tt><tt><br>
      </tt><tt>  },</tt><tt><br>
      </tt><tt>  "message": "200 OK",</tt><tt><br>
      </tt><tt>  "status": "ok"</tt><tt><br>
      </tt><tt>  "status": "ok"</tt><br>
    </p>
  </body>
</html>