Modifying service configuration

Overview

The following are the requirements for an XML request to modify a VPLS, site, access interface, and SDP binding separately. This method can be used for other types of services. The find method can be used to retrieve the FDN of the object. See Chapter 13, Inventory management for more information about the find method.

Service modification parameters

The following request modifies properties in a VPLS. For other service objects, replace the value in the <distinguishedName> and use the appropriate service object. For example, to modify a site, use the following:

<distinguishedName>svc-mgr:service-123:198.51.100.55</distinguishedName>

Figure 19-11: VPLS modification request example
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
   <deployer>immediate</deployer>
   <synchronousDeploy>true</synchronousDeploy>
   <distinguishedName>svc-mgr:service-123</distinguishedName>
   <configInfo>
      <vpls.Vpls>
         <actionMask>
            <bit>modify</bit>
         </actionMask>
          Properties to modify
          ..
      </vpls.Vpls>
   </configInfo>
</generic.GenericObject.configureInstance>

The following example outlines what is required for an XML request to modify a VPLS service, site, access interface, and SDP binding in one request. This method can be used for other types of services.

Service modification parameters

Figure 19-12: Multiple service object modification request example
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
   <deployer>immediate</deployer>
   <synchronousDeploy>true</synchronousDeploy>
   <distinguishedName> svc-mgr:service-620</distinguishedName>
   <configInfo>
      <vpls.Vpls>
         <actionMask>
            <bit>modify</bit>
         </actionMask>
          Properties to modify
          ..           
         <children-Set>
            <vpls.Site>
               <actionMask>
                  <bit>modify</bit>
               </actionMask>
               <objectFullName>svc-mgr:service-620:198.51.100.198</object
FullName>
                Properties to modify
                ..
               <children-Set>
                  <svt.MeshSdpBinding>
                     <actionMask>
                        <bit>modify</bit>
                     </actionMask>
                     <objectFullName>svc-mgr:service-620:198.51.100.198:circuit-1-10</objectFullName>
                    Properties to modify
                    ..               
                  </svt.MeshSdpBinding>
                  <vpls.L2AccessInterface>
                     <actionMask>
                        <bit>modify</bit>
                     </actionMask>                                                    
                     <objectFullName>svc-mgr:service-620: 198.51.100.198: interface-1/1/4-inner-tag-0-outer-tag-95</objectFullName>
                    Properties to modify
                    ..                                                        
                  </vpls.L2AccessInterface>
               </children-Set>
            </vpls.Site>
         </children-Set>
      </vpls.Vpls>
   </configInfo>
</generic.GenericObject.configureInstance>

 

© 2024 Nokia. Nokia Confidential Information

Use subject to agreed restrictions on disclosure and use.