summaryrefslogtreecommitdiffstats
path: root/testing/puppet-fdio/manifests/vpp/service.pp
blob: 74536958b185fec2c215a6517739607492e947bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# == Class fdio::vpp::service
#
# Starts the VPP systemd or Upstart service.
#
class fdio::vpp::service {
  # TODO
  # bring interfaces down before service start
  # so vpp can bind
  service { 'vpp':
    ensure     => running,
    enable     => true,
    hasstatus  => true,
    hasrestart => true,
  }
  # TODO
  #sudo vppctl set interface ip address TenGigabitEthernet7/0/0 192.168.21.21/24
  #sudo vppctl set interface state TenGigabitEthernet7/0/0 up


}