1 import { Parser } from './Parser';
2 import { variable } from '@angular/compiler/src/output/output_ast';
4 export class XmlParser implements Parser {
5 getVariables(fileContent: string): string[] {
7 const xmlSplit = fileContent.split('$');
8 for (const val of xmlSplit) {
9 const res = val.substring(0, val.indexOf('</'));
10 if (res && res.length > 0) {
22 <vlb-business-vnf-onap-plugin xmlns="urn:opendaylight:params:xml:ns:yang:vlb-business-vnf-onap-plugin">
25 <ip-addr>$vdns_int_private_ip_0</ip-addr>
26 <oam-ip-addr>$vdns_onap_private_ip_0</oam-ip-addr>
28 <enabled>false</enabled>
32 </vlb-business-vnf-onap-plugin>