@@ -684,7 +684,7 @@ json_parse_network_interface(json_t *network_interface, bbl_network_config_s *ne
684684 "isis-l1-priority" , "isis-l2-priority" ,
685685 "ospfv2-instance-id" , "ospfv2-metric" , "ospfv2-type" ,
686686 "ospfv3-instance-id" , "ospfv3-metric" , "ospfv3-type" ,
687- "cfm-cc" , "cfm-level" , "cfm-ma-id" , "cfm-ma-name" ,
687+ "cfm-cc" , "cfm-level" , "cfm-ma-id" , "cfm-ma-name" , "cfm-seq" ,
688688 "ldp-instance-id"
689689 };
690690 if (!schema_validate (network_interface , "network" , schema ,
@@ -869,6 +869,12 @@ json_parse_network_interface(json_t *network_interface, bbl_network_config_s *ne
869869 if (value ) {
870870 network_config -> cfm_cc = json_boolean_value (value );
871871 }
872+ JSON_OBJ_GET_BOOL (network_interface , value , "network" , "cfm-seq" );
873+ if (value ) {
874+ network_config -> cfm_seq = json_boolean_value (value );
875+ } else {
876+ network_config -> cfm_seq = true;
877+ }
872878 JSON_OBJ_GET_NUMBER (network_interface , value , "network" , "cfm-level" , 0 , 7 );
873879 if (value ) {
874880 network_config -> cfm_level = json_number_value (value );
@@ -919,7 +925,7 @@ json_parse_access_interface(json_t *access_interface, bbl_access_config_s *acces
919925 "session-group-id" , "stream-group-id" ,
920926 "session-limit" , "arp-client-group-id" ,
921927 "http-client-group-id" , "icmp-client-group-id" ,
922- "cfm-cc" , "cfm-level" , "cfm-ma-id" , "cfm-ma-name"
928+ "cfm-cc" , "cfm-level" , "cfm-ma-id" , "cfm-ma-name" , "cfm-seq"
923929 };
924930 if (!schema_validate (access_interface , "access" , schema ,
925931 sizeof (schema )/sizeof (schema [0 ]))) {
@@ -1284,6 +1290,12 @@ json_parse_access_interface(json_t *access_interface, bbl_access_config_s *acces
12841290 if (value ) {
12851291 access_config -> cfm_cc = json_boolean_value (value );
12861292 }
1293+ JSON_OBJ_GET_BOOL (access_interface , value , "access" , "cfm-seq" );
1294+ if (value ) {
1295+ access_config -> cfm_seq = json_boolean_value (value );
1296+ } else {
1297+ access_config -> cfm_seq = true;
1298+ }
12871299 JSON_OBJ_GET_NUMBER (access_interface , value , "access" , "cfm-level" , 0 , 7 );
12881300 if (value ) {
12891301 access_config -> cfm_level = json_number_value (value );
0 commit comments