Hi All,
Created a work flow using existing workflow "Create Firewall Layer 3 Section" and entered the values for all the inputs. But its failing to execute with the following error.
| 'output': name=firewallSection type=NSX:FirewallSection value=null
| 'no inputs'
--workflow: 'Create Firewall Layer 3 Section' (ccaf987f-fd4b-458f-8118-71bfe8692128)
| 'input': name=connection type=NSX:Connection value=dunes://service.dunes.ch/CustomSDKObject?id='3869bbfb-bf38-42fe-80cd-514fc481bdd2'&dunesName='NSX:Connection'
| 'input': name=sectionName type=string value=SecurityPolicy-Global :: NSX Service Composer - Firewall
| 'input': name=listRules type=Array/CompositeType(ruleName:string,enabled:boolean,action:string,direction:string,packetType:string,logging:boolean,appliedToList:Array/string,isSourcesExcluded:boolean,sourcesList:Array/string,isDestinationsExcluded:boolean,destinationsList:Array/string,services:Array/string,serviceGroups:Array/string):NSXFirewallSectionRulesWithSAndSG value=#{#CompositeType(ruleName:string,enabled:boolean,action:string,direction:string,packetType:string,logging:boolean,appliedToList:Array/string,isSourcesExcluded:boolean,sourcesList:Array/string,isDestinationsExcluded:boolean,destinationsList:Array/string,services:Array/string,serviceGroups:Array/string):NSXFirewallSectionRulesWithSAndSG##[#packetType#=#string#icmp#+#appliedToList#=#Array##{#string#any#}##+#destinationsList#=#Array##{#string#any#}##+#isSourcesExcluded#=#boolean#false#+#serviceGroups#=#Any#Any#__NULL__#+#sourcesList#=#Array##{#string#any#}##+#isDestinationsExcluded#=#boolean#false#+#services#=#Any#Any#__NULL__#+#enabled#=#boolean#false#+#ruleName#=#string#TestRule#+#action#=#string#Allow#+#logging#=#boolean#false#+#direction#=#string#Any#]##}#
| 'input': name=operation type=string value=insert_after
| 'input': name=anchorId type=string value=
| 'input': name=autoSaveDraft type=string value=true
| 'output': name=firewallSection type=NSX:FirewallSection value=null
| 'no attributes'
*** End of execution stack.
Lot of variables are unknown and I could not find any documentation. Please help. I am listing some of them below.
- Connection: Gave NSX connection information
- sectionToGet = Ignored it
- sectionName = Input name of the firewall group.
- operation = insert_after
- autoSaveDraft = true
- anchorId = not sure what should be the value
Also while creating firewall rule, following inputs need to be given and I don't find any documentation to input these values. Please help.
- ruleName = TestRule
- action = Allow
- direction = Any (not sure of all the available values)
- packetType = icmp
- appliedToList = any
- isSourcesExcluded = no
- sourcesList = any
- is DestinationsExcluded = no
- destinationsList = any
- services = I didn’t provide any value
- serviceGroups = I didn’t provide any value
Thanks,
Sarath