1 ##############################################################################
2 # Copyright (c) 2016 SNLab. All rights reserved.
4 # This program and the accompanying materials are made available under the
5 # terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 # and is available at http://www.eclipse.org/legal/epl-v10.html
7 ##############################################################################
14 sed -i "s/urn:opendaylight:alto:$CATEGORY/urn:alto/g" $FILE
21 sed -i "s/urn.opendaylight.alto.$CATEGORY/urn.alto/g" $FILE
27 for d in $(find . -wholename "*/urn/opendaylight/alto/$CATEGORY"); do
28 target=$(echo $d | sed "s/opendaylight\/alto\/$CATEGORY/alto/g")
36 for suffix in core basic ext; do
37 for f in $(find . -name '*.xml'); do
38 fix_namespace $f $suffix
41 for f in $(find . -name '*.yang'); do
42 fix_namespace $f $suffix
45 for f in $(find . -name '*.java'); do
46 fix_package $f $suffix