Developer's GuideTable of Contents1 Introduction51.1 Using NETCONF51.1.1 Get configuration51.1.2 Get non-configurable data51.1.3 Subscribe ESC notifications51.1.4 Make RPC calls51.1.5 Push in configurations51.2 ConfD CLI51.3 Change ConfD Admin Password51.4 NETCONF Protocol Operations61.5 NETCONF Capabilities72 Configuration Data92.1 Reading Configuration Data92.1.1 Fetching all config data92.1.1.1 Netconf Request92.1.1.2 Netconf Response92.1.2 Example: Fetching deployed services by network name122.1.2.1 Netconf Request122.1.2.2 Netconf Response122.2 Writing Configuration Data (CRUD operations)132.2.1 Stage 1: Acceptance or Rejection of a Configuration Request132.2.2 Stage 2: Activation of a new Configuration142.2.2.1 Event Notifications142.2.2.2 Operational Data142.2.2.3 Activation Failures142.2.3 Configuration Workflows142.2.4 Combining Workflows143 Operational Data163.1 Reading Operational Data163.1.1 Fetching all operational data163.1.1.1 Netconf Request163.1.1.2 Netconf Response164 Custom RPC Methods184.1 serviceAction method184.2 vmAction method185 ESC Workflows using Netconf185.1 Configuration Workflows185.1.1 Create Tenant185.1.1.1 Netconf Request185.1.1.2 Netconf Response185.1.1.3 Configuration Activation19On Success:19Event notification19Operational data19Netconf Request19Netconf Response19On Failure:20Event notification20Operational data20Handling Activation Failures205.1.2 Delete Tenant215.1.2.1 Netconf Request215.1.2.2 Netconf Response215.1.2.3 Configuration Activation21On Success:21Event notification21Operational data22On Failure:22Event notification22Operational data22Handling Activation Failures225.1.3 Create Network235.1.3.1 Netconf Request235.1.3.2 Netconf Response235.1.3.3 Configuration Activation23On Success:23Event notification23On Failure:24Event notification24Handling Activation Failures245.1.4 Delete Network255.1.4.1 Netconf Request255.1.4.2 Netconf Response255.1.4.3 Configuration Activation25On Success:25Event notification25On Failure:26Event notification26Handling Activation Failures265.1.5 Create Subnet275.1.5.1 Netconf Request275.1.5.2 Netconf Response275.1.5.3 Configuration Activation27On Success:27Event notification27On Failure:28Event notification28Handling Activation Failures285.1.6 Delete Subnet295.1.6.1 Netconf Request295.1.6.2 Netconf Response295.1.6.3 Configuration Activation29On Success:29Event notification29On Failure:30Event notification30Handling Activation Failures305.1.7 Register Service with the Service Catalog305.1.7.1 Netconf Request305.1.7.2 Netconf Response315.1.7.3 Configuration Activation31On Success:31Event notification31Operational data31Not applicable. There is no operational data for service registration.31On Failure:31Event notification31Operational data32Not applicable. There is no operational data for service registration.32Handling Activation Failures325.1.8 Unregister Service from the Service Catalog335.1.8.1 Netconf Request335.1.8.2 Netconf Response335.1.8.3 Configuration Activation33On Success:33Event notification33Operational data34Not applicable. There is no operational data for service registration.34On Failure:34Event notification34Operational data34Not applicable. There is no operational data for service registration.34Handling Activation Failures345.1.9 Deploy Service355.1.9.1 Netconf Request355.1.9.2 Netconf Response375.1.9.3 Configuration Activation37Workflow Aggregation:37On Success:37Event notification37Operational data39Netconf Request39Netconf Response39On Failure:40Event notification40Operational data41Handling Activation Failures415.1.10 Un-deploy Service425.1.10.1 Netconf Request425.1.10.2 Netconf Response425.1.10.3 Configuration Activation42Workflow Aggregation:42On Success:43Event notification43Operational data44On Failure:44Event notification44Operational data44Handling Activation Failures445.1.11 Update Service445.1.11.1 Netconf Request455.1.11.2 Netconf Response475.1.11.3 Configuration Activation47On Success:47Event notification47Operational data48Netconf Request48Netconf Response48On Failure:50Event notification50Operational data50Handling Activation Failures505.2 Operational Workflows505.2.1 Service Operations505.2.1.1 Stop Service505.2.1.1.1 Netconf Request505.2.1.1.2 Netconf Response515.2.1.1.3 Event Notifications515.2.1.2 Start Service525.2.1.2.1 Netconf Request525.2.1.2.2 Netconf Response525.2.1.2.3 Event Notifications525.2.1.3 Reboot Service545.2.1.3.1 Netconf Request545.2.1.3.2 Netconf Response545.2.1.3.3 Event Notifications545.2.1.4 Disable Service Monitor565.2.1.4.1 Netconf Request565.2.1.4.2 Netconf Response565.2.1.4.3 Event Notifications575.2.1.5 Enable Service Monitor585.2.1.5.1 Netconf Response585.2.1.5.2 Event Notifications585.2.2 VM operations595.2.2.1 Stop VM595.2.2.1.1 Netconf Request59The “force” option in the request decides if ESC considers the min_vm requirement for the service. Since stopping a VM would affect the service availability, after the VM is stopped the min_vm requirement specified in the datamodel may not be satisfitied. If the “force” option is true, ESC will ignore the requirement for min_vm.605.2.2.1.2 Netconf Response605.2.2.1.3 Event Notifications605.2.2.2 Start VM615.2.2.2.1 Netconf Request615.2.2.2.2 Netconf Response615.2.2.2.3 Event Notifications615.2.2.3 Reboot VM635.2.2.3.1 Netconf Request63The “force” option in the request decides if ESC considers the min_vm requirement for the service. Since stopping a VM would affect the service availability, after the VM is rebooted the min_vm requirement specified in the datamodel may not be satisfitied. If the “force” option is true, ESC will ignore the requirement for min_vm.635.2.2.3.2 Netconf Response635.2.2.3.3 Event Notifications635.2.2.4 Disable VM Monitor645.2.2.4.1 Netconf Request645.2.2.4.2 Netconf Response655.2.2.4.3 Event Notifications655.2.2.5 Enable VM Monitor665.2.2.5.1 Netconf Request665.2.2.5.2 Netconf Response665.2.2.5.3 Event Notifications666 ESC Triggered Workflows67Recovery Initialize68Attempts for recovery68Recovery complete68Success Event notifications68On Failure:70Event notification70Handling Recovery Failures706.2 Scale Out/Scale in Work Flows706.2.1 Scale Out Work Flow706.2.1.1 Event Notifications706.2.2 Scale In Work Flow726.2.2.1 Event Notifications72Size: 1 MBPages: 73Language: EnglishOpen manual