search cancel

Policy for comparing policies on 2 different api gateway cluster nodes

book

Article ID: 255038

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Do you have any scripts or policies for comparing 2 gateway clusters or 2 policies to see if they match?

Environment

Release : 10.1

Resolution

1) Most obvious Policy Manager visual compare.

2) Export via policy manager or restman (the outputs are XML) You can simply diff or use notepad++ or similar tool to create a diff of the xml.

3) We have a tool that is still being developed called Graphman which is a varied version of RESTMAN. When this becomes generally available it can make a md5 of each policy and you tell if they are identical or need further review.