From 9dd5d7bf353fe5ffd478ff811bb6b26538afe092 Mon Sep 17 00:00:00 2001 From: viliamluc Date: Fri, 12 Aug 2016 06:58:15 -0500 Subject: puppet module added Change-Id: Ic70ee605b7e0e88054fe5599180026a55d7dddae Signed-off-by: viliamluc --- testing/puppet-fdio/manifests/vpp/service.pp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/puppet-fdio/manifests/vpp/service.pp (limited to 'testing/puppet-fdio/manifests/vpp/service.pp') diff --git a/testing/puppet-fdio/manifests/vpp/service.pp b/testing/puppet-fdio/manifests/vpp/service.pp new file mode 100644 index 0000000..7453695 --- /dev/null +++ b/testing/puppet-fdio/manifests/vpp/service.pp @@ -0,0 +1,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 + + +} -- cgit 1.2.3-korg