Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next dev PR - 21.0.0-SNAPSHOT (manual) #1816

Merged
merged 3 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-20.0.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-21.0.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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>io.lighty.applications.rcgnmi</groupId>
<artifactId>lighty-rcgnmi-app-docker</artifactId>
<version>20.0.0</version>
<version>21.0.0-SNAPSHOT</version>

<properties>
<image.name>lighty-rcgnmi</image.name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>io.lighty.applications.rnc</groupId>
<artifactId>lighty-rnc-app-docker</artifactId>
<version>20.0.0</version>
<version>21.0.0-SNAPSHOT</version>

<properties>
<image.name>lighty-rnc</image.name>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/dependency-versions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
<connection>scm:git:https://github.com/PANTHEONtech/lighty.git</connection>
<developerConnection>scm:git:https://github.com/PANTHEONtech/lighty.git</developerConnection>
<url>https://github.com/PANTHEONtech/lighty</url>
<tag>20.0.0</tag>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
<connection>scm:git:https://github.com/PANTHEONtech/lighty.git</connection>
<developerConnection>scm:git:https://github.com/PANTHEONtech/lighty.git</developerConnection>
<url>https://github.com/PANTHEONtech/lighty</url>
<tag>20.0.0</tag>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
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>20.0.0</version>
<version>21.0.0-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-minimal-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<connection>scm:git:https://github.com/PANTHEONtech/lighty.git</connection>
<developerConnection>scm:git:https://github.com/PANTHEONtech/lighty.git</developerConnection>
<url>https://github.com/PANTHEONtech/lighty</url>
<tag>20.0.0</tag>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
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>20.0.0</version>
<version>21.0.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-20.0.0-bin.zip```
* go to unzipped application directory ```cd lighty-community-restconf-netconf-app-20.0.0```
* start controller example controller application ```java -jar lighty-community-restconf-netconf-app-20.0.0.jar```
* unzip example application bundle ```unzip lighty-community-restconf-netconf-app-21.0.0-SNAPSHOT-bin.zip```
* go to unzipped application directory ```cd lighty-community-restconf-netconf-app-21.0.0-SNAPSHOT```
* start controller example controller application ```java -jar lighty-community-restconf-netconf-app-21.0.0-SNAPSHOT.jar```

### Test example application
Once example application has been started using command ```java -jar lighty-community-restconf-netconf-app-20.0.0.jar```
Once example application has been started using command ```java -jar lighty-community-restconf-netconf-app-21.0.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 OpenApi: 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-20.0.0.jar /path/to/singleNodeConfig.json`
`java -jar lighty-community-restconf-netconf-app-21.0.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-20.0.0.jar
java -jar target/lighty-controller-springboot-21.0.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 @@ -43,22 +43,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-20.0.0-bin.zip
unzip ../../lighty-applications/lighty-rcgnmi-app-aggregator/lighty-rcgnmi-app/target/lighty-rcgnmi-app-21.0.0-SNAPSHOT-bin.zip
```
Start application with pre-prepared configuration [example_config.json](example_config.json).
```
java -jar lighty-rcgnmi-app-20.0.0/lighty-rcgnmi-app-20.0.0.jar -c example_config.json
java -jar lighty-rcgnmi-app-21.0.0-SNAPSHOT/lighty-rcgnmi-app-21.0.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-20.0.0-bin.zip
unzip ../../lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-21.0.0-SNAPSHOT-bin.zip
```

Start the application with pre-prepared configuration [simulator_config.json](simulator/simulator_config.json)
```
java -jar lighty-gnmi-device-simulator-20.0.0/lighty-gnmi-device-simulator-20.0.0.jar -c simulator/simulator_config.json
java -jar lighty-gnmi-device-simulator-21.0.0-SNAPSHOT/lighty-gnmi-device-simulator-21.0.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>20.0.0</version>
<version>21.0.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>20.0.0</version>
<version>21.0.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>20.0.0</version>
<version>21.0.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>20.0.0</version>
<version>21.0.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>20.0.0</version>
<version>21.0.0-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion lighty-resources/log4j2-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<connection>scm:git:https://github.com/PANTHEONtech/lighty.git</connection>
<developerConnection>scm:git:https://github.com/PANTHEONtech/lighty.git</developerConnection>
<url>https://github.com/PANTHEONtech/lighty</url>
<tag>20.0.0</tag>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<connection>scm:git:https://github.com/PANTHEONtech/lighty.git</connection>
<developerConnection>scm:git:https://github.com/PANTHEONtech/lighty.git</developerConnection>
<url>https://github.com/PANTHEONtech/lighty</url>
<tag>20.0.0</tag>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
Expand Down
Loading