aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/punt.h
AgeCommit message (Expand)AuthorFilesLines
2018-12-07VPP-1506: dump local punts and registered punt socketsPavel Kotucek1-1/+11
2017-11-10Break up vpe.apiNeale Ranns1-0/+2
2017-09-09move unix_file_* code to vppinfraDamjan Marion1-1/+1
2017-09-05PUNT socket: External control plane processes connected via UNIX domain sockets.Ole Troan1-2/+50
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+43
ound-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash

# Figure out what system we are running on
if [ "$(uname)" <> "Darwin" ]; then
    OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
    OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
fi

if [ "$OS_ID" == "ubuntu" ]; then
    $OS_CODENAME=$UBUNTU_CODENAME
fi

if [ "$OS_ID" == "centos" ] || [ "$OS_ID" == "opensuse" ]; then
    # Install uio-pci-generic
    sudo -E modprobe uio_pci_generic
fi

echo "Starting VPP..."
if [ "$OS_ID" == "ubuntu" ] && [ "$OS_CODENAME" == "trusty" ] ; then
    sudo -E start vpp
else
    sudo -E service vpp start
fi