"Preservation" option not seen in NSO service notification: Hi,Service Assurance preservation option is not seen while disabling the monitoring with option "remove" for the first time.Steps:1] Create l2vpn or l3vpn service.2] enable monitoring from CNC UI .3] after some time, disable monitoring from UI .we have preservation option as "remove" by default. do not change anything there and disable the monitoring.in kafka logs , we are not seeing the preservation option at all. RCietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service=L2NM-P2p-SRTE-712Z{"ietf-l2vpn-ntw:vpn-service":{"vpn-id":"L2NM-P2p-SRTE-712","vpn-svc-type":"vpn-common:t-ldp","vpn-nodes":{"vpn-node":[{"vpn-node-id":"ASR9901-SDN-30","ne-id":"ASR9901-SDN-30","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-30-712","fallback":"disable"}}},"signaling-options":[{"type":"vpn-common:t-ldp","t-ldp-pwe":{"ac-pw-list":[{"peer-addr":"126.1.1.112","vc-id":"712","mpls-label":753}]}}],"vpn-network-accesses":{"vpn-network-access":}},{"vpn-node-id":"NCS55A2-SDN-112","ne-id":"NCS55A2-SDN-112","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-112-712","fallback":"disable"}}},"signaling-options":[{"type":"vpn-common:t-ldp","t-ldp-pwe":{"ac-pw-list":[{"peer-addr":"126.1.1.30","vc-id":"712","mpls-label":712}]}}],"vpn-network-accesses":{"vpn-network-access":}}]},"ietf-l2vpn-ntw-cisco-augmentations:service-assurance":{"monitoring-state":"disable","profile-name":"Silver_L2VPN_ConfigProfile system","rule-name":"Rule-L2VPN-NM-P2P-Basic system"}}}bmodify2while checking in NSO UI ., for service assurance, preservation option shows "remove" for twice.while selecting first option "(remove)" and disable the monitoring, we are not seeing the preservation option in the nso notification data,in CAT ui., for service assurance, preservation option shows only one "remove" .. when we try disable monitoring with this option, we are not seeing the nso notification with this option.only after doing "preserve" and disable, we see it.after that again enable the monitoring and disable it with "remove" , we see it.the issue is ,we are not seeing it for the very first time by default.
Hi Arun,1. The reason you're seeing "remove" twice in NSO UI is because the value in parenthesis is the default; therefore, preservation is already set to "remove".2. From the looks of the kafka logs, it looks like the NB is only sending back changes rather than a full query so I would think they're subscribed to the service changes but because preservation is already set to "remove" by default (as shown in your NSO UI pic) this won't count as a change/update on NSO; therefore, you will not see the notification for it.Let me know if you have anymore questions.Thanks,RegiHi reginald,i think there is no problem with subsription, since are see preservation option when we select option as "preserve". RCietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service=L2NM-P2p-SRTE-712Z{"ietf-l2vpn-ntw:vpn-service":{"vpn-id":"L2NM-P2p-SRTE-712","vpn-svc-type":"vpn-common:t-ldp","vpn-nodes":{"vpn-node":[{"vpn-node-id":"ASR9901-SDN-30","ne-id":"ASR9901-SDN-30","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-30-712","fallback":"disable"}}},"signaling-options":[{"type":"vpn-common:t-ldp","t-ldp-pwe":{"ac-pw-list":[{"peer-addr":"126.1.1.112","vc-id":"712","mpls-label":753}]}}],"vpn-network-accesses":{"vpn-network-access":}},{"vpn-node-id":"NCS55A2-SDN-112","ne-id":"NCS55A2-SDN-112","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-112-712","fallback":"disable"}}},"signaling-options":[{"type":"vpn-common:t-ldp","t-ldp-pwe":{"ac-pw-list":[{"peer-addr":"126.1.1.30","vc-id":"712","mpls-label":712}]}}],"vpn-network-accesses":{"vpn-network-access":}}]},"ietf-l2vpn-ntw-cisco-augmentations:service-assurance":{"monitoring-state":"enable","preservation":"preserve","profile-name":"Silver_L2VPN_ConfigProfile system","rule-name":"Rule-L2VPN-NM-P2P-Basic system"}}}bmodify2Selecting remove after that, we can see the remove option also in Notification., RCietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service=L2NM-P2p-SRTE-712Z{"ietf-l2vpn-ntw:vpn-service":{"vpn-id":"L2NM-P2p-SRTE-712","vpn-svc-type":"vpn-common:t-ldp","vpn-nodes":{"vpn-node":[{"vpn-node-id":"ASR9901-SDN-30","ne-id":"ASR9901-SDN-30","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-30-712","fallback":"disable"}}},"signaling-options":[{"type":"vpn-common:t-ldp","t-ldp-pwe":{"ac-pw-list":[{"peer-addr":"126.1.1.112","vc-id":"712","mpls-label":753}]}}],"vpn-network-accesses":{"vpn-network-access":}},{"vpn-node-id":"NCS55A2-SDN-112","ne-id":"NCS55A2-SDN-112","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-112-712","fallback":"disable"}}},"signaling-options":[{"type":"vpn-common:t-ldp","t-ldp-pwe":{"ac-pw-list":[{"peer-addr":"126.1.1.30","vc-id":"712","mpls-label":712}]}}],"vpn-network-accesses":{"vpn-network-access":}}]},"ietf-l2vpn-ntw-cisco-augmentations:service-assurance":{"monitoring-state":"disable","preservation":"remove","profile-name":"Silver_L2VPN_ConfigProfile system","rule-name":"Rule-L2VPN-NM-P2P-Basic system"}}}bmodify2The only problem is for rhe service that is getting created newly with option as "remove" doesnt add the "preservation" option in the notificaion.we can sync up if needed.Thanks,Arun.M.GI did a quick test with L2 and you're correct. The default values are not returning. This seems to be the behavior for NSO. I have noticed that if you explicitly define the default preservation as "remove" in a newly created service the subscription will return the change. Are you able to move forward if you explicitly set preservation in the payload sent to NSO (this includes the default "remove" option as well )?Thanks,RegiI will try to mention explicitly from payload and let u know. our labs are down . if will be back on monday . once it is back, i will check and let you know. Hi Arun,Let me know if you were able to resolve your issue, so I can close this ticket.Thanks,RegiHi Reginald,Tried to create new service with preversation as Remove.attached payload.got the "preservation" option in the notification.snipper below from kafka.RIietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service=L2NM-EVPN-VPWS-SRTE-604Z  {"ietf-l2vpn-ntw:vpn-service":{"vpn-id":"L2NM-EVPN-VPWS-SRTE-604","evi-id":6,"evi-source":604,"evi-target":605,"vpn-svc-type":"vpn-common:evpn-bgp","vpn-nodes":{"vpn-node":[{"vpn-node-id":"ASR9901-SDN-30","ne-id":"ASR9901-SDN-30","te-service-mapping":{"te-mapping":{"sr-policy":{"policy":"L2NM-EVPN-SRTE-30-604"}}},"signaling-options":,"vpn-network-accesses":{"vpn-network-access":}},{"vpn-node-id":"NCS55A2-SDN-112","ne-id":"NCS55A2-SDN-112","signaling-options":,"vpn-network-accesses":{"vpn-network-access":}}]},"ietf-l2vpn-ntw-cisco-augmentations:service-assurance":{"monitoring-state":"enable","preservation":"remove","profile-name":"Gold_L2VPN_ConfigProfile system","rule-name":"Rule-L2VPN-NM system"}}}bmodify2Thanks Arun. Since the issue is resolved. I'll go ahead and close this ticket.