Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ncp --vendor Cisco --type ASA --format json <<< "object-group network F5_Prod
- description Self IPs
- network-object host 192.168.1.1
- network-object host 192.168.1.2
- network-object host 192.168.1.3" | jq
- [
- {
- "type": "object-group",
- "config": [
- {
- "description": "Self IPs",
- "group_members": [
- {
- "type": "host",
- "ip": "192.168.1.1"
- },
- {
- "type": "host",
- "ip": "192.168.1.2"
- },
- {
- "ip": "192.168.1.3",
- "type": "host"
- }
- ],
- "group_type": "network",
- "name": "F5_Prod"
- }
- ]
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment