OBJECT

PolicyMutations

Root mutation for policy API

link GraphQL Schema definition

  • type PolicyMutations {
  • # Start domain enforce using cached version of domain if present, database version
  • # if not. Request progress status / result via enforceVerifyResult query
  • #
  • # Arguments
  • # input:
  • enforceDomain(input: EnforceDomainInput!): EnforceMutationOutput
  • # Lock the current domain to indicate to other clients they should not make
  • # changes, optionally revoking a lock held by another client
  • #
  • # Arguments
  • # input:
  • lockDomain(input: LockDomainInput): PolicyMutationOutput
  • # Add/remove specified devices to the open domain
  • #
  • # Arguments
  • # input:
  • mutateDeviceList(input: DomainDevicesMutationInput!): DomainMutationOutput
  • # Create/Delete a domain in the database. Unlike most operations this is immediate
  • # and operates on the database, rather than open/cached data.
  • #
  • # Arguments
  • # input:
  • mutateDomainCreateDelete(
  • input: DomainCreateDeleteInput!
  • ): PolicyMutationOutput
  • # Modify domain level setting for to the open domain, for instance GVRP mode or
  • # ignore global services
  • #
  • # Arguments
  • # input:
  • mutateDomainSetting(input: GlobalDataMutationConfigInput!): DomainMutationOutput
  • # Modify network resource in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateNetworkResource(
  • input: NetworkResourceMutationConfigInput!
  • ): NetworkRescMutationOutput
  • # Modify network resource topology in the open/cached domain data. After
  • # completing all mutations, persist the changes to the database via saveDomain
  • # mutation.
  • #
  • # Arguments
  • # input:
  • mutateNetworkResourceTopology(
  • input: NetworkResourceTopologyMutationConfigInput!
  • ): NetworkRescTopoMutationOutput
  • # Modify PVI Island object in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutatePviIsland(input: PviIslandMutationConfigInput!): PviIslandMutationOutput
  • # Modify PVI Service ID object in the open/cached domain data. After completing
  • # all mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutatePviNsi(input: PviNsiMutationConfigInput!): PviNsiMutationOutput
  • # Modify PVI VLAN object in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutatePviVlan(input: PviVlanMutationConfigInput!): VlanMutationOutput
  • # Modify role object in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateRole(input: RoleMutationConfigInput!): RoleMutationOutput
  • # Modify rule object in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateRule(input: RuleMutationConfigInput!): RuleMutationOutput
  • # Modify a rule's traffic description object in the open/cached domain data. Note:
  • # create/modify both behave the same, as the mutation input must contain all data
  • # to define the traffic desc. After completing all mutations, persist the changes
  • # to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateRuleTrafDesc(input: TrafDescMutationConfigInput!): RuleMutationOutput
  • # Modify service object in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateService(input: ServiceMutationConfigInput!): ServiceMutationOutput
  • # Modify service group in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateServiceGroup(input: ServiceGroupMutationConfigInput!): ServiceGroupMutationOutput
  • # Modify VLAN object in the open/cached domain data. After completing all
  • # mutations, persist the changes to the database via saveDomain mutation.
  • #
  • # Arguments
  • # input:
  • mutateVlan(input: VlanMutationConfigInput!): VlanMutationOutput
  • # Persist client's current open/cached domain (via openDomain call) to database.
  • #
  • # Arguments
  • # input:
  • saveDomain(input: SaveDomainInput!): PolicyMutationOutput
  • # Unlock the current domain to let other clients know they can modify as needed.
  • #
  • # Arguments
  • # input:
  • unlockDomain(input: LockDomainInput): PolicyMutationOutput
  • }