diff options
Diffstat (limited to 'hicn-plugin/scripts')
-rw-r--r-- | hicn-plugin/scripts/post | 20 | ||||
-rw-r--r-- | hicn-plugin/scripts/postinst | 19 | ||||
-rw-r--r-- | hicn-plugin/scripts/postun | 5 |
3 files changed, 0 insertions, 44 deletions
diff --git a/hicn-plugin/scripts/post b/hicn-plugin/scripts/post deleted file mode 100644 index dd0a9fbf5..000000000 --- a/hicn-plugin/scripts/post +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -if [ -e /etc/vpp/startup.conf ]; then - RESULTS=$(sed -n '/hicn[ ]*{/p' /etc/vpp/startup.conf | wc -l) - if [[ $RESULTS = 0 ]]; then - printf '\n hicn { - ## Set PIT size. Default is 131 072 entries - # pit-size 500000 - # - ## Set CS size. Default is 4096 - # cs-size 50000 - # - ## Set maximum PIT entries lifetime in milliseconds. Assigned to a PIT entry in case an interest carries a bigger lifetime - # pit-lifetime-max 20 - # - ## Percentage of CS to reserve for application producer faces - # cs-reserved-app 20\n}' >> /etc/vpp/startup.conf - fi; -fi; -ln -s /usr/lib64/vpp_plugins/hicn_plugin.so /usr/lib/vpp_plugins/hicn_plugin.so
\ No newline at end of file diff --git a/hicn-plugin/scripts/postinst b/hicn-plugin/scripts/postinst deleted file mode 100644 index d6d48509c..000000000 --- a/hicn-plugin/scripts/postinst +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ -e /etc/vpp/startup.conf ]; then - RESULTS=$(sed -n '/hicn[ ]*{/p' /etc/vpp/startup.conf | wc -l) - if [[ $RESULTS = 0 ]]; then - printf '\n hicn { - ## Set PIT size. Default is 131 072 entries - # pit-size 500000 - # - ## Set CS size. Default is 4096 - # cs-size 50000 - # - ## Set maximum PIT entries lifetime in milliseconds. Assigned to a PIT entry in case an interest carries a bigger lifetime - # pit-lifetime-max 20 - # - ## Percentage of CS to reserve for application producer faces - # cs-reserved-app 20\n}' >> /etc/vpp/startup.conf - fi; -fi;
\ No newline at end of file diff --git a/hicn-plugin/scripts/postun b/hicn-plugin/scripts/postun deleted file mode 100644 index c319f014e..000000000 --- a/hicn-plugin/scripts/postun +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -if [ -L /usr/lib/vpp_plugins/hicn_plugin.so ]; then - rm /usr/lib/vpp_plugins/hicn_plugin.so -fi;
\ No newline at end of file |