Skip to content

Commit e9b238b

Browse files
pcn-k8sfilter: use init-only-config for ports' parameter
after 18becf4 ("polycubed: fix list validation") a parameter that can only be set at initialization time must be "config true" and use the init-only-config extension of polycube. Fixes: ab259a9 ("Ported k8sfilter") Signed-off-by: Mauricio Vasquez B <mauriciovasquezbernal@gmail.com>
1 parent 18becf4 commit e9b238b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/services/pcn-k8sfilter/datamodel/k8sfilter.yang

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module k8sfilter {
2222
enum INTERNAL { description "Connected to LBRP"; }
2323
}
2424
mandatory true;
25-
config false;
25+
config true;
26+
polycube-base:init-only-config;
2627
description "...";
2728
}
2829
}

0 commit comments

Comments
 (0)