diff options
author | 2016-08-15 08:10:08 +0000 | |
---|---|---|
committer | 2016-08-15 08:10:08 +0000 | |
commit | 3285c8e93ea59d98b392591ef6dfa5b1de3bb92d (patch) | |
tree | 795fe6b7263a4a3b5b06ce5f750ec883037d4346 /testing/puppet-fdio/manifests/vpp/service.pp | |
parent | 7ac44c4a1406bf060911c645f23eef18a13dc0af (diff) | |
parent | 9dd5d7bf353fe5ffd478ff811bb6b26538afe092 (diff) |
Merge "puppet module added"
Diffstat (limited to 'testing/puppet-fdio/manifests/vpp/service.pp')
-rw-r--r-- | testing/puppet-fdio/manifests/vpp/service.pp | 20 |
1 files changed, 20 insertions, 0 deletions
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 + + +} |