08-30-2019 02:08 PM
09-02-2019 07:58 PM
mutation {
accessControl {
createGroup(input: {name: "Location XYZ", description: "Description XYZ", type: LOCATION}) {
status
message
}
}
}
{
"data": {
"accessControl": {
"createGroup": {
"status": "SUCCESS",
"message": null
}
}
}
}
mutation {
accessControl {
addEntryToGroup(input: {group: "Location XYZ",value:"1.1.1.1;1/1" ,description: "Description XYZ"}) {
status
message
}
}
}
{
"data": {
"accessControl": {
"addEntryToGroup": {
"status": "SUCCESS",
"message": null
}
}
}
}
varQuery='''
mutation {
accessControl {
createGroup(input: {name: "Location XYZ", description: "Description XYZ", type: LOCATION}) {
status
message
}
}
}'''
varResult = emc_nbi.query(varQuery)
09-02-2019 07:46 AM
08-30-2019 07:41 PM
08-30-2019 04:47 PM