Changes between Version 3 and Version 4 of PluggingIn


Ignore:
Timestamp:
Mar 20, 2012 11:47:28 AM (12 years ago)
Author:
mikeryan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PluggingIn

    v3 v4  
    1515For platforms that do not have VDE support, TAP support is sufficient. {{{vde_plug2tap}}} acts as an adapter between a VDE switch port and a TAP interface. VDE also comes with {{{vde_tunctl}}} which can create TAP interfaces on the fly to be used by other apps.
    1616
    17 The following example illustrates how one might do this with QEMU. QEMU has native VDE support, but we'll assume for a moment that we can't use it:
     17The following example illustrates how one might do this with QEMU. QEMU has native VDE support, but we'll assume for a moment that we can't use it.
    1818
    1919{{{
     
    2424
    2525vde_tunctl tap0
    26 vde_plug2tap -d -s $SWITCH_SOCKET -p $SWITCH_PORT
     26vde_plug2tap -d -s $SWITCH_SOCKET -p $SWITCH_PORT tap0
    2727qemu -net nic -net tap,ifname=tap0 fs.img
    2828}}}
    2929
    3030If you don't even have TAP support.. get creative. Chances are if you can talk to a file descriptor pair {{{vde_plug}}} will work for you.
     31
     32=== Interface Attributes ===
     33
     34The info you care about will be attributes on each interface.
     35
     36 * {{{ip4_address}}}
     37 * {{{ip4_netmask}}}
     38 * {{{benito:mac_address}}}
     39 * {{{benito:vde_switch}}} (switch socket full path)
     40 * {{{benito:vde_port}}} (switch port)
    3141
    3242=== Control Net ===