Skip to content

Commit

Permalink
Bump docs and scripts to 18.5.0-SNAPSHOT
Browse files Browse the repository at this point in the history
JIRA: LIGHTY-297
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
  • Loading branch information
Tobianas authored and ihrasko committed May 13, 2024
1 parent 3e7b26b commit ef24582
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ls -1 yangs
#Run simulator for testing purpose
printLine
echo -e "-- Starting gNMI simulator device --\n"
java -jar ${GITHUB_WORKSPACE}/lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-18.4.0.jar -c ./simulator/example_config.json > /dev/null 2>&1 &
java -jar ${GITHUB_WORKSPACE}/lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-18.5.0-SNAPSHOT.jar -c ./simulator/example_config.json > /dev/null 2>&1 &

#Add yangs into controller through REST rpc
./add_yangs_via_rpc.sh
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use Lighty controller in your project:
<dependency>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-controller</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion lighty-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ODL core services represent MD-SAL layer, controller, DataStore, global schema c
<dependency>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-dependency-artifacts</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
10 changes: 5 additions & 5 deletions lighty-examples/lighty-community-restconf-netconf-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ build the project: ```mvn clean install```
### Start this demo example
* build the project using ```mvn clean install```
* go to target directory ```cd lighty-examples/lighty-community-restconf-netconf-app/target```
* unzip example application bundle ```unzip lighty-community-restconf-netconf-app-18.4.0-bin.zip```
* go to unzipped application directory ```cd lighty-community-restconf-netconf-app-18.4.0```
* start controller example controller application ```java -jar lighty-community-restconf-netconf-app-18.4.0.jar```
* unzip example application bundle ```unzip lighty-community-restconf-netconf-app-18.5.0-SNAPSHOT-bin.zip```
* go to unzipped application directory ```cd lighty-community-restconf-netconf-app-18.5.0-SNAPSHOT```
* start controller example controller application ```java -jar lighty-community-restconf-netconf-app-18.5.0-SNAPSHOT.jar```

### Test example application
Once example application has been started using command ```java -jar lighty-community-restconf-netconf-app-18.4.0.jar```
Once example application has been started using command ```java -jar lighty-community-restconf-netconf-app-18.5.0-SNAPSHOT.jar```
RESTCONF web interface is available at URL ```http://localhost:8888/restconf/*```

##### URLs to start with
Expand All @@ -42,7 +42,7 @@ URLs for Swagger: https://datatracker.ietf.org/doc/html/rfc8040

### Use custom config files
There are two separated config files: for NETCONF SBP single node and for cluster.
`java -jar lighty-community-restconf-netconf-app-18.4.0.jar /path/to/singleNodeConfig.json`
`java -jar lighty-community-restconf-netconf-app-18.5.0-SNAPSHOT.jar /path/to/singleNodeConfig.json`

Example configuration for single node is [here](src/main/assembly/resources/sampleConfigSingleNode.json)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mvn spring-boot:run
or

```
java -jar target/lighty-controller-springboot-18.4.0.jar
java -jar target/lighty-controller-springboot-18.5.0-SNAPSHOT.jar
```

or in any IDE, run main in
Expand Down
8 changes: 4 additions & 4 deletions lighty-examples/lighty-gnmi-community-restconf-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ cd lighty-examples/lighty-gnmi-community-restconf-app
### Start RCgNMI controller app
Unzip lighty-rcgnmi-app to current location
```
unzip ../../lighty-applications/lighty-rcgnmi-app-aggregator/lighty-rcgnmi-app/target/lighty-rcgnmi-app-18.4.0-bin.zip
unzip ../../lighty-applications/lighty-rcgnmi-app-aggregator/lighty-rcgnmi-app/target/lighty-rcgnmi-app-18.5.0-SNAPSHOT-bin.zip
```
Start application with pre-prepared configuration [example_config.json](example_config.json).
```
java -jar lighty-rcgnmi-app-18.4.0/lighty-rcgnmi-app-18.4.0.jar -c example_config.json
java -jar lighty-rcgnmi-app-18.5.0-SNAPSHOT/lighty-rcgnmi-app-18.5.0-SNAPSHOT.jar -c example_config.json
```

### Start lighty.io gNMI device simulator
Unzip gNMI simulator app to current folder.
```
unzip ../../lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-18.4.0-bin.zip
unzip ../../lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-18.5.0-SNAPSHOT-bin.zip
```

Start the application with pre-prepared configuration [simulator_config.json](simulator/simulator_config.json)
```
java -jar lighty-gnmi-device-simulator-18.4.0/lighty-gnmi-device-simulator-18.4.0.jar -c simulator/simulator_config.json
java -jar lighty-gnmi-device-simulator-18.5.0-SNAPSHOT/lighty-gnmi-device-simulator-18.5.0-SNAPSHOT.jar -c simulator/simulator_config.json
```

### Add client certificates to lighty.io gNMI keystore
Expand Down
2 changes: 1 addition & 1 deletion lighty-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ my-model/pom.xml
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-binding-parent</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
<relativePath/>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-bgp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To use lighty BGP plugin in your project:
<dependency>
<groupId>io.lighty.modules</groupId>
<artifactId>lighty-bgp</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
</dependency>
```
* Initialize and start BgpModule instance:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This simulator provides gNMI device driven by gNMI proto files, with datastore d
<dependency>
<groupId>io.lighty.modules.gnmi</groupId>
<artifactId>lighty-gnmi-device-simulator</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-netconf-sb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ To use NETCONF in your project:
<dependency>
<groupId>io.lighty.modules</groupId>
<artifactId>lighty-netconf-sb</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
</dependency>
```
2. Initialize and start an instance of NETCONF SBP in your code:
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-restconf-nb-community/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To use RESTCONF in your project:
<dependency>
<groupId>io.lighty.modules</groupId>
<artifactId>lighty-restconf-nb-community</artifactId>
<version>18.4.0</version>
<version>18.5.0-SNAPSHOT</version>
</dependency>
```

Expand Down

0 comments on commit ef24582

Please sign in to comment.